<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2995" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2></FONT> </DIV><BR>
<BLOCKQUOTE
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] <B>On Behalf Of </B>Andrew
Joakimsen<BR><B>Sent:</B> Thursday, November 30, 2006 11:56 AM<BR><B>To:</B>
Asterisk Users Mailing List - Non-Commercial Discussion<BR><B>Subject:</B> Re:
[asterisk-users] Trouble with regexten<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>When using autoreg, is there any way to extract the userid somehow?
IE:<BR><BR>SIP.com<BR>regcontext=registrations<BR>[123]<BR>regexten=2125551212<BR><BR>extensions.conf<BR><BR>[phones]<BR>include
=> registrations<BR>exten => _212NXXXXXX,2,Dial(SIP/${VARIABLE}))
<BR>exten => _212NXXXXXX,3,VoiceMail(u${EXTEN})<BR><BR>Honestly I dont see
the point of autoreg unless this can be done...<BR><BR><SPAN
class=196120018-30112006><FONT face=Arial color=#0000ff
size=2> </FONT></SPAN></DIV></BLOCKQUOTE>
<DIV><SPAN class=196120018-30112006><FONT face=Arial color=#0000ff size=2>The
answer is no, but I'm not sure what you're expecting. This is no different
than if you</FONT></SPAN><SPAN class=196120018-30112006> <FONT face=Arial
color=#0000ff size=2>weren't using regexten. You would still need a way to
map the DID to the proper device.</FONT></SPAN></DIV>
<DIV><SPAN class=196120018-30112006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=196120018-30112006><FONT face=Arial color=#0000ff
size=2>Regards,</FONT></SPAN></DIV>
<DIV><SPAN class=196120018-30112006><FONT face=Arial color=#0000ff size=2>-
Brad</FONT></SPAN></DIV>
<DIV><SPAN class=196120018-30112006><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=196120018-30112006></SPAN> </DIV>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. </BODY></HTML>