Page 1 of 1

Vicidial inbound call falls into invalid extension

PostPosted: Wed Dec 31, 2008 1:21 am
by benson856
Hi all,

I have setup an inbound group and point an external number to take inbound calls but don't know why, inbound calls will always be answered by asterisk with "invalid" extension message and hangup. It will be very much grateful if anyone can help.

My system setup are:
Vicidial Version: 2.0.4-122 Build: 81011-0855
Asterisk: 1.2.30
OS: CentOS 5.2
Trunk interface: Digium TDM411P (1 FXS on channel 1, 1 FXO on channel 4)

Zapata configuration:
signalling=fxo_ks
context=default
channel => 1

signalling=fxs_ks
context=default
callerid=asreceived
group=1
channel => 4

campaign ID: TEST_IN
campaign name: Closer and inbound campaign
active: Y
allow closers: Y
hopper level: 5
dial method: RATIO
auto dial level: 1
next agent call: oldest call finish
local call time: 24hours

Here is extension setting:
exten => 23640000,1,Ringing
exten => 23640000,2,Wait(1)
exten => 23640000,3,Answer
exten => 23640000,4,AGI(agi-VDAD_ALL_inbound.agi,CIDLOOKUP-----LB-----SALESLINE-----23640000-----Closer-----park----------999-----886-----TESTCAMP)
exten => 23640000,5,Hangup

And here is the CLI> output:
-- Starting simple switch on 'Zap/4-1'
Dec 30 18:21:52 NOTICE[5384]: chan_zap.c:6248 ss_thread: Got event 18 (Ring Begin)...
Dec 30 18:21:54 NOTICE[5384]: chan_zap.c:6248 ss_thread: Got event 2 (Ring/Answered)...
Dec 30 18:21:55 NOTICE[5384]: chan_zap.c:6248 ss_thread: Got event 18 (Ring Begin)...
== Starting Zap/4-1 at default,s,1 failed so falling back to exten 's'
== Starting Zap/4-1 at default,s,1 still failed so falling back to context 'default'
-- Sent into invalid extension 's' in context 'default' on Zap/4-1
-- Executing Playback("Zap/4-1", "invalid") in new stack
-- Playing 'invalid' (language 'en')
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Timeout on Zap/4-1
== CDR updated on Zap/4-1
-- Executing Goto("Zap/4-1", "#|1") in new stack
-- Goto (default,#,1)
-- Executing Playback("Zap/4-1", "invalid") in new stack
-- Playing 'invalid' (language 'en')
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing Hangup("Zap/4-1", "") in new stack
== Spawn extension (default, #, 2) exited non-zero on 'Zap/4-1'
-- Executing DeadAGI("Zap/4-1", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... ---------- completed, returning 0
-- Hungup 'Zap/4-1'

Screen -ls:
3135.ASTsend (Detached)
3144.ASTVDremote (Detached)
3141.ASTauto (Detached)
3150.ASTfastlog (Detached)
2993.asterisk (Detached)
3138.ASTlisten (Detached)
3132.ASTupdate (Detached)
3147.ASTadapt (Detached)

The strange is if I replace "23640000" with "s" in the dialplan, then agent have no problem taking inbound calls but no caller ID will show up nor does the caller info in agent's web client GUI.

PostPosted: Wed Dec 31, 2008 12:44 pm
by mflorell
We do not recommend using POTS lines with VICIDIAL, or Asterisk for that matter. With VICIDIAL they cause all sorts of strange issues. It is better to get a SIP/IAX account for lower numbers of lines.