[asterisk-users] Trouble with regexten
Andrew Joakimsen
joakimsen at gmail.com
Thu Nov 30 20:02:35 MST 2006
Because the "REGEXTEN" would be the "phone number" And the Device's userid
would be the macaddress, settting regexten should create that association.
There used to be an example on the voip-info wiki but its not there anymore.
Would someone care to explain what regexten, in its current state, can do
that the dialplan can't already do?
On 11/30/06, Watkins, Bradley <Bradley.Watkins at compuware.com> wrote:
>
>
>
> ------------------------------
> *From:* asterisk-users-bounces at lists.digium.com [mailto:
> asterisk-users-bounces at lists.digium.com] *On Behalf Of *Andrew Joakimsen
> *Sent:* Thursday, November 30, 2006 11:56 AM
> *To:* Asterisk Users Mailing List - Non-Commercial Discussion
> *Subject:* Re: [asterisk-users] Trouble with regexten
>
> When using autoreg, is there any way to extract the userid somehow? IE:
>
> SIP.com
> regcontext=registrations
> [123]
> regexten=2125551212
>
> extensions.conf
>
> [phones]
> include => registrations
> exten => _212NXXXXXX,2,Dial(SIP/${VARIABLE}))
> exten => _212NXXXXXX,3,VoiceMail(u${EXTEN})
>
> Honestly I dont see the point of autoreg unless this can be done...
>
>
>
> The answer is no, but I'm not sure what you're expecting. This is no
> different than if you weren't using regexten. You would still need a way
> to map the DID to the proper device.
>
> Regards,
> - Brad
>
>
> The contents of this e-mail are intended for the named addressee only. It
> contains information that may be confidential. Unless you are the named
> addressee or an authorized designee, you may not copy or use it, or disclose
> it to anyone else. If you received it in error please notify us immediately
> and then destroy it.
>
> _______________________________________________
> --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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061130/b021ac70/attachment.htm
More information about the asterisk-users
mailing list