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="#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<br>Charles<br><font color="#cc6600"></font></a>