If there is more than one SIP devices operating from the same NAT device then I'm not sure what you could do as it would always show the same IP for all SIP devices behind the same NAT. If there is only one device behind that NAT making a connection to your server then that is easy, if not I think your screwed.
From: [email protected] [mailto:[email protected]] On Behalf Of DHAVAL INDRODIYA Sent: Wednesday, 28 October 2009 4:47 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] SIP client MAC address. hello david, what in case of sip client is behind "NAT", and i want SIP client IP address. not from system from which client registered. if it is a SIP phone then what? if you have any idea then tell me. regards dhaval On Wed, Oct 28, 2009 at 12:02 PM, Klaverstyn, David C <[email protected]> wrote: >From Linux you could use arp | grep "192.168.0.1" substituting the IP address of the SIP device. From: [email protected] [mailto:[email protected]] On Behalf Of DHAVAL INDRODIYA Sent: Wednesday, 28 October 2009 4:29 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] SIP client MAC address. hello, is there any facility to get SIP client (ex. softphone,ipphone) MAC address on asterisk. based on that we authenticated client in anyway. i tried with sip debug but i didn't got any MAC address related field in all packets. regards Dhaval _______________________________________________ -- 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
_______________________________________________ -- 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
