Ivr

IVR

Postby angel.inc » Mon Aug 29, 2011 6:00 am
Hi, i have problem with read, and background … Asterisk dosent respond for key press frome some phones. wher cud be a problem?

[DID_span_1]
exten => 67088432,1,Answer
exten => 67088432,2,Background(audio/1solis_LV&audio/1solis_LV&audio/1solis_LV)
exten => 1,1,Goto(submenu,s,1)
exten => 2,1,Goto(submenu2,s,1)
exten => _X,1,Goto(67088432,2)
exten => 67088432,3,Goto(KAD2,s,1)
[submenu]
exten => s,1,Background(audio/2solis_LV&audio/3solis_LV&audio/4solis_LV&audio/7solis_LV&audio/2solis_LV&audio/3solis_LV&audio/4solis_LV&audio/7solis_LV)
exten => 1,1,Goto(KAD1,s,1)
exten => 2,1,Goto(KAD2,s,1)
exten => 3,1,Goto(UTD1,s,1)
exten => 4,1,Goto(KTD,s,1)
exten => _X,1,Goto(submenu,s,1)
exten => s,2,Goto(KAD2,s,1)
[submenu2]
exten => s,1,Set(CALLERID(num)=*${CALLERID(num)})
exten => s,2,Background(audio/2solis_RU&audio/3solis_RU&audio/4solis_RU&audio/7solis_RU&audio/2solis_RU&audio/3solis_RU&audio/4solis_RU&audio/7solis_RU)
exten => 1,1,Goto(KAD1,s,1)
exten => 2,1,Goto(KAD2ru,s,1)
exten => 3,1,Goto(UTD2,s,1)
exten => 4,1,Goto(KTD,s,1)
exten => _X,1,Goto(submenu2,s,2)
exten => s,3,Goto(KAD2ru,s,1)

Can you please post a snippet of your asterisk CLI when you try to press a number while in this dialplan?

Asterisk dosnt get nosing in CLI, in this situation

Is the call even reaching your * server? If so then there should be SOMETHING in the CLI…

Maybe it’s a DTMF problem. Check this on the phones having problems. Could be something different between them and the ones wich work fine.

CAn you give me some sample to configure DTMF with dahdi ?

Call reach the server … it comes in … but after user hit the number … it sho nathing in CLI, but it is in about 3 % of all cals

Anything specific about those calls? Could they be coming through some VOIP, having some DTMF issues? Just a wild guess, but might be the case since it’s just for those 3%

Well, you use the READ app don’t you.
When you press something it shoes like:
User entered '12345’
or
User entered nothig

If you use analog phones, try to test some different model or something like this. I don’t think it’s an Asterisk problem because some of them work, right?
So, which of them work. And those who don’t are from the same model?

You can read more of DTMF at voip-info to try to understand a little more.
Show us what you see at CLI, when you press the digits…

Ther is nothing special in thos calls … it’s all come in thru ISDN30 … thos calls is from difrent mobile phons, or analog phones … sometimes it get going if you hit the number second time … sometims … you can push it 100 but it just dosen’t get it

[quote=“felipe_asterisk”]Well, you use the READ app don’t you.
When you press something it shoes like:
User entered '12345’
or
User entered nothig

If you use analog phones, try to test some different model or something like this. I don’t think it’s an Asterisk problem because some of them work, right?
So, which of them work. And those who don’t are from the same model?

You can read more of DTMF at voip-info to try to understand a little more.
Show us what you see at CLI, when you press the digits…[/quote]

I tested it on read, and a beckground it all the same … about 3 % of incoming calls … get in IVR but dosen’t get further if you pres the key … CLI dosn’t shov enysing for thous 3 % hits …

– Accepting call from ‘22038550’ to ‘67088432’ on channel 0/1, span 1
– Executing [67088432@DID_span_1:1] Answer(“DAHDI/1-1”, “”) in new stack
– Executing [67088432@DID_span_1:2] BackGround(“DAHDI/1-1”, “audio/1solis_LV&audio/1solis_LV&audio/1solis_LV”) in new stack
– <DAHDI/1-1> Playing ‘audio/1solis_LV.slin’ (language ‘en’)
== CDR updated on DAHDI/1-1
– Executing [1@DID_span_1:1] Goto(“DAHDI/1-1”, “submenu,s,1”) in new stack
– Goto (submenu,s,1)
– Executing [s@submenu:1] BackGround(“DAHDI/1-1”, “audio/2solis_LV&audio/3solis_LV&audio/4solis_LV&audio/7solis_LV&audio/2solis_LV&audio/3solis_LV&audio/4solis_LV&audio/7solis_LV”) in new stack
– <DAHDI/1-1> Playing ‘audio/2solis_LV.slin’ (language ‘en’)
== Using SIP RTP CoS mark 5
== Using UDPTL CoS mark 5

And it get thenumber 1 hit only after second time … sometimes it tosent get it at all …

P.S I’m using Digium TE220B for incoming calls with ISDN30

try changing [DID_span_1] to;

[DID_span_1]
exten => 67088432,1,Answer
exten => 67088432,n,Wait(2)
exten => 67088432,n,Background(audio/1solis_LV&audio/1solis_LV&audio/1solis_LV)
exten => 1,1,Goto(submenu,s,1)
exten => 2,1,Goto(submenu2,s,1)
exten => _X,1,Goto(67088432,2)
exten => 67088432,3,Goto(KAD2,s,1)

If that doesn’t work, maybe try

exten => 67088432,1,Set(TIMEOUT(digit)=1)
exten => 67088432,n,Set(TIMEOUT(response)=3)
exten => 67088432,n,Answer
exten => 67088432,n,Wait(2)
exten => 67088432,n,Background(audio/1solis_LV&audio/1solis_LV&audio/1solis_LV)
exten => 1,1,Goto(submenu,s,1)
exten => 2,1,Goto(submenu2,s,1)
exten => _X,1,Goto(67088432,2)
exten => 67088432,3,Goto(KAD2,s,1)

Wanted to provide a heads up for users coming to this page. Angel referenced is purchased by Genesys.com and is available here http://www.genesys.com/angel

Thanks!