<!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>&nbsp;</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 
  =&gt; registrations<BR>exten =&gt; _212NXXXXXX,2,Dial(SIP/${VARIABLE})) 
  <BR>exten =&gt; _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>&nbsp;</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.&nbsp; This is no different 
than if you</FONT></SPAN><SPAN class=196120018-30112006>&nbsp;<FONT face=Arial 
color=#0000ff size=2>weren't using regexten.&nbsp; You would still need a way to 
map the&nbsp;DID to the proper device.</FONT></SPAN></DIV>
<DIV><SPAN class=196120018-30112006><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</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>&nbsp;</DIV>
<DIV><SPAN class=196120018-30112006></SPAN>&nbsp;</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>