Hello,
has anyone any pointers on how to implement interdomain routing with SER _without_ using the domain part of an uri when dialing.
Example:
I want to map sip:400000@mydomain (not only one id but a complete range) to sip:400000@otherdomain.
"mydomain" is served via my Proxy server and otherdomain by someone else. My first thought was to just rewrite the "to" part of the uri but AFAIK thats not suggested because it violates the SIP RFC.
On the other hand i dont see how to circumvent rewriting the "to" uri unless both sides use E164/ENUM Numbers or the enduser uses complete sip addresses and not only the (numeric) user part.
best regards,
Arnd
At 07:50 PM 7/12/2004, Arnd Vehling wrote:
Hello,
has anyone any pointers on how to implement interdomain routing with SER _without_ using the domain part of an uri when dialing.
I suppose your problem is nummeric keypad phones and you wish to use some prefixes to reach other domains. Is that correct? If so, you then need to manage prefix-2-domain translation, functionality implemented in pdt module.
-jiri
ps -- rewrite request URI, you don't really need to rewrite To header field.
Example:
I want to map sip:400000@mydomain (not only one id but a complete range) to sip:400000@otherdomain.
"mydomain" is served via my Proxy server and otherdomain by someone else. My first thought was to just rewrite the "to" part of the uri but AFAIK thats not suggested because it violates the SIP RFC.
On the other hand i dont see how to circumvent rewriting the "to" uri unless both sides use E164/ENUM Numbers or the enduser uses complete sip addresses and not only the (numeric) user part.
best regards,
Arnd
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
-- Jiri Kuthan http://iptel.org/~jiri/
--On 12 July 2004 19:50 +0200 Arnd Vehling av@nethead.de wrote:
has anyone any pointers on how to implement interdomain routing with SER _without_ using the domain part of an uri when dialing.
Example:
I want to map sip:400000@mydomain (not only one id but a complete range) to sip:400000@otherdomain.
"mydomain" is served via my Proxy server and otherdomain by someone else. My first thought was to just rewrite the "to" part of the uri but AFAIK thats not suggested because it violates the SIP RFC.
Am I being dumb or missing the point? Though you can't rewrite To:, you can rewrite Request-URI - it's the SIP equivalent of being able to rewrite envelope "TO" but not not header To: in SMTP. So you rewrite **Request-URI:** sip:400000@mydomain to sip:400000@otherdomain, and leave the To: field as it was. The proxy server downstream should not be looking at To: (it should be looking at Request-URI) or things like diversion and deflection to its users wouldn't work.
Alex