<br><br><div class="gmail_quote">On Fri, Feb 10, 2012 at 9:21 PM, Charles Solar <span dir="ltr"><<a href="mailto:charlessolar@gmail.com">charlessolar@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I have been using engage_media_proxy in my script, but it seems to cause problems when I failover in the dynamic routing module. <br>This is the scenario:<br><br>1. Incoming call<br>2. Engage media proxy<br>3. Try first GW (which is down)<br>
4. Failure route<br>5. Try next GW<br>6. Next GW sends Session progress & invite<br>7. Media proxy module 'fixes' my SDP contact twice<br><br>My SIP message end up with duplicated SDP contact info. For example:<a name="13569252baca8add_#top"><font color="#cc6600"> c=IN IP4 33.66.22.1133.66.22.11<br>
<br></font>If the first gateway works, this does not happen. In fact it works perfectly. But I guess engage_media_proxy or the dialog module is having an issue with a failure scenario?<br><br>My failure route is pretty simple:<br>
<br>failure_route[4] {<br> xlog("L_INFO", "Failure Route: $rm, $fu, $ru\n");<br><br> if (use_next_gw()) {<br> xlog("L_INFO", "Trying next gateway" );<br>
t_relay();<br> exit;<br> } else {<br> xlog( "L_INFO", "Exhausted gateway list" );<br> t_reply ("503", "Service not available");<br>
exit;<br> }<br>}<br><br>Should I switch to use_media_proxy/end_media_session if I want to expect failovers? Or could I be doing something wrong?<br><br>Thanks guys<span class="HOEnZb"><font color="#888888"><br>
Charles<br></font></span></a></blockquote><div><br></div><div><br></div><div><br></div><div>Hi Charles,</div><div><br></div><div>Are you using fix_nated_sdp anywhere in your scripts or using anything else that modifies the SDP?</div>
<div><br></div><div>Brian</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a name="13569252baca8add_#top"><span class="HOEnZb"><font color="#888888"><font color="#cc6600"></font></font></span></a>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
<br></blockquote></div><br>