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 and send call to that? if (lookup("location")) { .. .. } [root@sip ~]# opensipsctl ul show Domain:: location table=512 records=1 AOR:: 1...@sip.example.com Contact:: sip:1001@192.168.1.6:27098;rinstance=e223da1c59d774db Q= Expires:: 3585 Callid:: NjIyYzg5NzU0NGNlYjFhZTEyMDZlNDk2NTgzMDUzYjY Cseq:: 2 User-agent:: X-Lite 4.7.1 74247-44615bc7-W6.1 Received:: sip:173.XX.XX.215:27098 State:: CS_SYNC Flags:: 0 Cflags:: NAT Socket:: udp:182.XX.XX.164:5060 Methods:: 5951
_______________________________________________ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users