[Kamailio-Users] How to take MAC address

Zahid Mehmood zm23 at columbia.edu
Wed Oct 28 12:22:03 CET 2009


I know that the Polycom phones can be configured to add the MAC address in one of the headers (probably the user agent hdr). 

-- 
Zahid


----- Original Message -----
From: users-bounces at lists.kamailio.org <users-bounces at lists.kamailio.org>
To: users at lists.kamailio.org <users at lists.kamailio.org>
Sent: Wed Oct 28 02:58:05 2009
Subject: Re: [Kamailio-Users] How to take MAC address

On Wednesday 28 October 2009 06:35:28 Chandrakant Solanki wrote:
> Hi
>
> I want to know the MAC address of registered client on kamailio...
>
> suppose i have 3 Client registered with 192.168.1.2, 192.168.1.3 and
> 192.168.1.4
>
> from these 3 Client, i am registered successfully with 101, 102,
> 103 at test.com
>
> But for additional authentication ... i also need MAC address for this
> Client.
>
> Is there any module, method, function or variable to take MAC address or is
> there any alternative for the above case.
>
>
> Waiting for favorable reply...

You will not have luck outsite "your proxy network" ... I mean ... that if 
your proxy is on 192.168.0.10/24 and your clients on any other network, you 
will always get's the same MAC, the mac of the 192.168.0.10/24 gateway.

Your only hope is that SOME SIP devices add their MAC as part of some 
subscribe or register petition.

I don't see any security increase on this, because MAC's could be easily 
spoofed.

-- 
Raúl Alexis Betancor Santana
Dimensión Virtual

_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users at lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users


More information about the Users mailing list