[Freeswitch-users] Get caller IP address

Sergey Okhapkin sos at sokhapkin.dyndns.org
Tue Dec 16 16:06:31 MSK 2014


Don't relay on Call-ID header, it may but may not contain IP address. In many 
cases it could contain internal IP address of NATed client. Many SIP clients 
do not include IP address to call-id.

On Tuesday 16 December 2014 14:57:14 Snabel Kabiya wrote:
> Hi,
> 
> How can i get the caller IP from session?
> 
> In sip trace I've:
> 
> Call-ID: 7XHCXNSJABE2NGOBAHSXRZIGPA at 1.2.3.4
> 
> i want to get the IP 1.2.3.4 i my Lua script, anyone knows how?
> 
> Thanks,
> Snabel



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list