Hi,

incoming SIP calls have a channel name in the form of:
SIP/<ip-adresss-of-peer>-<handle>

This is a way to get fetch the IP address of the remote side
of a SIP call - in most cases.

However, sometimes, instead of the IP address, there is a host
name in the channel name. I assume, this value in the channel name
is not the real IP address, but just a field filled in by the
remote SIP client. Thus, this is not a reliable way to check the
origin of a SIP call.

What is a reliable way to read the real IP address of the origin
of a SIP call?


Regards,
Roger.


_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to