Hello!
I have IVR menu, but when users select 1,2,3 - asterisk very often “not hear anything”, but 4-0 and * with # work well and IVR replay menu. I need your advice to solve this issue. I don’t know this is asterisk trouble or maybe provider’s VAD, maybe my IVR code is incorrect.
I have done calls from another line to me and analyze traffic dumps with wireshark
source:
|16.667 | 100 Trying| |SIP Status
| |(5060) <------------------ (5060) |
|17.850 | 183 Session Progress SDP ( telephone-event) |SIP Status
| |(5060) <------------------ (5060) |
|17.858 | RTP (G726-32) |RTP Num packets:1 Duration:0.000s SSRC:0x79680F85
| |(17848) ------------------> (15410) |
|17.879 | 200 OK SDP ( telephone-event) |SIP Status
| |(5060) <------------------ (5060) |
|17.879 | ACK | |SIP Request
| |(5060) ------------------> (5060) |
|17.900 | RTP (G726-32) |RTP Num packets:451 Duration:8.985s SSRC:0x79680F85
| |(17848) ------------------> (15410) |
|17.927 | RTP (G726-32) |RTP Num packets:1025 Duration:20.548s SSRC:0x4431C619
| |(17848) <------------------ (15410) |
|26.906 | RTP (telephone-event) DTMF Three 3 |RTP Num packets:7 Duration:0.079s SSRC:0x79680F85
| |(17848) ------------------> (15410) |
|27.040 | RTP (G726-32) |RTP Num packets:133 Duration:2.701s SSRC:0x79680F85
| |(17848) ------------------> (15410) |
|29.742 | RTP (telephone-event) DTMF Three 3 |RTP Num packets:7 Duration:0.085s SSRC:0x79680F85
| |(17848) ------------------> (15410) |
|29.851 | RTP (G726-32) |RTP Num packets:106 Duration:2.096s SSRC:0x79680F85
| |(17848) ------------------> (15410) |
|31.966 | RTP (telephone-event) DTMF Three 3 |RTP Num packets:7 Duration:0.080s SSRC:0x79680F85
| |(17848) ------------------> (15410) |
|32.098 | RTP (G726-32) |RTP Num packets:105 Duration:2.089s SSRC:0x79680F85
| |(17848) ------------------> (15410) |
|34.203 | RTP (telephone-event) DTMF Three 3 |RTP Num packets:7 Duration:0.080s SSRC:0x79680F85
| |(17848) ------------------> (15410) |
|34.350 | RTP (G726-32) |RTP Num packets:84 Duration:1.653s SSRC:0x79680F85
| |(17848) ------------------> (15410) |
|36.036 | RTP (telephone-event) DTMF Three 3 |RTP Num packets:6 Duration:0.072s SSRC:0x79680F85
| |(17848) ------------------> (15410) |
|36.174 | RTP (G726-32) |RTP Num packets:115 Duration:2.277s SSRC:0x79680F85
| |(17848) ------------------> (15410) |
|38.470 | BYE | |SIP Request
| |(5060) ------------------> (5060) |
|38.486 | 200 OK | |SIP Status
| |(5060) <------------------ (5060) |
destination:
| |(5060) ------------------> (5060) |
|10.436 | 100 Trying| |SIP Status
| |(5060) <------------------ (5060) |
|10.436 | 200 OK SDP ( telephone-event) |SIP Status
| |(5060) <------------------ (5060) |
|10.440 | ACK | |SIP Request
| |(5060) ------------------> (5060) |
|10.450 | RTP (G726-32) |RTP Num packets:939 Duration:18.758s SSRC:0x38EA418
| |(30336) ------------------> (10508) |
|11.484 | RTP (G726-32) |RTP Num packets:1154 Duration:23.111s SSRC:0x470BAA7
| |(30336) <------------------ (10508) |
|29.229 | RTP (telephone-event) DTMF Three 3 |RTP Num packets:9 Duration:0.119s SSRC:0x38EA418
| |(30336) ------------------> (10508) |
|29.369 | RTP (G726-32) |RTP Num packets:5 Duration:0.080s SSRC:0x38EA418
| |(30336) ------------------> (10508) |
|29.469 | RTP (telephone-event) DTMF Three 3 |RTP Num packets:9 Duration:0.119s SSRC:0x38EA418
| |(30336) ------------------> (10508) |
|29.609 | RTP (G726-32) |RTP Num packets:250 Duration:4.980s SSRC:0x38EA418
| |(30336) ------------------> (10508) |
|34.609 | BYE | |SIP Request
| |(5060) ------------------> (5060) |
|34.610 | 200 OK | |SIP Status
| |(5060) <------------------ (5060) |
IVR structure:
[code][ivr-general-main]
exten => 1,1,Queue(marketing,300)
exten => 2,1,Queue(buhgalteria,300)
exten => 3,1,Queue(itdepartment,300)
exten => s,1,noop(Enter GENERAL IVR)
exten => s,n,SET(TIMEOUT(digit)=3)
exten => s,n,SET(CHANNEL(musicclass)=ivr-general)
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n,GotoIfTime(11:00-17:00,,,?s-day,1)
exten => s,n,GotoIfTime(17:00-23:00,,,?s-evening,1)
exten => s,n,PlayBack(/var/lib/asterisk/ivr/hello)
exten => s,n,Goto(s-main,1)
exten => s-day,1,PlayBack(/var/lib/asterisk/ivr/goodday)
exten => s-day,n,Goto(s-main,1)
exten => s-evening,1,PlayBack(/var/lib/asterisk/ivr/goodevening)
exten => s-evening,n,Goto(s-main,1)
exten => s-main,1,PlayBack(/var/lib/asterisk/ivr/welcome)
exten => s-main,n,BackGround(/var/lib/asterisk/ivr/for_conn)
exten => s-main,n,Background(silence/5)
exten => s-main,n,SET(TIMEOUT(digit)=2)
exten => s-main,n,Queue(buhgalteria,300)
exten => i,1,Goto(s-main,2)[/code]