[Serusers] finding the domain of the Request-URI
Luis Silva
lfs12 at hotmail.com
Wed Sep 13 21:17:42 CEST 2006
You can use @ruri.host
>From: Ricardo Carvalho <rcarvalho at iric.up.pt>
>To: serusers at 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 at lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>>
>
>_______________________________________________
>Serusers mailing list
>Serusers at lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
More information about the sr-users
mailing list