Re: [asterisk-users] SIP client MAC address.

2009-10-28 Thread Klaverstyn, David C
From Linux you could use

 

arp | grep 192.168.0.1

 

substituting the IP address of the SIP device.

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] 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

Re: [asterisk-users] SIP client MAC address.

2009-10-28 Thread DHAVAL INDRODIYA
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 
david.klavers...@intergraph.com wrote:

  From Linux you could use



 arp | grep 192.168.0.1



 substituting the IP address of the SIP device.



 *From:* asterisk-users-boun...@lists.digium.com [mailto:
 asterisk-users-boun...@lists.digium.com] *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

Re: [asterisk-users] SIP client MAC address.

2009-10-28 Thread Klaverstyn, David C
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: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] 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
david.klavers...@intergraph.com wrote:

From Linux you could use

 

arp | grep 192.168.0.1

 

substituting the IP address of the SIP device.

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] 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

Re: [asterisk-users] SIP client MAC address.

2009-10-28 Thread DHAVAL INDRODIYA
hi,

though , the SIP client is behinf the NAT cannot we get MAC address of that
client , from SIP headers.
or do you suggest any alternate method .

regards
dhaval

On Wed, Oct 28, 2009 at 12:20 PM, Klaverstyn, David C 
david.klavers...@intergraph.com wrote:

  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:* asterisk-users-boun...@lists.digium.com [mailto:
 asterisk-users-boun...@lists.digium.com] *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 
 david.klavers...@intergraph.com wrote:

 From Linux you could use



 arp | grep 192.168.0.1



 substituting the IP address of the SIP device.



 *From:* asterisk-users-boun...@lists.digium.com [mailto:
 asterisk-users-boun...@lists.digium.com] *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

___
-- 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

Re: [asterisk-users] SIP client MAC address.

2009-10-28 Thread Alex Balashov
This is a very strange discussion.

MAC addresses can only be discovered for peers that are on the same 
broadcast segment - which is the realm within which ARP lookups 
participate.

Any peers not on the same logical Layer 2 network are reached through 
a Layer 3 hop.  MAC addresses behind that routing hop cannot be found 
out because the nodes are in a different MAC domain.

NAT has absolutely nothing to do with this, and thus is irrelevant one 
way or another.

-- 
Alex Balashov - Principal
Evariste Systems
Web : http://www.evaristesys.com/
Tel : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671

___
-- 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