Hi Aymeric!
AFAIK there is no built-in feature in Kamailio 1.5 to solve this issue.
But maybe you can solve it manually - for each task separately:
- for call routing, just replace sip.domain with
domain.com if detected,
e.g.: if ($rd=="sip.domain") { $rd="domain"; }
Also add sip.domain to domain table (if you use the domain module).
More complicated is authentication: I think it can be solved by checking
for "sip.domain" and putting "domain" into PV and use
pv_[www|proxy]_authorize() functions.
I think the hardest part is registration. I do not know a solution to
save() user(a)sip.domain as user@domain.
Probably the easiest solution would be - as indicated by Inaki -
ignoring clients which are wrong configured or do not allows to
configure outboundproxy and SIP domain separately.
Maybe it can be solved also by useng sip-router and ser's
userloc/registrar/auth module. AFAIK in ser's DB schema, the SIP AoR was
decoupled from the credentials (subscriber table) - but you would need
to migrate your DB schema.
regards
klaus
Aymeric Moizard wrote:
Hi all,
I got table of subscribers attached to a domain "sip.domain.com". I wish
to support receiving "username(a)sip.antisip.com" as well as
"username(a)antisip.com".com".
I understand I could disable the check for domain in modules, but that
won't fit my needs as I have several separate domains. Is there any
possibility to define alias for one specific domain?
sip.domain.com alias of
domain.com
sip.domain2.com alias of
domain2.com
etc...
Tks,
Aymeric MOIZARD / ANTISIP
amsip -
http://www.antisip.com
osip2 -
http://www.osip.org
eXosip2 -
http://savannah.nongnu.org/projects/exosip/
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users