Well, I finally got it to work. Such a shame I can't use it. I didn't realise 
it until I'd expended all the effort, but this approach doesn't give you a HA 
asterisk solution. If the server that the phone is registered to goes down, no 
Asterisk system knows the location of the phones that where registered to it. 
If you had 3 Asterisk boxes, 1/3 of your users suddenly can't receive calls. 
Not HA!
 

        -----Original Message----- 
        From: Luigi Rizzo [mailto:[EMAIL PROTECTED] 
        Sent: Thu 3/16/2006 4:34 PM 
        To: Asterisk Users Mailing List - Non-Commercial Discussion 
        Cc: 
        Subject: Re: [Asterisk-Users] regexten
        
        

        On Thu, Mar 16, 2006 at 04:27:10PM -0700, Douglas Garstang wrote:
        > 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
        
        I repeat:
        
        > > as unfortunate as it can be, at the moment you need to use
        > > a different context for entries generated by 'regexten'
        
        you still have static entries in context [sip_autoreg]
        in extensions.conf, and use the same context for
        entries generated by regexten - regcontext=sip_autoreg
        
                cheers
                luigi
        
        > 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:[EMAIL PROTECTED]
        > > 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
        > >
        > _______________________________________________
        > --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
        

<<winmail.dat>>

_______________________________________________
--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

Reply via email to