Hi Mike, Could describe in more details the call flow you have there ? I do not understand your scenario here.
Regards, Bogdan Mike O'Connor wrote: > Hi All > > Anytime I forward a call to the same instance of opensips the CPE > which was initially rung will re-ring, if I sent the call directly to > a different CPE it works. > > So it seems to me that I'm going to have to setup an asterisk server > which receives the forwarded call then sends the call back to opensips > with the corrected details. > > Any one got a better idea ? > > Thanks > Mike > > On 8/01/10 7:37 PM, Mike O'Connor wrote: >> 'Hi All >> >> The follow does not work, I've never seen an example of anyone trying >> to use avp's to do this. All the example I've seen do a 'sethostport' >> to a static address and then a t_relay. >> >> ## sethostport("192.168.2.100:5060"); >> ## # do not set the missed call flag again >> ## t_relay(); >> >> In the code below $avp(s:callfwdbusy) is currently resolving to ' >> sip:500101@<local domain>' >> >> failure_route[ONFAILURE_ROUTE] { >> if (t_was_cancelled()) { >> exit; >> } >> >> if (t_check_status("486|408")) { >> if (is_avp_set("$avp(s:callfwdbusy)")) { >> if (is_avp_set("$avp(s:callfwdbusy)")) { >> $ru = $avp(s:callfwdbusy); < -- >> Comments about this line below >> t_relay(); >> } >> } >> } >> } >> >> I've tried a number of command for the line with the comment. >> >> rewriteuri("$avp(s:callfwdbusy)"; >> >> This seemed to be the best option but opensips required "" arround >> it, but once there it does not convert this string to a value. >> >> Again any help is appreciated. >> >> Cheers >> Mike >> >> >> >> >> >> _______________________________________________ >> Users mailing list >> Users@lists.opensips.org >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> > > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > Users@lists.opensips.org > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu www.voice-system.ro _______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users