[asterisk-users] Trouble with regexten

Russell Brown russell at lls.lls.com
Thu Nov 30 02:13:35 MST 2006


Can anyone help with the use of regexten? (* 1.4.3)

I've got Asterisk creating extensions for my SIP phones using regexten
but I can't seem to figure out how to make use of them once they're
registered.

Here's my dialplan for from-sip (the SIP's default context):

    asterisk*CLI> dialplan show from-sip
    [ Context 'from-sip' created by 'pbx_config' ]
      '98766' =>        1. Dial(Sip/Tim) [pbx_config]
                        2. Hangup()      [pbx_config]
      Include =>        'sip_autoreg'    [pbx_config]
      Include =>        'widgets'        [pbx_config]
    
    -= 1 extension (2 priorities) in 1 context. =-
    asterisk*CLI> 

and here's sip_autoreg (the regexten context):

    asterisk*CLI> dialplan show sip_autoreg
    [ Context 'sip_autoreg' created by 'pbx_config' ]
      '114' =>          2. Dial(Sip/Tim)     [pbx_config]
                        3. Hangup()          [pbx_config]
    
    [ Context 'sip_autoreg' created by 'SIP' ]
      '112' =>          1. Noop(Russell)     [SIP]
      '113' =>          1. Noop(Richard)     [SIP]
      '114' =>          1. Noop(Tim)         [SIP]
    
    -= 4 extensions (5 priorities) in 2 contexts. =-
    asterisk*CLI>

Dialing 98766 from Sip/Russell rings Sip/Tim as expected.

Dialing 114 gives "Not Found" :-(

I'm very confused.... any ideas why this doesn't work?

-- 
 Regards,
     Russell
 --------------------------------------------------------------------
| Russell Brown          | MAIL: russell at lls.com PHONE: 01780 471800 |
| Lady Lodge Systems     | WWW Work: http://www.lls.com              |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk         |
 --------------------------------------------------------------------


More information about the asterisk-users mailing list