Re: [SR-Users] Name of pseudo variable by which domain name is saved in Location List

2014-04-29 Thread aawaise
I have two servers with kamailio-3.1.1 working perfectly on them. Both have independent public IP's and domain names. BUT both are connected to SAME database at backend i.e both using same database. NOW during registeration process, my "client A" can connect to any of two servers. Lets say it is co

Re: [SR-Users] Name of pseudo variable by which domain name is saved in Location List

2014-04-29 Thread djchill...@gmail.com
Could you give me an example of the scenario you're trying to solve. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Name-of-pseudo-variable-by-which-domain-name-is-saved-in-Location-List-tp127324p127338.html Sent from the Users mailing list archive at Nabble.com. ___

Re: [SR-Users] Name of pseudo variable by which domain name is saved in Location List

2014-04-29 Thread aawaise
But $td picks domain name from the TO header. I want to pick domain name from Location Table. Domain name in TO header and Location Table are different in multi domain scenario. -- View this message in context: http://sip-router.1086192.n5.nabble.com/Name-of-pseudo-variable-by-which-domain-name

Re: [SR-Users] Name of pseudo variable by which domain name is saved in Location List

2014-04-28 Thread djchill...@gmail.com
Hey, I think the variable you want is $td. See this for reference: To URI Domain $td - reference to domain in URI of 'To' header To display name $tn - reference to display name of 'To' header To tag $tt - reference to tag parameter of 'To' header To URI $tu - reference to URI of 'To' heade

Re: [SR-Users] Name of pseudo variable by which domain name is saved in Location List

2014-04-28 Thread aawaise
I have set the domain name (which I am looking for) using the example given in link below. Now I want to print the domain name in logs using xlog http://kamailio.org/docs/modules/3.1.x/modules_k/usrloc.html#id2995652 Here is the exact text from the above link. 3.16. use_domain (integer) If

[SR-Users] Name of pseudo variable by which domain name is saved in Location List

2014-04-28 Thread aawaise
Hello, I want to display the value from domain field of Location List in SER Monitor Menu. I extracted the value of $rd using xlog. It gave me the domain of callee but from invite packet. Not from the location list of SER Monitor Menu. If callee is logged in to same database with another kamaili