autodialling via PRI not landing to agents

All installation and configuration problems and questions

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

autodialling via PRI not landing to agents

Postby raloheni » Tue May 03, 2016 6:47 am

my spec
Single server | scratch install ray-solomon guide | PRI line -allo card | Dahdi 2.8 | vicidial - VERSION: 2.12-552a BUILD: 160429-0835

while dialling via PRI line the call got answered but not landing to agents, on agent screen i can see call in queue and then it got dropped
below is the cli log
Executing [9876543212@default:1] AGI("Local/9876543212@default-00000001;2", "agi://127.0.0.1:4577/call_log") in new stack
[May 3 13:29:13] -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=BARCLAYS))
[May 3 13:29:13] -- <Local/9876543212@default-00000001;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[May 3 13:29:13] -- Executing [9876543212@default:2] Dial("Local/904476215689@default-00000001;2", "DAHDI/g13/876543212,,Tto") in new stack
[May 3 13:29:13] -- Requested transfer capability: 0x00 - SPEECH
[May 3 13:29:13] -- Called DAHDI/g13/876543212
[May 3 13:29:15] -- DAHDI/i3/876543212-35 is proceeding passing it to Local/9876543212@default-00000001;2
[May 3 13:29:15] -- DAHDI/i3/876543212-35 is making progress passing it to Local/9876543212@default-00000001;2
[May 3 13:29:19] -- DAHDI/i3/876543212-35 is ringing
[May 3 13:29:23] -- DAHDI/i3/876543212-35 answered Local/9876543212@default-00000001;2
[May 3 13:29:23] > Channel Local/9876543212@default-00000001;1 was answered.
[May 3 13:29:23] -- Executing [8368@default:1] Playback("Local/9876543212@default-00000001;1", "sip-silence") in new stack
[May 3 13:29:23] -- <Local/9876543212@default-00000001;1> Playing 'sip-silence.gsm' (language 'en')
[May 3 13:29:23] -- Executing [h@default:1] AGI("Local/9XXXXXXXXX@default-00000001;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----10-----0") in new stack
[May 3 13:29:23] -- Executing [8368@default:2] AGI("DAHDI/i3/876543212-35", "agi://127.0.0.1:4577/call_log") in new stack
[May 3 13:29:23] -- <DAHDI/i3/876543212-35>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
[May 3 13:29:23] -- Executing [8368@default:3] AGI("DAHDI/i3/876543212-35", "agi-VDAD_ALL_outbound.agi,NORMAL-----LB") in new stack
[May 3 13:29:23] -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
[May 3 13:29:24] == Manager 'sendcron' logged off from 127.0.0.1
[May 3 13:29:24] -- <Local/9876543212@default-00000001;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses ... --10-----0 completed, returning 0
[May 3 13:29:24] == Spawn extension (default, 9876543212, 2) exited non-zero on 'Local/9876543212@default-00000001;2'
[May 3 13:29:33] -- <DAHDI/i3/876543212-35>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 4
[May 3 13:29:33] == Spawn extension (default, 8368, 3) exited non-zero on 'DAHDI/i3/876543212-35'
[May 3 13:29:33] -- Executing [h@default:1] AGI("DAHDI/i3/876543212-35", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack



I have noticed latest vicidial with PRI line ie: digium or sangoma or allo card having same issue

but if i use vicidial 2.4 version ,it works perfect.

kindly let know to get it resolved
raloheni
 
Posts: 138
Joined: Sun Apr 25, 2010 4:23 pm

Re: autodialling via PRI not landing to agents

Postby raloheni » Mon Jun 20, 2016 5:32 am

after agi debug i am able to find the issue but not the exact issue and solution.
below is my agi debug results,
what i noticed, if the agi_channel value is agi_channel: DAHDI/i1/9XXXXX1234-d then its working fine.
if the agi_channel value is Local/90119XXXXX1234@default-0000000c;1 call gets dropped with error message
"[Jun 18 08:05:24] NOTICE[8505]: manager.c:3405 action_hangup: Request to hangup non-existent channel: DAHDI/i1/9XXXXX1234-d"


i also notice if the below dialplan executed in agi then call is sucessfull.
Executing [h@default:1] AGI("Local/90119XXXXX1234@default-0000000d;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----8-----0") in new stack


Unsucessfull Log
Code: Select all
Executing [90119XXXXX1234@default:1] AGI("Local/90119XXXXX1234@default-0000000c;2", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network: yes
AGI Tx >> agi_network_script: call_log
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_channel: Local/90119XXXXX1234@default-0000000c;2
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_language: en
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_type: Local
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_uniqueid: 1466217303.39
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_version: 11.18.0-vici
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_callerid: 0000000000
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_calleridname: V6180805030000417617
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_callingpres: 0
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_callingani2: 0
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_callington: 0
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_callingtns: 0
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_dnid: unknown
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_rdnis: unknown
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_context: default
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_extension: 90119XXXXX1234
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_priority: 1
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_enhanced: 0.0
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_accountcode:
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_threadid: 140173794572032
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >>
<Local/90119XXXXX1234@default-0000000c;2>AGI Rx << EXEC EXEC Set(_CAMPCUST=AIRTEL) ""
    -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=AIRTEL))
   <Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> 200 result=0
    -- <Local/90119XXXXX1234@default-0000000c;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> HANGUP
    -- Executing [90119XXXXX1234@default:2] Dial("Local/90119XXXXX1234@default-0000000c;2", "DAHDI/G1/9XXXXX1234,,Tto") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called DAHDI/G1/9XXXXX1234
    -- DAHDI/i1/9XXXXX1234-d is proceeding passing it to Local/90119XXXXX1234@default-0000000c;2
    -- DAHDI/i1/9XXXXX1234-d is ringing
    -- DAHDI/i1/9XXXXX1234-d is making progress passing it to Local/90119XXXXX1234@default-0000000c;2
  == Manager 'sendcron' logged on from 127.0.0.1
  == Manager 'sendcron' logged off from 127.0.0.1
    -- DAHDI/i1/9XXXXX1234-d answered Local/90119XXXXX1234@default-0000000c;2
       > Channel Local/90119XXXXX1234@default-0000000c;1 was answered
    -- Executing [8368@default:1] AGI("Local/90119XXXXX1234@default-0000000c;1", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network: yes
AGI Tx >> agi_network_script: call_log
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_channel: Local/90119XXXXX1234@default-0000000c;1
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_language: en
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_type: Local
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_uniqueid: 1466217303.38
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_version: 11.18.0-vici
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_callerid: 9XXXXX1234
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_calleridname: unknown
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_callingpres: 3
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_callingani2: 0
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_callington: 65
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_callingtns: 0
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_dnid: unknown
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_rdnis: unknown
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_context: default
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_extension: 8368
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_priority: 1
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_enhanced: 0.0
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_accountcode:
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_threadid: 140173793048320
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >>
    -- <Local/90119XXXXX1234@default-0000000c;1>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> HANGUP
    -- Executing [8368@default:2] AGI("Local/90119XXXXX1234@default-0000000c;1", "agi-VDAD_ALL_outbound.agi,NORMAL-----SO") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_request: agi-VDAD_ALL_outbound.agi
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_channel: Local/90119XXXXX1234@default-0000000c;1
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_language: en
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_type: Local
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_uniqueid: 1466217303.38
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_version: 11.18.0-vici
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_callerid: 9XXXXX1234
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_calleridname: unknown
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_callingpres: 3
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_callingani2: 0
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_callington: 65
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_callingtns: 0
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_dnid: unknown
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_rdnis: unknown
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_context: default
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_extension: 8368
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_priority: 2
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_enhanced: 0.0
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_accountcode:
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_threadid: 140173793048320
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >> agi_arg_1: NORMAL-----SO
<Local/90119XXXXX1234@default-0000000c;1>AGI Tx >>
    -- Executing [h@default:1] AGI("Local/90119XXXXX1234@default-0000000c;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----11-----0") in new stack
AGI Tx >> agi_network: yes
AGI Tx >> agi_network_script: call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----11-----0
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----11-----0
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_channel: Local/90119XXXXX1234@default-0000000c;2
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_language: en
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_type: Local
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_uniqueid: 1466217303.39
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_version: 11.18.0-vici
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_callerid: 0000000000
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_calleridname: V6180805030000417617
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_callingpres: 0
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_callingani2: 0
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_callington: 0
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_callingtns: 0
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_dnid: unknown
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_rdnis: unknown
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_context: default
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_extension: h
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_priority: 1
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_enhanced: 0.0
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_accountcode:
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> agi_threadid: 140173794572032
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >>
    -- <DAHDI/i1/9XXXXX1234-d>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
    -- Executing [8368@default:3] AGI("DAHDI/i1/9XXXXX1234-d", "agi-VDAD_ALL_outbound.agi,NORMAL-----SO") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_request: agi-VDAD_ALL_outbound.agi
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_channel: DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_language: en
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_type: DAHDI
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_uniqueid: 1466217303.38
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_version: 11.18.0-vici
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_callerid: 9XXXXX1234
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_calleridname: unknown
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_callingpres: 3
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_callingani2: 0
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_callington: 65
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_callingtns: 0
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_dnid: unknown
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_rdnis: unknown
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_context: default
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_extension: 8368
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_priority: 3
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_enhanced: 0.0
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_accountcode:
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_threadid: 140173793048320
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_arg_1: NORMAL-----SO
<DAHDI/i1/9XXXXX1234-d>AGI Tx >>
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
  == Manager 'sendcron' logged off from 127.0.0.1
    -- <Local/90119XXXXX1234@default-0000000c;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----11-----0 completed, returning 0
<Local/90119XXXXX1234@default-0000000c;2>AGI Tx >> HANGUP
  == Spawn extension (default, 90119XXXXX1234, 2) exited non-zero on 'Local/90119XXXXX1234@default-0000000c;2'
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-d>AGI Rx << HANGUP
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> 200 result=1
    -- <DAHDI/i1/9XXXXX1234-d>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 4
  == Spawn extension (default, 8368, 3) exited non-zero on 'DAHDI/i1/9XXXXX1234-d'
    -- Executing [h@default:1] AGI("DAHDI/i1/9XXXXX1234-d", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------") in new stack
AGI Tx >> agi_network: yes
AGI Tx >> agi_network_script: call_log--HVcauses--PRI-----NODEBUG-----0---------------
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0---------------
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_channel: DAHDI/i1/9XXXXX1234-d
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_language: en
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_type: DAHDI
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_uniqueid: 1466217303.38
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_version: 11.18.0-vici
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_callerid: 9XXXXX1234
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_calleridname: unknown
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_callingpres: 3
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_callingani2: 0
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_callington: 65
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_callingtns: 0
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_dnid: unknown
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_rdnis: unknown
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_context: default
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_extension: h
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_priority: 1
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_enhanced: 0.0
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_accountcode:
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> agi_threadid: 140173793048320
<DAHDI/i1/9XXXXX1234-d>AGI Tx >>
    -- <DAHDI/i1/9XXXXX1234-d>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----0--------------- completed, returning 0
<DAHDI/i1/9XXXXX1234-d>AGI Tx >> HANGUP
    -- Hungup 'DAHDI/i1/9XXXXX1234-d'
    == Manager 'sendcron' logged on from 127.0.0.1
[Jun 18 08:05:24] NOTICE[8505]: manager.c:3405 action_hangup: Request to hangup non-existent channel: DAHDI/i1/9XXXXX1234-d
  == Manager 'sendcron' logged off from 127.0.0.1


Successful Log
Code: Select all
Executing [90119XXXXX1234@default:1] AGI("Local/90119XXXXX1234@default-0000000d;2", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network: yes
AGI Tx >> agi_network_script: call_log
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_channel: Local/90119XXXXX1234@default-0000000d;2
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_language: en
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_type: Local
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_uniqueid: 1466217542.42
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_version: 11.18.0-vici
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_callerid: 0000000000
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_calleridname: V6180809020000417617
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_callingpres: 0
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_callingani2: 0
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_callington: 0
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_callingtns: 0
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_dnid: unknown
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_rdnis: unknown
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_context: default
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_extension: 90119XXXXX1234
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_priority: 1
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_enhanced: 0.0
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_accountcode:
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_threadid: 140173794572032
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >>
<Local/90119XXXXX1234@default-0000000d;2>AGI Rx << EXEC EXEC Set(_CAMPCUST=AIRTEL) ""
    -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=AIRTEL))
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> 200 result=0
    -- <Local/90119XXXXX1234@default-0000000d;2>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> HANGUP
    -- Executing [90119XXXXX1234@default:2] Dial("Local/90119XXXXX1234@default-0000000d;2", "DAHDI/G1/9XXXXX1234,,Tto") in new stack
    -- Requested transfer capability: 0x00 - SPEECH
    -- Called DAHDI/G1/9XXXXX1234
    -- DAHDI/i1/9XXXXX1234-e is proceeding passing it to Local/90119XXXXX1234@default-0000000d;2
    -- DAHDI/i1/9XXXXX1234-e is making progress passing it to Local/90119XXXXX1234@default-0000000d;2
    -- DAHDI/i1/9XXXXX1234-e is ringing
  == Manager 'sendcron' logged on from 127.0.0.1
  == Manager 'sendcron' logged off from 127.0.0.1
    -- DAHDI/i1/9XXXXX1234-e answered Local/90119XXXXX1234@default-0000000d;2
       > Channel Local/90119XXXXX1234@default-0000000d;1 was answered
  [b] -- Executing [h@default:1] AGI("Local/90119XXXXX1234@default-0000000d;2", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----8-----0") in new stack[/b]
    -- Executing [8368@default:1] AGI("DAHDI/i1/9XXXXX1234-e", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network: yes
AGI Tx >> agi_network_script: call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----8-----0
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----8-----0
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_channel: Local/90119XXXXX1234@default-0000000d;2
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_language: en
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_type: Local
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_uniqueid: 1466217542.42
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_version: 11.18.0-vici
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_callerid: 0000000000
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_calleridname: V6180809020000417617
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_callingpres: 0
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_network: yes
AGI Tx >> agi_network_script: call_log
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_channel: DAHDI/i1/9XXXXX1234-e
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_callington: 0
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_callingtns: 0
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_dnid: unknown
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_rdnis: unknown
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_context: default
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_extension: h
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_priority: 1
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_enhanced: 0.0
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_accountcode:
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> agi_threadid: 140173794572032
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >>
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_language: en
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_type: DAHDI
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_uniqueid: 1466217542.41
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_version: 11.18.0-vici
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_callerid: 0000000000
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_calleridname: V6180809020000417617
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_callingpres: 0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_callingani2: 0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_callington: 0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_callingtns: 0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_dnid: unknown
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_rdnis: unknown
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_context: default
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_extension: 8368
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_priority: 1
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_enhanced: 0.0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_accountcode:
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_threadid: 140173794064128
<DAHDI/i1/9XXXXX1234-e>AGI Tx >>
<DAHDI/i1/9XXXXX1234-e>AGI Rx << EXEC EXEC Set(_CAMPCUST=AIRTEL) ""
    -- AGI Script Executing Application: (EXEC) Options: (Set(_CAMPCUST=AIRTEL))
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> 200 result=0
    -- <DAHDI/i1/9XXXXX1234-e>AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> HANGUP
    -- Executing [8368@default:2] AGI("DAHDI/i1/9XXXXX1234-e", "agi-VDAD_ALL_outbound.agi,NORMAL-----SO") in new stack
    -- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDAD_ALL_outbound.agi
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_request: agi-VDAD_ALL_outbound.agi
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_channel: DAHDI/i1/9XXXXX1234-e
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_language: en
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_type: DAHDI
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_uniqueid: 1466217542.41
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_version: 11.18.0-vici
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_callerid: 0000000000
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_calleridname: V6180809020000417617
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_callingpres: 0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_callingani2: 0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_callington: 0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_callingtns: 0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_dnid: unknown
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_rdnis: unknown
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_context: default
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_extension: 8368
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_priority: 2
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_enhanced: 0.0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_accountcode:
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_threadid: 140173794064128
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_arg_1: NORMAL-----SO
<DAHDI/i1/9XXXXX1234-e>AGI Tx >>
<DAHDI/i1/9XXXXX1234-e>AGI Rx << SET CALLERID V6180809020000417617
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> 200 result=1
<DAHDI/i1/9XXXXX1234-e>AGI Rx << CHANNEL STATUS DAHDI/i1/9XXXXX1234-e
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> 200 result=6
<DAHDI/i1/9XXXXX1234-e>AGI Rx << SET CALLERID "V6180809020000417617 <>"
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> 200 result=1
<DAHDI/i1/9XXXXX1234-e>AGI Rx << SET CONTEXT default
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> 200 result=0
<DAHDI/i1/9XXXXX1234-e>AGI Rx << SET EXTENSION 8600051
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> 200 result=0
<DAHDI/i1/9XXXXX1234-e>AGI Rx << SET PRIORITY 1
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> 200 result=0
    -- <DAHDI/i1/9XXXXX1234-e>AGI Script agi-VDAD_ALL_outbound.agi completed, returning 0
    -- Executing [8600051@default:1] MeetMe("DAHDI/i1/9XXXXX1234-e", "8600051,F") in new stack
  == Manager 'sendcron' logged off from 127.0.0.1
    -- <Local/90119XXXXX1234@default-0000000d;2>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----8-----0 completed, returning 0
<Local/90119XXXXX1234@default-0000000d;2>AGI Tx >> HANGUP
  == Spawn extension (default, 90119XXXXX1234, 2) exited non-zero on 'Local/90119XXXXX1234@default-0000000d;2'
  == Manager 'sendcron' logged on from 127.0.0.1
    -- Executing [58600051@default:1] MeetMe("Local/58600051@default-0000000e;2", "8600051,Fmq") in new stack
       > Channel Local/58600051@default-0000000e;1 was answered
    -- Executing [8309@default:1] Answer("Local/58600051@default-0000000e;1", "") in new stack
    -- Executing [8309@default:2] Monitor("Local/58600051@default-0000000e;1", "wav,20160618-080911_9XXXXX1234") in new stack
    -- Executing [8309@default:3] Wait("Local/58600051@default-0000000e;1", "3600") in new stack
  == Manager 'sendcron' logged off from 127.0.0.1
    -- Span 1: Channel 0/31 got hangup request, cause 16
  == Spawn extension (default, 8600051, 1) exited non-zero on 'DAHDI/i1/9XXXXX1234-e'
    -- Executing [h@default:1] AGI("DAHDI/i1/9XXXXX1234-e", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------") in new stack
AGI Tx >> agi_network: yes
AGI Tx >> agi_network_script: call_log--HVcauses--PRI-----NODEBUG-----16---------------
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_channel: DAHDI/i1/9XXXXX1234-e
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_language: en
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_type: DAHDI
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_uniqueid: 1466217542.41
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_version: 11.18.0-vici
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_callerid: unknown
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_calleridname: V6180809020000417617
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_callingpres: 0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_callingani2: 0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_callington: 0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_callingtns: 0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_dnid: unknown
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_rdnis: unknown
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_context: default
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_extension: h
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_priority: 1
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_enhanced: 0.0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_accountcode:
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> agi_threadid: 140173794064128
<DAHDI/i1/9XXXXX1234-e>AGI Tx >>
    -- <DAHDI/i1/9XXXXX1234-e>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
<DAHDI/i1/9XXXXX1234-e>AGI Tx >> HANGUP
    -- Hungup 'DAHDI/i1/9XXXXX1234-e'
raloheni
 
Posts: 138
Joined: Sun Apr 25, 2010 4:23 pm

Re: autodialling via PRI not landing to agents

Postby njujihara » Wed Jul 20, 2016 11:05 am

i have the same problem..
Ing Telefonia.
www.serbanc.cl
www.voxcore.cl
njujihara
 
Posts: 31
Joined: Fri Mar 25, 2016 5:02 am
Location: Chile

Re: autodialling via PRI not landing to agents

Postby njujihara » Mon Aug 08, 2016 1:50 pm

i solved the issue, the context in chan_dahdi.conf set trunkinbound and the call deployd to agent, i hope this tip hellp you.
Ing Telefonia.
www.serbanc.cl
www.voxcore.cl
njujihara
 
Posts: 31
Joined: Fri Mar 25, 2016 5:02 am
Location: Chile


Return to Support

Who is online

Users browsing this forum: No registered users and 153 guests