[asterisk-users] pbx.c:2494 __ast_pbx_run: Invalid extension
Sherwood McGowan
sherwood.mcgowan at gmail.com
Wed May 28 08:26:37 CDT 2008
RoLaNd RoLaNd wrote:
> Hello all,
>
> im having trouble directing incoming calls to specific extensions
> after the WAITEXTEN rule has been executed.
> for example when i call in and asterisk picks up, i hear the msg.. if
> try to call 105 for example, it just takers 10.. and sometimes even
> just "1"
> please see the following error as well as my sip.conf and extensions.conf
>
>
> CLI sip debugging ERROR:
>
>
> -- Executing [120 at spa:1] Goto("SIP/101-b5f65a78",
> "sipura-line|120|1") in new stack
> -- Goto (sipura-line,120,1)
> -- Executing [120 at sipura-line:1] Answer("SIP/101-b5f65a78", "") in
> new stack
> -- Executing [120 at sipura-line:2] Playback("SIP/101-b5f65a78",
> "silence/1") in new stack
> -- <SIP/101-b5f65a78> Playing 'silence/1' (language 'en')
> -- Executing [120 at sipura-line:3] BackGround("SIP/101-b5f65a78",
> "simzy") in new stack
> -- <SIP/101-b5f65a78> Playing 'simzy' (language 'en')
> -- Executing [120 at sipura-line:4] WaitExten("SIP/101-b5f65a78",
> "5") in new stack
> [May 28 14:41:25] WARNING[13091]: pbx.c:2494 __ast_pbx_run: Invalid
> extension '10', but no rule 'i' in context 'sipura-line'
>
> sip.conf
>
> [100]
>
> secret=1234
> allow=all
> host=dynamic
> type=friend
> context=sipura-line
>
>
> [101]
>
> secret=1234
> allow=all
> host=dynamic
> type=friend
> context=spa
>
>
> [102]
>
> secret=1234
> allow=all
> host=dynamic
> type=friend
> context=spa
>
>
> [103]
>
> secret=1234
> allow=all
> host=dynamic
> type=friend
> context=spa
>
> [120]
>
> secret=1234
> allow=all
> host=dynamic
> type=friend
> context=sipura-line
>
>
> [105]
>
> secret=1234
> allow=all
> host=dynamic
> type=friend
> context=sipura-line
>
> extensions.conf:
>
>
> [sipura-line]
>
> exten => 120,1,Answer() ; Answer inbound calls
> exten => 120,2,Playback(silence/1)
> exten => 120,3,Background(simzy) ; input an extension
> exten => 120,n,WaitExten(5) ; Adjust wait, default 5 sec
> exten => 120,n,Goto(spa,${EXTEN}@192.168.0.111:5061,1) ; Goto the
> correct extension
> exten => 120,n,Hangup() ; End the call
>
> [spa]
>
> exten =>_120,1,GoTo(sipura-line,${EXTEN},1)
> Exten => _1XX,1,Dial(SIP/${EXTEN})
> exten => _0.,1,Dial(SIP/101/${EXTEN:1})
> exten => _1X.,1,Dial(SIP/${EXTEN}@192.168.0.111:5061)
>
>
> ------------------------------------------------------------------------
> Get news, entertainment and everything you care about at Live.com.
> Check it out! <http://www.live.com/getstarted.aspx%20>
> ------------------------------------------------------------------------
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-users
Adjust your WaitExten()'s wait time, it's apparently needing longer to
pick it up.
More information about the asterisk-users
mailing list