Re: [SR-Users] Print callee domain in logs

2014-09-17 Thread Corey Edwards
On Wed, Sep 17, 2014 at 6:39 PM, aawaise wrote: > How can we extract domain from the subscriber table to logs ?? > Its beyond my control at the moment to shift to kamailio-4.1. So have to > persist with kamailio-3.1 ? > Look at the pseudovariable documentation. It sounds like $rd is what you wan

Re: [SR-Users] Print callee domain in logs

2014-09-17 Thread aawaise
How can we extract domain from the subscriber table to logs ?? Its beyond my control at the moment to shift to kamailio-4.1. So have to persist with kamailio-3.1 ? -- View this message in context: http://sip-router.1086192.n5.nabble.com/Print-callee-domain-in-logs-tp130597p130733.html Sent fro

Re: [SR-Users] Print callee domain in logs

2014-09-16 Thread Daniel-Constantin Mierla
On 16/09/14 06:26, aawaise wrote: What if in INVITE packet, callee's domain is domain1. For example user1@domain1 > calls > user2@domain1 but user2 is registered with domain2. its aor is user2@domain2 in location table. Now I want to somehow route my Invite packet to domain2. How

Re: [SR-Users] Print callee domain in logs

2014-09-15 Thread aawaise
What if in INVITE packet, callee's domain is domain1. For example user1@domain1 > calls > user2@domain1 but user2 is registered with domain2. its aor is user2@domain2 in location table. Now I want to somehow route my Invite packet to domain2. How is it possible ?? -- View this m

Re: [SR-Users] Print callee domain in logs

2014-09-15 Thread Daniel-Constantin Mierla
Hello, callee is in the sip signaling, respectively the r-uri. its domain is $rd, so you can print that with xlog(). Cheers, Daniel On 13/09/14 10:33, aawaise wrote: Hello, I have multidomain scenario with parameters (both domains (servers) using common database): modparam("usrloc", "use_do

[SR-Users] Print callee domain in logs

2014-09-13 Thread aawaise
Hello, I have multidomain scenario with parameters (both domains (servers) using common database): modparam("usrloc", "use_domain", 1); and modparam("domain", "db_mode", 1). I want to know using domain and usrloc what kind of tweaking is possibe ?? Secondly, I wanto to print domain of callee in