I was afraid that may be the case - The issue I have with that approach is
how do you avoid manually mapping extensions to mac addresses in the
dialplan? Assuming I have a PRI with 100did and I want to use the last 4
digits of the DID as the internal extension, I want to use something like
below to handle the bulk of calls:
exten => _XXXXXXXX,1,Dial(SIP/${EXTEN:4},20)
How can this be accomplished if SIP usernames are mac addresses?, it would
seem to me that sip.conf is the correct place to map an extension to a
device, otherwise I would have an extensions.conf with a manual entry for
each extension making updating it a chore.
Craig
----- Original Message -----
From: "Lacy Moore - Aspendora" <[EMAIL PROTECTED]>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<[email protected]>
Sent: Thursday, September 21, 2006 10:23 AM
Subject: Re: [asterisk-users] Re: Can you explain why multiple
registrationisan important (missing) feature ?
>On 9/20/06, Craig Guy <[EMAIL PROTECTED]> wrote:
[9580]
type=peer
auth=000413242fff:[EMAIL PROTECTED]
It would be
[MAC ADDRESS]
type=peer
...etc..
Or at least, that's how I interpreted what Eric said. I think that's an
excellent approach. THe phones are devices. An extension calls one or
more
devices. Makes a lot more sense than multiple extensions calling multiple
extensions.
Your definition in the sip.conf would be defining devices according to
their
MAC addresses. Your dial plan would call these devices based on
extensions.
exten => 100,1,Dial(SIP/MAC) ; where MAC is the MAC address of the phone
--
Lacy Moore
Aspendora, Inc.
--------------------------------------------------------------------------------
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users