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><div><span class="gmail_quote">On 11/30/06, <b class="gmail_sendername">Watkins, Bradley
</b> <<a href="mailto:Bradley.Watkins@compuware.com">Bradley.Watkins@compuware.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Creating a context in your extensions.conf with the same name as your<br>regcontext will cause all kinds of oddness to happen, among them this.<br><br>What you need to do is have a differently-named context in<br>extensions.conf
with your 2-n priorities and include sip_autoreg in<br>that.<br><br>Regards,<br>- Brad<br><br>> -----Original Message-----<br>> From: <a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com
</a><br>> [mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com">asterisk-users-bounces@lists.digium.com</a>] On Behalf Of<br>> Russell Brown<br>> Sent: Thursday, November 30, 2006 4:14 AM<br>> To: <a href="mailto:asterisk-users@lists.digium.com">
asterisk-users@lists.digium.com</a><br>> Subject: [asterisk-users] Trouble with regexten<br>><br>><br>> Can anyone help with the use of regexten? (* 1.4.3)<br>><br>> I've got Asterisk creating extensions for my SIP phones using
<br>> regexten but I can't seem to figure out how to make use of<br>> them once they're registered.<br>><br>> Here's my dialplan for from-sip (the SIP's default context):<br>><br>> asterisk*CLI> dialplan show from-sip
<br>> [ Context 'from-sip' created by 'pbx_config' ]<br>> '98766' => 1. Dial(Sip/Tim) [pbx_config]<br>> 2. Hangup() [pbx_config]<br>> Include => 'sip_autoreg' [pbx_config]
<br>> Include => 'widgets' [pbx_config]<br>><br>> -= 1 extension (2 priorities) in 1 context. =-<br>> asterisk*CLI><br>><br>> and here's sip_autoreg (the regexten context):
<br>><br>> asterisk*CLI> dialplan show sip_autoreg<br>> [ Context 'sip_autoreg' created by 'pbx_config' ]<br>> '114' => 2. Dial(Sip/Tim) [pbx_config]<br>> 3. Hangup() [pbx_config]
<br>><br>> [ Context 'sip_autoreg' created by 'SIP' ]<br>> '112' => 1. Noop(Russell) [SIP]<br>> '113' => 1. Noop(Richard) [SIP]<br>> '114' => 1. Noop(Tim) [SIP]
<br>><br>> -= 4 extensions (5 priorities) in 2 contexts. =-<br>> asterisk*CLI><br>><br>> Dialing 98766 from Sip/Russell rings Sip/Tim as expected.<br>><br>> Dialing 114 gives "Not Found" :-(
<br>><br>> I'm very confused.... any ideas why this doesn't work?<br>><br>> --<br>> Regards,<br>> Russell<br>> --------------------------------------------------------------------<br>> | Russell Brown | MAIL:
<a href="mailto:russell@lls.com">russell@lls.com</a> PHONE: 01780 471800 |<br>> | Lady Lodge Systems | WWW Work: <a href="http://www.lls.com">http://www.lls.com</a> |<br>> | Peterborough, England | WWW Play:
<a href="http://www.ruffle.me.uk">http://www.ruffle.me.uk</a> |<br>> --------------------------------------------------------------------<br>> _______________________________________________<br>> --Bandwidth and Colocation provided by
<a href="http://Easynews.com">Easynews.com</a> --<br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>><br>><br>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.
<br>_______________________________________________<br>--Bandwidth and Colocation provided by <a href="http://Easynews.com">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:
<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br>