[SR-Users] Issue in Multi Domain Environment

aawaise owaisulhaq at hotmail.com
Tue May 13 11:12:32 CEST 2014

I have deployed two kamailio servers with independent domain names, BOTH
sharing the same database.
When an "INVITE" packet approaches one server from a user. As per my
understanding it checks "Location Table" (containing online users) to find
about status (online or not) of called user.
If user is present in LOCATION TABLE, kamailio server sends INVITE to callee
else it disconnects the call.

In LOCATION TABLE, DOMAIN NAME is also mentioned along with user name, I
want to extract that domain name of callee user from LOCATION TABLE with
every INVITE packet. What variable stores this information ?? How can it be
extracted ??
I have tried using "$du". It consumes RURI and gives domain name, it picks
domain name from invite packet, which is not required here. Requirement is
to pick domain name from LOCATION TABLE, by which user is logged into the
system. (In multidomain setup, they both can be different).
I have also tried "$td", they also pick domain name from INVITE packet
header. I want to print (i.e xlog) value of domain from the LOCATION TABLE.
And it is bothering for quite a few days now. Any help will be much


View this message in context: http://sip-router.1086192.n5.nabble.com/Issue-in-Multi-Domain-Environment-tp127646.html
Sent from the Users mailing list archive at Nabble.com.

More information about the sr-users mailing list