[OpenSIPS-Users] invoke set_rtp_proxy_set() upon the failure of a call setup

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Feb 13 17:17:57 CET 2014


Some updates after checking the code - it seems the code allows you do 
use it from failure route (this is fixed in all versions starting with 
1.8 )...The docs are not updated, but I will take care of that.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 13.02.2014 18:13, Bogdan-Andrei Iancu wrote:
> Hello,
>
> It seems to be an unfortunate limitation - it should be possible to 
> call the function from failure route.
>
> I will fix it in the next days - as quick workaround for you , move 
> the set_rtp_proxy_set() into a separate route and call this route from 
> failure route - it should do the trick.
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> On 13.02.2014 10:10, microx wrote:
>> Hi all,
>>
>> On receiving an INVITE, I invoke set_rtp_proxy_set() and 
>> rtpproxy_offer() to
>> request the RTP proxy open ports for RTP packets relay. When the callee
>> rejects the INVITE and replies with 486 response, I would like to invoke
>> set_rtp_proxy_set() and unforce_rtp_proxy() to notify the RTP proxy to
>> release the opened ports for the unsuccessful sessions. However, I 
>> find the
>> set_rtp_proxy_set() could not be invoken on a failure route. I'd like to
>> know how I should configure to make the RTP proxy release the opened 
>> ports
>> in case of receiving unsuccessful responses from the callees. Thanks.
>>
>> Best wishes,
>> Chen-Che
>>
>>
>>
>> -- 
>> View this message in context: 
>> http://opensips-open-sip-server.1449251.n2.nabble.com/invoke-set-rtp-proxy-set-upon-the-failure-of-a-call-setup-tp7589572.html
>> Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>




More information about the Users mailing list