Hi,<br>For making a dialplan in 2 or many openser, I try fonction rewritehost("domain.com") for override a default request URI from Client softphone, the RURI change but the to URI still the same<br><br> if (uri=~"sip:77[1-9][0-9]+@.*") <br> rewritehost("domain.mg");<br><br><br>Openser 1<br>Before :<br> <br> New request - M=INVITE RURI=sip:7722@domain.org;transport=tcp F=sip:user2@domain.org T=sip:7722@domain.org IP=192.168.80.222 ID=771b514742765432N2I0ZTAwZTMzZmE1ZGUwYjc4MWNhYTM3NTA3N2RjNWY.<br><br>After :<br><br> Rewrite!!! - M=INVITE RURI=sip:7722@domain.com;transport=tcp F=sip:user2@domain.org T=sip:7722@domain.org IP=192.168.80.222 ID=771b514742765432N2I0ZTAwZTMzZmE1ZGUwYjc4MWNhYTM3NTA3N2RjNWY.<br><br>Openser 2:<br><br><br> New request - M=INVITE RURI=sip:7722@domain.mg;transport=tcp F=sip:tvm_user2@domain.org T=sip:7722@domain.org IP=192.168.80.254
ID=ef6a5b0a6d73c925N2I0ZTAwZTMzZmE1ZGUwYjc4MWNhYTM3NTA3N2RjNWY.<br><br><br>And the dial is not fully a success,it can ring but when i terminated a call the callee is hang up !!<br><br>How solve this problem for a dial plan? <br>Thanks. <br><br>Regards,<br>Tsitsi<br> <p> 
<hr size="1">
Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions !
Profitez des connaissances, des opinions et des expériences des internautes sur <a href="http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com">Yahoo! Questions/Réponses</a>.