Hi Seth,
I see - what you actually need to do is enable RTPproxy in a per branch
manner - in this case you can individually set RTPproxy for each
separate branch you may have for a call.
So, the idea is to move the place where you do the RTPproxy control -
instead of doing it in request route (changes here will reflect on all
future branches), better do it in branch route (where changes will be
only for that particular branch).
Regards,
Bogdan
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 07/13/2012 10:32 PM, Seth Schultz wrote:
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: [email protected] <mailto:[email protected]>
Phone: 212.255.8005 x 124
Fax: 212.255.8091
On Fri, Jul 13, 2012 at 1:49 PM, Bogdan-Andrei Iancu
<[email protected] <mailto:[email protected]>> 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 Developer
http://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 <tel: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 list
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users