Re: [OpenSIPS-Users] lookup(location) extract received field value

2015-04-14 Thread Vlad Paiu
Hello, From you ul show output, you don't have to do anything special for this to work - OpenSIPS will automatically relay the call to the Received:: value that's displayed in the ul show output, setting it as $du, while the actual Request-URI of the message will contain the private Contact

Re: [OpenSIPS-Users] lookup(location) extract received field value

2015-04-14 Thread Satish Patel
Thanks Vlad, $du did magic, it is extracting Received:: value. On Tue, Apr 14, 2015 at 11:34 AM, Vlad Paiu vladp...@opensips.org wrote: Hello, From you ul show output, you don't have to do anything special for this to work - OpenSIPS will automatically relay the call to the Received::

[OpenSIPS-Users] lookup(location) extract received field value

2015-04-14 Thread Satish Patel
Hi, I have following User registred over public IP but that client doesn't support STUN so contact info showing private IP 192.168.1.6 lookup function default extract Contact:: sip:1001@192.168.1.6:27098 Is there a way i can extract Received:: sip:173.XX.XX.215:27098 so i can create new URI