If you do use a proxy, you can populate a sip X-header with the IP and that will be available to you via the channel variables in FS.
This is available in the dial-plan as the network_addr. Please note that if this first goes through a proxy, this will show the proxy address (the address that we actually get the sip packet from on the ip layer).MikeOn Apr 7, 2008, at 11:39 AM, Alois Komenda wrote:_______________________________________________Hello,is there a way in FS to determine the IP address of the sender of a SIP message. I'm not talking about IP addresses or domain names that are sent on application layer (i. e. within SIP) but on network layer. I need this to determine if one network element pretends to have several (SIP-)identities.
Alois Komenda
Fraunhofer-Einrichtung für Systeme der Kommunikationstechnik ESK
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org