<div>Recently I've noticed two bits of odd behavior with respect to regcontext/regexten in CVS HEAD &amp; 1.2 Beta1, and I was wondering if anyone could shed some light on this.</div>
<div>&nbsp;</div>
<div>I've set up a regcontext in sip.conf.&nbsp; I've set up two users with regexten entries, one in sip.conf and one in a mysql realtime table.</div>
<div>&nbsp;</div>
<div>The first bit of oddness is that regexten seems to work&nbsp;somewhat as described for users whose entries are in sip.conf, but for the user whose entries are in a realtime database, it doesn't seem to work&nbsp;at all.&nbsp; Specifically for the 
sip.conf user, the cli reports adding the extension upon registration, and 'show dialplan' indeed shows the added entry.&nbsp; For a user configured through a realtime database, the cli reports adding the extension upon registration, but 'show dialplan' shows no added extension (and indeed attempts to dial the allegedly registered extension fail). 
</div>
<div>&nbsp;</div>
<div>The second bit of oddness is that in the sip.conf.sample it states &quot;Patterns may be used in regexten&quot; however, while registering a sip user with regexten=_45X does yield an entry (according to 'show dialplan' for the regcontext) of '_45X' =&gt; 1. Noop(test)', attempts to dial anything that should match that pattern (451, 452, etc) in that context result in reports of&nbsp;no such extension...it appears almost as if pattern matching is not being performed on extensions added by SIP. 
</div>
<div>&nbsp;</div>
<div>So...question is, what's broken here?&nbsp; Is is Asterisk?&nbsp; My understanding?&nbsp; Or my installation of Asterisk?&nbsp; All three...??&nbsp; ;-)</div>
<div>&nbsp;</div>
<div>If anyone can shed some light, I'd greatly appreciate it.</div><span></span><span class="sg">
<div>&nbsp;</div>
<div>Stewart</div></span><br style="FONT-SIZE: 8px" clear="all">