[OpenSIPS-Users] A few simple general question

2013-05-26 Thread Nick Khamis
Hello Everyone, Just a few quick questions: 1) Is there any core variable that returns the IP destination of where the SIP packet is going. For example, 192.168.2.20 in: U 2013/05/26 19:26:14.807995 192.168.2.10:5060 -> 192.168.2.20:5060 $si: 192.168.2.10:5060 $di: Return the destination of the

Re: [OpenSIPS-Users] A few simple general question

2013-05-26 Thread Muhammad Shahzad
Hi, 1. Try $dd, which should give you destination of packet. 2. Depends on your need, I have seen more setups of DR then CR. But this by no means indicate DR is better then CR. Thank you. On Mon, May 27, 2013 at 1:52 AM, Nick Khamis wrote: > Hello Everyone, > > Just a few quick questions: >

Re: [OpenSIPS-Users] A few simple general question

2013-05-26 Thread Nick Khamis
Muhammad thank you! 1) If I remember correctly, I tried dd a while back but got null or error. I am using 1.8.3. I will give it another try. 2) We are using the modules to route to "carriers", so failover, gwy_list, and weights are needed however, from what I have seen both CR and DR have this...

Re: [OpenSIPS-Users] A few simple general question

2013-05-26 Thread Nick Khamis
Hello Muhammad, A quick test: xlog("URI: $si -> $dd") shows: URI 192.168.2.10 -> . I tried it in the main, branch, and relay routes. Kind Regards, Nick. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo