[asterisk-users] pbx.c:2494 __ast_pbx_run: Invalid extension
RoLaNd RoLaNd
r_o_l_a_n_d at hotmail.com
Wed May 28 07:45:22 CDT 2008
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)
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080528/b2949a11/attachment.htm
More information about the asterisk-users
mailing list