[Asterisk-Users] regexten
Douglas Garstang
dgarstang at oneeighty.com
Thu Mar 16 16:27:10 MST 2006
Thanks for the reply, but still no luck.
sip.conf:
[2944093]
...
regcontext=sip_autoreg
regexten=2944093
extensions.conf:
[From_OneEighty]
include => sip_autoreg
[sip_autoreg]
exten => 2944093,2,Answer
exten => 2944093,3,Dial(SIP/2944093)
exten => 2944093,4,Hangup
Phone comes up, and registers:
*CLI> -- Saved useragent "PolycomSoundPointIP-SPIP_601-UA/1.6.3.0067" for peer 2944093
Dialplan before and after shows the same thing:
'2944093' => 2. Answer() [pbx_config]
3. Dial(SIP/2944093) [pbx_config]
4. Hangup() [pbx_config]
Doug.
> -----Original Message-----
> From: Luigi Rizzo [mailto:rizzo at icir.org]
> Sent: Thursday, March 16, 2006 4:14 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] regexten
>
>
> On Thu, Mar 16, 2006 at 03:55:18PM -0700, Douglas Garstang wrote:
> > So, After about 6 months I think I've finally worked out
> how regexten works.
> >
> > And... it doesn't look like it will serve my purpose. I'm
> hope I'm wrong, otherwise what a letdown! It also means that
> DUNDI becomes unusable as a HA mechanism.
>
> as unfortunate as it can be, at the moment you need to use
> a different context for entries generated by 'regexten'
> and entries statically configured. Then you have to include
> one into the other so you can match all entries on a call.
>
> I opened a bug on mantis some time ago, indicating two possible
> fixes. Hopefully this will be resolved sooner or later.
>
> cheers
> luigi
>
> > Let me see if I understand its function correctly tho...
> >
> > My sip.conf:
> > [2944093]
> > ...
> > regcontext=sip_autoreg
> > regexten=2944093
> >
> > extensions.conf:
> > [sip_autoreg]
> > exten => 2944093,2,Answer
> > exten => 2944093,3,Dial(SIP/2944093)
> > exten => 2944093,4,Hangup
> >
> > Phone comes up. Asterisk sees this:
> > *CLI> -- Saved useragent
> "PolycomSoundPointIP-SPIP_601-UA/1.6.3.0067" for peer 2944093
> >
> > However, I don't have a NoOp() priority 1.
> >
> > [ Context 'sip_autoreg' created by 'pbx_config' ]
> > '2944093' => 2. Answer()
> [pbx_config]
> > 3. Dial(SIP/2944093)
> [pbx_config]
> > 4. Hangup()
> [pbx_config]
> >
> > Why?
> > _______________________________________________
> > --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
>
More information about the asterisk-users
mailing list