[Serusers] rewriting domain

Maciej Świniarski luzik at task.gda.pl
Fri Oct 21 08:21:24 CEST 2005


i have stupid hardphone, proxy, registrer server is always domain :/

I have configured DNS and ser to use some domain.com as sip domain, but
proxy have sip.mydomain.com addres. Registering is no problem because i
can tell what domain ser should search but problem is for examplke with
aliases i don't want write every time `serctl alias add
user at domain.com` `serctl alias add user at sip.domain.com`

if (uri=~".*sip\.my\.domain\.com") {
rewritehost("my.somain.com";
}
don't work becaus it rewrites requested uri

i hope you get my point.
Any one know how to solve this problem?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20051021/c31a4c7d/attachment.pgp>


More information about the sr-users mailing list