[asterisk-users] Realtime, DUNDi and regexten

Bruce Reeves asterisk at nortex-networks.com
Thu Nov 2 20:00:35 MST 2006


I updated http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+regcontext
<http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+regcontext>

Please make sure I got it correct.

On 11/2/06, Andrew Joakimsen <joakimsen at gmail.com> wrote:
>
> BINGO!
>
> regcontext= needs to be inside the [general] section of sip.conf NOT for
> the peers, this page is incorrect: http://www.voip-info.org/wiki/index.php?page=Asterisk+sip+regcontext
>
>
>
>
> On 11/2/06, Aaron Daniel <amd011 at shsu.edu> wrote:
> >
> > Let's see, in sip.conf, I have this option set:
> > regcontext=dundi-extens
> >
> > Don't setup a dundi-extens context in your extensions.conf unless you're
> > planning on putting priority 2+ extensions in there, since chan_sip will
> > automatically create the context.
> >
> > In dundi.conf, I have my mappings as:
> > e164 => dundi-extens,0,SIP,tcm1/${NUMBER}
> > internal => dundi-extens,0,SIP,tcm1/${NUMBER}
> >
> > We use realtime for our sip peers, but it should work the same for
> > static sip.conf peers, just configure regexten on a per peer basis and
> > when they register, the extension will show up in dundi-extens.  It took a
> > little fighting with the first time I tried it, but once I figured out the
> > mechanics of it, it pretty much installs with the ease of dropping the
> > configs in.  The main thing to keep in mind is that if you have the context
> > set up in extensions.conf, you'll probably run into problems getting it
> > to work.
> >
> >       name      | callgroup | canreinvite |    context    |  host
> > |    mailbox    | nat | pickupgroup | qualify |     secret     | type |
> > musiconhold | regexten
> >
> > ----------------+-----------+-------------+---------------+---------+---------------+-----+-------------+---------+----------------+------+-------------+----------
> > 001201AD33A1_1 |           | no          | long-distance | dynamic |
> > 44198 at default | yes |             | 60000   | blah           | peer
> > |             | 44198
> >
> > Also, regexten is not meant to be a global configuration option, it must
> > be configured per peer (or if you have regcontext and nothing for regexten,
> > it'll regexten the peer name instead of what you choose per peer).
> >
> > If you have any problems, let me know.  I'll need to see your configs if
> > this doesn't work.
> >
> >
> > Aaron Daniel
> > Computer Systems Technician
> > Sam Houston State University
> > (936) 294-4198
> >
> > ----- Original Message -----
> > From: Andrew Joakimsen <joakimsen at gmail.com>
> > To: amdtech at shsu.edu
> > Sent: Thursday, November 2, 2006 12:50:03 PM GMT-0600 US/Central
> > Subject: Re: [asterisk-users] Realtime, DUNDi and regexten
> >
> > Can you post an example configuration? Using regexten and regcontext in
> > sip.conf DOES NOT produce anything for me. If you dont mind me asking as
> > well, what version of Asterisk are you using?
> >
> >
> >
> >
> > On 11/2/06 , Aaron Daniel < amdtech at shsu.edu > wrote: We've been using
> > DUNDi, Realtime, and regexten extensively for months
> > now, and it's been working great since we got it running. We don't use
> > the NoOp's for anything other than extension discovery since creating
> > the NoOp's in already configured contexts isn't very stable.
> >
> > Aaron
> >
> > On Thu, 2006-11-02 at 00:29 -0500, Andrew Joakimsen wrote:
> > > I can't even get regexten to work with config files....
> > >
> > > On 11/1/06 , Douglas Garstang < dgarstang at oneeighty.com > wrote:
> > > It seems that when you use Realtime static and possibly
> > > realtime realtime for sip users, that Asterisk fails to create
> > > the regexten context for DUNDi.
> > >
> > > Someone else had the same problem back in July. Doesn't look
> > > like they ever had a resolution.
> > > http://lists.digium.com/pipermail/asterisk-users/2006-July/160105.html
> > >
> > > Someone else posted what appears to be the same issue to the
> > > bug tracker 3 years ago:
> > > http://bugs.digium.com/view.php?id=3053
> > >
> > > Mark Spencer closed the bug, saying it was a configuration
> > > issue, and to use 'includes'. Not sure what he means by that.
> > >
> > > Has anyone got this to work?
> > >
> > > Thanks,
> > > Doug.
> > >
> > >
> > > _______________________________________________
> > > --Bandwidth and Colocation provided by Easynews.com --
> > >
> > > asterisk-users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> > >
> > >
> > > _______________________________________________
> > > --Bandwidth and Colocation provided by Easynews.com --
> > >
> > > asterisk-users mailing list
> > > To UNSUBSCRIBE or update options visit:
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > --
> > Aaron Daniel
> > Computer Systems Technician
> > Sam Houston State University
> > amdtech at shsu.edu
> > (936) 294-4198
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
> >
>
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
>


-- 
Bruce
Nortex Networks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061102/9505f666/attachment.htm


More information about the asterisk-users mailing list