[Users] function capable of identifying the domain of the callee
rcarvalho at iric.up.pt
rcarvalho at iric.up.pt
Wed Sep 13 01:15:08 CEST 2006
Hi,
I'm looking for a function capable of identifying the domain of the called so I
can implement something like this:
if(domain_of_called == domain_A) { do this }
if(domain_of_called == domain_B) { do that }
The domain_of_called should be extracted from the R-URI and not from the message
itself because in some cases (because I'm using multi-domain) if the caller
dialled an alias, OpenSer must first determine in aliases table to which user
corresponds that alias.
Is there a function that does this?
Thanks,
Ricardo.
More information about the sr-users
mailing list