[OpenSIPS-Users] multiple use_media_proxy() calls
Jeff Pyle
jpyle at fidelityvoice.com
Thu Jan 20 21:13:29 CET 2011
Yikes. Good to know; thanks.
Here's the issue. Today I use media relay in limited cases, only when I have to have it for internal network reasons. Long story, but if I don't use it, QoS doesn't happen right. Anyway, it's about 1% of total traffic. No big deal.
I've had no issues with the dialog module over the last 2 years or so. (Counting blessings…) As such, I use the engage_media_proxy() command. It works — most of the time. Unless an upstream carrier lets some media "leak" through outside of the ports indicated in the SDP that hasn't arrived yet. The relay locks onto the wrong ports, and we get one-way or no-way audio.
This happens in one particular carrier's case when they route-advance on SS7 behind the scenes as a function of their Sonus GSX. They can't tell me why any media comes through at all on the first (disregarded) route. But, the SDPs they send do have the correct ports for the second (utilized) route. This SDP comes after the leaky media. Mediaproxy, being primarily a NAT traversal mechanism, listens more to what's really happening on the network rather than what's happening in the SDP.
And now the part I haven't researched fully. I'm hoping to be able to "reset" the media relay with an end_media_session() then use_media_relay() in an onreply_route to force a port re-detection in the relay when the 180 w/ SDP comes through (after the incorrect media dribble has completed), and ultimately the 200 OK. I may break more than I fix with this. Time will tell.
If this or something like it works, I'll be able to use the relays more. Which is something I'd like to do – mostly for accounting.
- Jeff
From: Duane Larson <duane.larson at gmail.com<mailto:duane.larson at gmail.com>>
Reply-To: OpenSIPS users mailling list <users at lists.opensips.org<mailto:users at lists.opensips.org>>
Date: Thu, 20 Jan 2011 14:54:13 -0500
To: OpenSIPS users mailling list <users at lists.opensips.org<mailto:users at lists.opensips.org>>
Subject: Re: [OpenSIPS-Users] multiple use_media_proxy() calls
accidentally called twice in a script that is...
On Thu, Jan 20, 2011 at 1:53 PM, Duane Larson <duane.larson at gmail.com<mailto:duane.larson at gmail.com>> wrote:
I think I have accidentally called use_media_proxy() in scripts and it has spit out syslog errors. I think it caused one way audio issues for me.
On Thu, Jan 20, 2011 at 1:31 PM, Jeff Pyle <jpyle at fidelityvoice.com<mailto:jpyle at fidelityvoice.com>> wrote:
Hello,
What would happen if use_media_proxy() were called on a transaction (or dialog) where it had already been used? The documented result codes don't cover this case.
Would it simply start a new session with the dispatcher and close any previous ones, modifying the SDP again? Or error out perhaps?
Regards,
Jeff
_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
--
*--*--*--*--*--*
Duane
*--*--*--*--*--*
--
--
--
*--*--*--*--*--*
Duane
*--*--*--*--*--*
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20110120/d87e8d29/attachment.htm>
More information about the Users
mailing list