I can't reproduce this error now.  What a kick in the teeth.

I'm using dialog flags , not scripting flags, to indicate whether media proxy 
is in use.  Would there be any delay involved here that might cause the flag to 
be missed further in the script?  I feel like I'm grasping at straws here.  I 
may rewrite the script to use a script flag internally, reading the dialog flag 
into the script flag on ingress and exporting the script flag's value to the 
dialog flag on egress.  Could this give any possible advantage?


- Jeff


From: Jeff Pyle <[email protected]<mailto:[email protected]>>
Reply-To: OpenSIPS users mailling list 
<[email protected]<mailto:[email protected]>>
Date: Thu, 21 Apr 2011 17:14:05 -0400
To: OpenSIPS users mailling list 
<[email protected]<mailto:[email protected]>>
Subject: Re: [OpenSIPS-Users] doubled-up connection IP with use_media_proxy()

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 <[email protected]<mailto:[email protected]>>
Reply-To: OpenSIPS users mailling list 
<[email protected]<mailto:[email protected]>>
Date: Thu, 21 Apr 2011 16:02:30 -0400
To: OpenSIPS users mailling list 
<[email protected]<mailto:[email protected]>>
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 
<[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users




--
--
*--*--*--*--*--*
Duane
*--*--*--*--*--*
--
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to