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