[asterisk-users] Using MAC or extension number as SIP identifier

Olivier oza-4h07 at myamail.com
Thu Nov 20 11:02:17 CST 2008


2008/11/20 Daniel Hazelbaker <daniel at highdesertchurch.com>

> It will auto-complete if you hit tab, just like the shell.  But I
> would recommend against it.  I can't really think of a good reason to
> do it.  'sip show peer 268' I can remember to see that status of
> extension 268 when somebody calls and says "I can't dial 268".
> Whereas 'sip show peer 00147...wtf was his MAC address again?', I have
> to lookup the extension somewhere and find the MAC address.


I mostly agree with that and that's what kept me from doing it earlier.

>
>
> Any reason you want to use the MAC address?  If it is just for easy
> provisioning, I just put a MAC address field in the realtime SIP table
> and use a php script to take the phone's MAC address and feed it the
> login information it needs.


provisioning is the first reason.
I also thought it could help to separate devices, users and other resources.

as you obviously cannot tie MAC address to a dialing string, this forces you
to query a database somewhere for every call ...

I'm not fully convinced of this, anyway, but when I thought about it, I felt
frightened about loosing things I'm used to ...

>
>
> Daniel
>
> > Hi,
> >
> > For a long time, I was wondering if I should use MAC address instead
> > of Extension number to identify SIP endpoints (as I'm mostly not
> > using softphones).
> >
> > Before diving into this, I wondered how people using MAC address are
> > using CLI as it seems more natural and simple to type
> > "sip show peer 4566"  as opposed to "sip show peer 00147F784512".
> > Is there something obvious I'm missing (auto-completion ?
> > aliasing ? ...) ?
> >
> > Cheers
> > _______________________________________________
> > -- 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20081120/93bdfb48/attachment.htm 


More information about the asterisk-users mailing list