Inbound Issues - agi-DID_route.agi
Posted: Mon Apr 29, 2019 11:24 am
Dears,
Info about my Install
VERSION: 2.9-441a
BUILD: 140612-1628
© 2014 ViciDial Group
I have been using ViciDial for years now. I have this strange issue,
Inbound calls do not seem to work. Anything that routes through the AGI seems to hangUp the call immediately. I am able to ring the extensions from dialplan directly (Dial SIP/EXTEN), but anything going over agi-DID_route.agi seems immediately hangup.
I am sure its not an Asterisk issue, rather to do something with the agi. Here is a trace,
Please help !
Info about my Install
VERSION: 2.9-441a
BUILD: 140612-1628
© 2014 ViciDial Group
I have been using ViciDial for years now. I have this strange issue,
Inbound calls do not seem to work. Anything that routes through the AGI seems to hangUp the call immediately. I am able to ring the extensions from dialplan directly (Dial SIP/EXTEN), but anything going over agi-DID_route.agi seems immediately hangup.
I am sure its not an Asterisk issue, rather to do something with the agi. Here is a trace,
Please help !
- Code: Select all
-- Executing [7053003@trunkinbound:1] AGI("SIP/10.10.10.10-00000064", "agi-DID_route.agi") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-DID_route.agi
<SIP/10.10.10.10-00000064>AGI Tx >> agi_request: agi-DID_route.agi
<SIP/10.10.10.10-00000064>AGI Tx >> agi_channel: SIP/10.10.10.10-00000064
<SIP/10.10.10.10-00000064>AGI Tx >> agi_language: en
<SIP/10.10.10.10-00000064>AGI Tx >> agi_type: SIP
<SIP/10.10.10.10-00000064>AGI Tx >> agi_uniqueid: 1556554916.125
<SIP/10.10.10.10-00000064>AGI Tx >> agi_version: 1.8.23.0-1_centos5.go RPM by demian@goautodial.com
<SIP/10.10.10.10-00000064>AGI Tx >> agi_callerid: 047053000
<SIP/10.10.10.10-00000064>AGI Tx >> agi_calleridname: unknown
<SIP/10.10.10.10-00000064>AGI Tx >> agi_callingpres: 0
<SIP/10.10.10.10-00000064>AGI Tx >> agi_callingani2: 0
<SIP/10.10.10.10-00000064>AGI Tx >> agi_callington: 0
<SIP/10.10.10.10-00000064>AGI Tx >> agi_callingtns: 0
<SIP/10.10.10.10-00000064>AGI Tx >> agi_dnid: 7053003
<SIP/10.10.10.10-00000064>AGI Tx >> agi_rdnis: unknown
<SIP/10.10.10.10-00000064>AGI Tx >> agi_context: trunkinbound
<SIP/10.10.10.10-00000064>AGI Tx >> agi_extension: 7053003
<SIP/10.10.10.10-00000064>AGI Tx >> agi_priority: 1
<SIP/10.10.10.10-00000064>AGI Tx >> agi_enhanced: 0.0
<SIP/10.10.10.10-00000064>AGI Tx >> agi_accountcode:
<SIP/10.10.10.10-00000064>AGI Tx >> agi_threadid: 47311749626176
<SIP/10.10.10.10-00000064>AGI Tx >>
-- <SIP/10.10.10.10-00000064>AGI Script agi-DID_route.agi completed, returning 0
-- Executing [7053003@trunkinbound:2] Hangup("SIP/10.10.10.10-00000064", "") in new stack
== Spawn extension (trunkinbound, 7053003, 2) exited non-zero on 'SIP/10.10.10.10-00000064'
-- Executing [h@trunkinbound:1] AGI("SIP/10.10.10.10-00000064", "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---------------
<SIP/10.10.10.10-00000064>AGI Tx >> agi_request: agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16---------------
<SIP/10.10.10.10-00000064>AGI Tx >> agi_channel: SIP/10.10.10.10-00000064
<SIP/10.10.10.10-00000064>AGI Tx >> agi_language: en
<SIP/10.10.10.10-00000064>AGI Tx >> agi_type: SIP
<SIP/10.10.10.10-00000064>AGI Tx >> agi_uniqueid: 1556554916.125
<SIP/10.10.10.10-00000064>AGI Tx >> agi_version: 1.8.23.0-1_centos5.go RPM by demian@goautodial.com
<SIP/10.10.10.10-00000064>AGI Tx >> agi_callerid: 047053000
<SIP/10.10.10.10-00000064>AGI Tx >> agi_calleridname: unknown
<SIP/10.10.10.10-00000064>AGI Tx >> agi_callingpres: 0
<SIP/10.10.10.10-00000064>AGI Tx >> agi_callingani2: 0
<SIP/10.10.10.10-00000064>AGI Tx >> agi_callington: 0
<SIP/10.10.10.10-00000064>AGI Tx >> agi_callingtns: 0
<SIP/10.10.10.10-00000064>AGI Tx >> agi_dnid: 7053003
<SIP/10.10.10.10-00000064>AGI Tx >> agi_rdnis: unknown
<SIP/10.10.10.10-00000064>AGI Tx >> agi_context: trunkinbound
<SIP/10.10.10.10-00000064>AGI Tx >> agi_extension: h
<SIP/10.10.10.10-00000064>AGI Tx >> agi_priority: 1
<SIP/10.10.10.10-00000064>AGI Tx >> agi_enhanced: 0.0
<SIP/10.10.10.10-00000064>AGI Tx >> agi_accountcode:
<SIP/10.10.10.10-00000064>AGI Tx >> agi_threadid: 47311749626176
<SIP/10.10.10.10-00000064>AGI Tx >>
-- <SIP/10.10.10.10-00000064>AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16--------------- completed, returning 0
<SIP/10.10.10.10-00000064>AGI Tx >> HANGUP