[asterisk-users] Re: Can you explain why multiple
registrationisan important (missing) feature ?
Craig Guy
cguy at bigpond.net.au
Fri Sep 22 00:44:53 MST 2006
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" <aspendora at gmail.com>
To: "Asterisk Users Mailing List - Non-Commercial Discussion"
<asterisk-users at lists.digium.com>
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 <cguy at bigpond.net.au> wrote:
>> [9580]
>> type=peer
>> auth=000413242fff:secret at asterisk
>
> 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
>
More information about the asterisk-users
mailing list