From: Ricardo Carvalho <rcarvalho(a)iric.up.pt>
To: serusers(a)lists.iptel.org
Subject: Re: [Serusers] finding the domain of the Request-URI
Date: Wed, 13 Sep 2006 12:46:09 +0100
I managed that using if (uri=~"^sip:.*@domain.*") { /*...*/ } in the main
route. I thought that would search in a regular expression basis the INVITE
sip message, but fortunately it doesn't. :)
Thanks anyway,
Ricardo.
Ricardo Carvalho wrote:
Hi all,
Is there a function that returns the domain (the realm) of the Request-URI
of INVITE messages? Note that it can't be done using regular expressions
that search SIP messages, because of cases where has been dialled an alias
of someone from a phone registered with a user that belongs to other
domain in a multi-domain environment.
Thanks,
Ricardo.
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers