I'm expecting regcontext to create a context of regcontext and an priority 1 extension for either the value of regexten or the peer name. The context is created, the extension says it is created but isn't. It works fine with a staticaly defined extension of the same name as defined for regexten or the peer name.
<br><br>Simon<br><br><div><span class="gmail_quote">On 7/17/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;">
<div>
<div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">So you are relying on the behavior of regexten to default
to peer name? Is that what you are expecting? And if so, could you
test with a statically defined extension for the per-peer regexten
parameter?</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">Regards,</font></span></div>
<div dir="ltr" align="left"><span><font color="#0000ff" face="Arial" size="2">- Brad</font></span></div><br>
<div dir="ltr" align="left" lang="en-us">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:asterisk-users-bounces@lists.digium.com" title="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
asterisk-users-bounces@lists.digium.com</a>
[mailto:<a href="mailto:asterisk-users-bounces@lists.digium.com" title="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">asterisk-users-bounces@lists.digium.com
</a>] <b>On Behalf Of </b>Simon
Woodhead<br><b>Sent:</b> Monday, July 17, 2006 5:53 AM<br><b>To:</b> Asterisk
Users Mailing List - Non-Commercial Discussion<br><b>Subject:</b> Re:
[asterisk-users] DUNDI / regcontext<br></font><br></div></div><div><span class="e" id="q_10c7c5525d3ce721_1">
<div></div>Thanks for the reply Brad.<br><br>The relevant section of sip.conf
was posted:<br><br>[general]<br>regcontext=sipregistration<br><br>If you mean
extensions.conf, I wasn't creating the extension in there other than for
testing. RegContext correctly creates the context on registration but does not
create the extension. If I create the extension manually, the DUNDi lookup works
just fine. <br><br>Simon<br><br>
<div><span class="gmail_quote">On 7/16/06, <b class="gmail_sendername">Watkins,
Bradley</b> <<a href="mailto:Bradley.Watkins@compuware.com" title="mailto:Bradley.Watkins@compuware.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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;">Could
you possibly put up the relevant section(s) of your sip.conf? It
sounds like the DUNDi portion is set up properly, and obviously it's not going
to find an extension that doesn't exist.<br><br>Regards,<br>-
Brad<br><br>________________________________<br><br>From: <a href="mailto:asterisk-users-bounces@lists.digium.com" title="mailto:asterisk-users-bounces@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
asterisk-users-bounces@lists.digium.com</a>
on behalf of Simon Woodhead<br>Sent: Sat 7/15/2006 5:59 PM<br>To: <a href="mailto:asterisk-users@lists.digium.com" title="mailto:asterisk-users@lists.digium.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
asterisk-users@lists.digium.com</a><br>Subject:
[asterisk-users] DUNDI / regcontext<br><br><br><br>Hi folks,<br><br>I've been
having a go at getting DUNDI working this evening to enable<br>users to
register to any Asterisk box and to look them up from another. <br>The DUNDI
part works just great (very impressed), as does the subsequent<br>joining of
calls between the two servers but I'm struggling with<br>regcontext and would
be grateful for any input.<br><br>sip.conf includes:
<br><br>[general]<br>regcontext=sipregistration<br><br>When a user registers,
I get the "Added extension 'XXXXXX' priority 1 to<br>sipregistration" message.
However, 'show dialplan' does not show the<br>extension and a DUNDI lookup
does not return it. The sipregistration <br>context has been auto-created but
is empty. If I manually create the<br>sipregistration context and add the NoOp
extension, then everything<br>works as expected.<br><br>I've tried this across
multiple boxes, each running different versions <br>right up to the latest
stable but the behaviour is the same. It is also<br>the same with both SIP and
IAX registrations and doesn't make a<br>difference if the peer is defined in
the .conf file or Realtime. They do<br>all have identical configurations
though so I suspect there might be<br>something in our setup which is
conflicting.<br><br>Any input gratefully received.<br><br>All the
best,<br>Simon<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><br>_______________________________________________<br>--Bandwidth and
Colocation provided by <a href="http://Easynews.com" title="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">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" title="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br><br><br><br></blockquote></div><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.
</span></div><div></div>
</div><br>_______________________________________________<br>--Bandwidth and Colocation provided by <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://Easynews.com" target="_blank">Easynews.com</a> --
<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">
http://lists.digium.com/mailman/listinfo/asterisk-users</a><br><br><br></blockquote></div><br>