hello,
when a phone do a transfer because busy, it have to answer a 302 with diversion.
I need that if there are no diversion, kamailio insert diversion in the onreply_route[x].
but I have this error: Command cannot be used in the block
I juste do it:
| Code: |
onreply_route[1] {
if(t_check_status("302")) {
add_diversion("user-busy");
}
}
|
please help me