Manual dial OK / Auto problem

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Manual dial OK / Auto problem

Postby c20xh2 » Tue Oct 24, 2017 1:34 pm

VERSION: 2.14-588a
BUILD: 170211-1041

SIP provider : Twilio

Really weird problem this afternoon. Yesterday night everything was working perfectly, no change on the Vicidial made, nothing change on the firewall.

Today I'm unable to send call using any campaigns but if I do a manual dial outbound call work (inside the same campaign).

The phone ring, customer answer, 5 sec silence and then the line hangup. Twilio show me the call with a 5 secs duration.

Asterisk -vvvvr:

Code: Select all
[Oct 24 14:30:33]   == Manager 'sendcron' logged on from 127.0.0.1
[Oct 24 14:30:33]     -- Executing [H14383924995@default:1] AGI("Local/H14383924995@default-0000003c;2", "agi://127.0.0.1:4577/call_log") in new stack
[Oct 24 14:30:33]     -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=0001))
[Oct 24 14:30:33]     -- <Local/H14383924995@default-0000003c;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Oct 24 14:30:33]     -- Executing [H14383924995@default:2] Set("Local/H14383924995@default-0000003c;2", "CALLERID(num)=+12267734285") in new stack
[Oct 24 14:30:33]     -- Executing [H14383924995@default:3] Dial("Local/H14383924995@default-0000003c;2", "SIP/twilio/+14383924995,,tTor") in new stack
[Oct 24 14:30:33]   == Using SIP RTP CoS mark 5
[Oct 24 14:30:33]     -- Called SIP/twilio/+14383924995
[Oct 24 14:30:34]     -- SIP/twilio-0000003b is making progress passing it to Local/H14383924995@default-0000003c;2
[Oct 24 14:30:40]     -- SIP/twilio-0000003b answered Local/H14383924995@default-0000003c;2
[Oct 24 14:30:40]        > Channel Local/H14383924995@default-0000003c;1 was answered
[Oct 24 14:30:40]     -- Executing [8368@default:1] Playback("Local/H14383924995@default-0000003c;1", "sip-silence") in new stack
[Oct 24 14:30:40]     -- <Local/H14383924995@default-0000003c;1> Playing 'sip-silence.gsm' (language 'en')
[Oct 24 14:30:40]     -- Executing [8368@default:2] AGI("Local/H14383924995@default-0000003c;1", "agi://127.0.0.1:4577/call_log") in new stack
[Oct 24 14:30:41]     -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=0001))
[Oct 24 14:30:41]     -- <Local/H14383924995@default-0000003c;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[Oct 24 14:30:41]     -- Executing [8368@default:3] AGI("Local/H14383924995@default-0000003c;1", "agi-VDAD_ALL_outbound.agi,NORMAL-----LB") in new stack
[Oct 24 14:30:41]     -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[Oct 24 14:30:41]   == Manager 'sendcron' logged off from 127.0.0.1
[Oct 24 14:30:42]     -- <Local/H14383924995@default-0000003c;1>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
[Oct 24 14:30:42]     -- Executing [8368@default:4] AGI("Local/H14383924995@default-0000003c;1", "agi-VDAD_ALL_outbound.agi,NORMAL-----LB") in new stack
[Oct 24 14:30:42]     -- Launched AGI Script /usr/share/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[Oct 24 14:30:43]     -- <Local/H14383924995@default-0000003c;1>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
[Oct 24 14:30:43]     -- Executing [8368@default:5] Hangup("Local/H14383924995@default-0000003c;1", "") in new stack
[Oct 24 14:30:43]   == Spawn extension (default, 8368, 5) exited non-zero on 'Local/H14383924995@default-0000003c;1'
[Oct 24 14:30:43]     -- Executing [h@default:1] AGI("Local/H14383924995@default-0000003c;1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
[Oct 24 14:30:44]     -- <Local/H14383924995@default-0000003c;1>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
[Oct 24 14:30:44]     -- Executing [h@default:1] AGI("Local/H14383924995@default-0000003c;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----11-----4") in new stack
[Oct 24 14:30:45]     -- <Local/H14383924995@default-0000003c;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----11-----4 completed, returning 0
[Oct 24 14:30:45]   == Spawn extension (default, H14383924995, 3) exited non-zero on 'Local/H14383924995@default-0000003c;2'



I also have access to the pcap of those calls if it can help find a solution. Any idea where to start with this one ?
c20xh2
 
Posts: 95
Joined: Mon Feb 20, 2017 2:28 am

Re: Manual dial OK / Auto problem

Postby mflorell » Tue Oct 24, 2017 3:54 pm

agiout logfile output for that call?

What kind of phone number has an "H" at the beginning of it?
mflorell
Site Admin
 
Posts: 18386
Joined: Wed Jun 07, 2006 2:45 pm
Location: Florida

Re: Manual dial OK / Auto problem

Postby c20xh2 » Sun Oct 29, 2017 12:44 pm

H is a call prefixe in the list, the dialplan use it to setup the outbound CID. I prefer to use the LIST CID OVERRIDE but it's not working with that provider.

I'm sorry to ask but where can I find the agiout logfile ?
c20xh2
 
Posts: 95
Joined: Mon Feb 20, 2017 2:28 am

Re: Manual dial OK / Auto problem

Postby c20xh2 » Sun Oct 29, 2017 4:13 pm

Support from Twilio is telling me that asterisk is sending a BYE:

Code: Select all
X-Asterisk-HangupCause: Normal Clearing

Code: Select all
[Oct 29 13:37:39] -- Executing [8368@default:5] Hangup("Local/H18198433712@default-00000030;1", "") in new stack


Everything was woking last week and I didn't made any change on the network or asterisk box.
c20xh2
 
Posts: 95
Joined: Mon Feb 20, 2017 2:28 am


Return to Support

Who is online

Users browsing this forum: Bing [Bot] and 100 guests