[OpenSIPS-Users] how to relay failure signling to FreeSwitch?

merlin.li at tsingch.com merlin.li at tsingch.com
Mon Mar 2 11:52:09 CET 2015


Hi  Iancu,

Thanks!
Tt works like a charm!



merlin.li at tsingch.com
 
From: Bogdan-Andrei Iancu
Date: 2015-03-02 18:44
To: OpenSIPS users mailling list
CC: 鲍学慧; merlin.li
Subject: Re: [OpenSIPS-Users] how to relay failure signling to FreeSwitch?
Hi,

See the disable_6xx_block :
    http://www.opensips.org/html/docs/modules/1.11.x/tm.html#id294347

Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.comOn 02.03.2015 07:30, merlin.li at tsingch.com wrote:
Hi all,
I noticed that someone alreay asked same question, what he got is :
because it is against RFC3261 - 6xx reply means global failure and no 
further forking is allowed.
http://lists.sip-router.org/pipermail/sr-users/2008-May/017415.html 


But i still want to know how others handle this situation? i mean how to play a recording to the caller when opensips received a "603"

Thanks in advanced.



merlin.li at tsingch.com
 
From: merlin.li at tsingch.com
Date: 2015-03-02 13:13
To: users
CC: clare.bao
Subject: how to relay failure signling to FreeSwitch?
Hi all, 

My opensips working with FS.
What i want is when the callee decline a call, FS will play a  recording to the caller.
Since t_relay() can not be used in onreply route, i add the following in the failure_route.

failure_route[failure] {
        if( t_check_status("603")){
            prefix("Busy_");
            t_relay("192.168.1.2:5080");
            exit;
        }
}

And i got the following error:
Mar  2 11:48:03 VS /usr/bin/opensips[38986]: ERROR:tm:t_forward_nonack: discarding fwd for a cancelled/6xx transaction
Mar  2 11:48:03 VS /usr/bin/opensips[38986]: ERROR:tm:w_t_relay: t_forward_nonack failed

Any help will be appreciated.


merlin.li at tsingch.com


_______________________________________________
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/20150302/0203cbe2/attachment.htm>


More information about the Users mailing list