I went over my config and I think the logic is sound.  I'll verify it on a dev 
box tonight once traffic is low.

The call flow is serial forking from one carrier gateway to another when the 
first sends a 503.

 *   load prefs for first gateway
 *   use_media_proxy()
 *   t_relay() INVITE to first gateway
 *   receive 503
 *   end_media_session() in failure_route[]
 *   load carrier prefs for second gateway
 *   use_media_proxy()
 *   t_relay() INVITE to second gateway
 *   receive 400 (because of jacked up c= line)
 *   end_media_session()

The dispatcher log seems to jive with this.  I've got a "remove" command from 
the end_media_session() after the first gateway, and the subsequent stats (all 
0s), and a "remove" command from the second end_media_session() and more stats. 
 I think the commands are hitting correctly.

Is it not correct to use(), end(), use(), end()?  Once I use(), is it 
impossible to end()?*


- Jeff



* not referring to a substance abuse issue.  really.

From: Duane Larson <duane.lar...@gmail.com<mailto:duane.lar...@gmail.com>>
Reply-To: OpenSIPS users mailling list 
<users@lists.opensips.org<mailto:users@lists.opensips.org>>
Date: Thu, 21 Apr 2011 16:02:30 -0400
To: OpenSIPS users mailling list 
<users@lists.opensips.org<mailto:users@lists.opensips.org>>
Subject: Re: [OpenSIPS-Users] doubled-up connection IP with use_media_proxy()

I have called Mediaproxy more than once by config error in my setup and have 
seen it put the mediaproxy IP twice.  Looks like you might have the same issue.

On Thu, Apr 21, 2011 at 3:00 PM, Jeff Pyle 
<jp...@fidelityvoice.com<mailto:jp...@fidelityvoice.com>> wrote:
Hi list,

I ended up with a very strange connection IP in the SDP after using 
use_media_proxy():
  c=IN IP4 65.64.63.365.64.63.2

where 65.64.63.2 and 65.64.63.3 are my obfuscated media relay IP addresses.

Could this have been caused by calling use_media_proxy() twice in the same 
request?  Or is that operation benign, and I should be looking for another 
problem?


- Jeff


_______________________________________________
Users mailing list
Users@lists.opensips.org<mailto:Users@lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
--
*--*--*--*--*--*
Duane
*--*--*--*--*--*
--
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to