[OpenSIPS-Users] Call Forward on Busy but not to feature server
Mike O'Connor
mike at oeg.com.au
Sat Jan 9 04:22:52 CET 2010
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 at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100109/5a3371a3/attachment.htm
More information about the Users
mailing list