[OpenSIPS-Users] RTPProxy duplicated SDP rewriting
Seth Schultz
sschultz at scholarchip.com
Fri Jul 13 21:32:08 CEST 2012
Bogdan,
The reason I am doing this is because I have outbound call PSTN gateways on
both the LAN and WAN and these are in the same load balancing group. The
gateway on the LAN needs to have rtp_proxy_offer("iir"), while the WAN
gateways need rtp_proxy_offer("ier"). So if I try on an external gateway
with rtp_proxy_offer("ier") and then it hits my failure route and the load
balancer picks the LAN gateway, then I need to have it use
rtp_proxy_offer("iir").
I guess I was hoping the unforce_rtp_proxy would clear it for the branch
and then I could do another offer. To fix the issue I will just remove the
outbound LAN gateway for now.
Thanks,
Seth
---
Seth Schultz
E-Mail: sschultz at scholarchip.com
Phone: 212.255.8005 x 124
Fax: 212.255.8091
On Fri, Jul 13, 2012 at 1:49 PM, Bogdan-Andrei Iancu <bogdan at opensips.org>wrote:
> **
> Hi Seth,
>
> you should not do rtp_proxy_offer() twice for the same branch - do it only
> once! Why the need to unforce and force again ?
>
> Regards,
> Bogdan
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developerhttp://www.opensips-solutions.com
>
>
> On 07/13/2012 06:40 PM, Seth Schultz wrote:
>
> Hello All,
>
> I am having an issue with RTPProxy and load balancing failover support.
> In my failure block, I am first calling unforce_rtp_proxy(), then load
> balancing to a new destination, and calling rtp_proxy_offer().
>
> The issue I am having is that it is duplicating the a=nortpproxy:yes SDP
> line twice and also rewriting the EXTERNAL_IP twice. Is there a way to
> reset rtpproxy and prevent this behavior?
>
> v=0
> o=FreeSWITCH 1342171498 1342171499 IN IP4 {INTERNAL_IP}
> s=FreeSWITCH
> c=IN IP4 *{EXTERNAL_IP}{EXTERNAL_IP}*
> t=0 0
> m=audio 4406644066 RTP/AVP 0 8 3 101
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-16
> a=silenceSupp:off - - - -
> a=ptime:20
> *a=nortpproxy:yes *
> *a=nortpproxy:yes*
> *
> *
> Thanks,
> Seth
>
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20120713/f63f2eab/attachment.htm>
More information about the Users
mailing list