K
K
karibskii_koks2016-12-12 18:03:45
Asterisk
karibskii_koks, 2016-12-12 18:03:45

Asterisk, why is the number pressed not showing in the console?

Hello, while training, I decided to create a multi-level IVR with button presses.
However, when key 1 is pressed, nothing happens.
What could be the problem, is that I incorrectly specified the line in the dialplan, or is the asterisk really not receiving 1 from the caller?
The console returns me the following:
Executing [[email protected]:1] Goto("SIP/468174-00000077", "ivr-main,s,1") in new stack
-- Goto (ivr-main,s,1)
-- Executing [[email protected]:1] Answer("SIP/468174-00000077", "") in new stack
-- Executing [[email protected]:2] BackGround("SIP/468174-00000077", "/etc/asterisk/ivr/8") in new stack
-- Playing '/etc/asterisk/ivr/8.slin' (language 'en')
-- Executing [[email protected]:3] WaitExten("SIP/468174-00000077", "5") in new stack
[Dec 12 19:54:19] WARNING[21212][C-00000038]: pbx_builtins. c:1021 pbx_builtin_waitexten: Timeout but no rule 't' or 'e' in context 'ivr-main'
== Spawn extension (ivr-main, s, 3) exited non-zero on 'SIP/468174-00000077'
Dialplan part :
[ivr-main]
exten => s,1,Answer()
exten => s,n,Background(/etc/asterisk/ivr/8)
exten => s,n,WaitExten(5)
exten => 1, n,Goto(sales,s,1)
[sales]
exten => s,n,Queue(ringing)

Answer the question

In order to leave comments, you need to log in

[[+comments_count]] answer(s)
V
Viktor, 2016-12-12
@awsswa59

In addition to one, there may be options, they didn’t click and clicked, but not that.
PS And secondly, you have an error
[ivr-main]
exten => s,1,Answer()
exten => s,n,Background(/etc/asterisk/ivr/8)
exten => s,n,WaitExten(5 )
exten => 1, 1 ,Goto(sales,s,1)
exten => i,1,Goto(sales,s,1)
exten => t,1,Goto(sales,s,1)
[sales]
exten => s, 1 ,Queue(ringing)
PS Read the tutorial, such things are dealt with on the second page

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question