[OpenSIPS-Users] Problem with prefix() during call forwarding

Andrew Pogrebennyk andrew.pogrebennyk at portaone.com
Thu Nov 12 20:24:35 CET 2009


Andrew Pogrebennyk wrote:
> failure_route[2]
> {
>          # forward on busy
>          if(t_check_status("(486)|(408)") && avp_pushto("$ru", 
> "$avp(s:callfwd)")) {
>                  append_branch();

I have fixed my problem, of course I had to use the append_branch() 
after prefix() in the script.

>                  xlog("forwarded on $T_reply_code to: $avp(s:callfwd)");
>                  avp_pushto("$du", "$avp(s:callfwd)");

This $du modification was actually an artifact left from one of my 
tests, I didn't really mean to modify the destination URI there :)
Thanks.

-- 
Sincerely,
Andrew Pogrebennyk



More information about the Users mailing list