<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:10pt"><div><span>great.</span></div><div><br></div> <div style="font-family: times new roman, new york, times, serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">Från:</span></b> spady <spady77@gmail.com><br> <b><span style="font-weight: bold;">Till:</span></b> users@lists.opensips.org <br> <b><span style="font-weight: bold;">Skickat:</span></b> onsdag, 10 oktober 2012 12:09<br> <b><span style="font-weight: bold;">Ämne:</span></b> Re: [OpenSIPS-Users] Need Hint for Opensips as UDP/TCP Proxy<br> </font> </div> <br>
SOLVED!!<br>i was not reseted flag!!! :-( <br><br>This is the right code:<br><br>branch_route[2] {<br> if (is_method("INVITE") && is_audio_on_hold()) {<br> <br> set_dlg_flag("7");<br> } else {<br> if (is_method("INVITE")){<br> reset_dlg_flag("7");<br> }<br> } <br> if (is_dlg_flag_set("7") && (status=="200")) {<br> <br> replace_body("a=sendrecv.", "a=inactive");<br> } <br><br> xlog("new branch at $ru\n");<br>
}<br><br><br><br><br>--<br>View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Need-Hint-for-Opensips-as-UDP-TCP-Proxy-tp7582137p7582187.html<br>Sent from the OpenSIPS - Users mailing list archive at <a target="_blank" href="http://nabble.com/">Nabble.com</a>.<br><br>_______________________________________________<br>Users mailing list<br><a ymailto="mailto:Users@lists.opensips.org" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<br><br><br> </div> </div> </div></body></html>