Hello.
On 04/19/07 14:38, Tsitsi wrote:
Hi,
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
I don't get it exactly -- can you detail a bit? rewritehost("domain.mg")
rewrite the R-URI. What do you mean tha "but the URI still the same"?
Cheers,
Daniel
if (uri=~"sip:[EMAIL PROTECTED]")
rewritehost("domain.mg");
Openser 1
Before :
New request - M=INVITE RURI=sip:[EMAIL PROTECTED];transport=tcp
F=sip:[EMAIL PROTECTED] T=sip:[EMAIL PROTECTED] IP=192.168.80.222
ID=771b514742765432N2I0ZTAwZTMzZmE1ZGUwYjc4MWNhYTM3NTA3N2RjNWY.
After :
Rewrite!!! - M=INVITE RURI=sip:[EMAIL PROTECTED];transport=tcp
F=sip:[EMAIL PROTECTED] T=sip:[EMAIL PROTECTED] IP=192.168.80.222
ID=771b514742765432N2I0ZTAwZTMzZmE1ZGUwYjc4MWNhYTM3NTA3N2RjNWY.
Openser 2:
New request - M=INVITE RURI=sip:[EMAIL PROTECTED];transport=tcp
F=sip:[EMAIL PROTECTED] T=sip:[EMAIL PROTECTED] IP=192.168.80.254
ID=ef6a5b0a6d73c925N2I0ZTAwZTMzZmE1ZGUwYjc4MWNhYTM3NTA3N2RjNWY.
And the dial is not fully a success,it can ring but when i terminated
a call the callee is hang up !!
How solve this problem for a dial plan?
Thanks.
Regards,
Tsitsi
------------------------------------------------------------------------
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 Yahoo! Questions/Réponses
<http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>.
------------------------------------------------------------------------
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users