hi
Its my box that Op3r is working on. I noticed this agi debug differences from a working box and from my problem box.
WORKING BOX:
==========================================
-- AGI Script AGI(
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Set("Local/916194251269@default-ec0c,2", "CALLERID(name)=") in new stack
-- Executing Dial("Local/916194251269@default-ec0c,2", "sip/16194251269@sipprovider|55|o") in new stack
-- Called 16194251269@sipprovider
-- SIP/sipprovider-089bd1f0 is ringing
-- SIP/sipprovider-089bd1f0 is making progress passing it to Local/916194251269@default-ec0c,2
-- SIP/sipprovider-089bd1f0 answered Local/916194251269@default-ec0c,2
> Channel Local/916194251269@default-ec0c,1 was answered.
== Manager 'sendcron' logged off from 127.0.0.1
-- Executing AGI("Local/916194251269@default-ec0c,1", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network_script: call_log
AGI Tx >> agi_request:
agi://127.0.0.1:4577/call_log
AGI Tx >> agi_channel: Local/916194251269@default-ec0c,1
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1175312461.91080
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: V0330224101000064916
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: 8365
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AGI("Local/916194251269@default-ec0c,1", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
AGI Tx >> agi_request: agi-VDADtransfer.agi
AGI Tx >> agi_channel: Local/916194251269@default-ec0c,1
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1175312461.91080
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: V0330224101000064916
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: 8365
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >> LI>
== Spawn extension (default, 916194251269, 3) exited non-zero on 'Local/916194251269@default-ec0c,2'
-- Executing DeadAGI("Local/916194251269@default-ec0c,2", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network_script: call_log
AGI Tx >> agi_request:
agi://127.0.0.1:4577/call_log
AGI Tx >> agi_channel: Local/916194251269@default-ec0c,2
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1175312461.91081
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >> LI>
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/916194251269@default-ec0c,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----9-----0)") in new stack
AGI Tx >> agi_network_script: VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----9-----0)
AGI Tx >> agi_request:
agi://127.0.0.1:4577/VD_hangup--HVcause ... ---9-----0)
AGI Tx >> agi_channel: Local/916194251269@default-ec0c,2
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1175312461.91081
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script
agi://127.0.0.1:4577/VD_hangup--HVcause ... ---9-----0) completed, returning 0
AGI Rx << SET CALLERID V0330224101000064916
AGI Tx >> 200 result=1
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing AGI("SIP/sipprovider-089bd1f0", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
AGI Tx >> agi_request: agi-VDADtransfer.agi
AGI Tx >> agi_channel: SIP/sipprovider-089bd1f0
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1175312461.91080
AGI Tx >> agi_callerid: unknown
AGI Tx >> agi_calleridname: V0330224101000064916
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: 8365
AGI Tx >> agi_priority: 3
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >> LI>
AGI Rx << SET CALLERID V0330224101000064916
AGI Tx >> 200 result=1
AGI Rx << CHANNEL STATUS SIP/sipprovider-089bd1f0
AGI Tx >> 200 result=6
AGI Rx << SET CONTEXT default
AGI Tx >> 200 result=0
AGI Rx << SET EXTENSION 8600052
AGI Tx >> 200 result=0
AGI Rx << SET PRIORITY 1
AGI Tx >> 200 result=0
== Manager 'sendcron' logged off from 127.0.0.1
-- AGI Script agi-VDADtransfer.agi completed, returning 0
-- Executing MeetMe("SIP/sipprovider-089bd1f0", "8600052") in new stack
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Spawn extension (default, 8600052, 1) exited non-zero on 'SIP/sipprovider-089bd1f0'
-- Executing DeadAGI("SIP/sipprovider-089bd1f0", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network_script: call_log
AGI Tx >> agi_request:
agi://127.0.0.1:4577/call_log
AGI Tx >> agi_channel: SIP/sipprovider-089bd1f0
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1175312461.91080
AGI Tx >> agi_callerid: unknown
AGI Tx >> agi_calleridname: V0330224101000064916
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("SIP/sipprovider-089bd1f0", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
AGI Tx >> agi_network_script: VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)
AGI Tx >> agi_request:
agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------)
AGI Tx >> agi_channel: SIP/sipprovider-089bd1f0
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1175312461.91080
AGI Tx >> agi_callerid: unknown
AGI Tx >> agi_calleridname: V0330224101000064916
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script
agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
== Manager 'sendcron' logged off from 127.0.0.1
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
NON WORKING BOX:
==============================================
-- AGI Script AGI(
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing Set("Local/912068986955@default-b23d,2", "CALLERID(name)=") in new stack
-- Executing Dial("Local/912068986955@default-b23d,2", "sip/12068986955@sipprovider|55|o") in new stack
-- Called 12068986955@sipprovider
-- SIP/sipprovider-08867a58 is ringing
-- SIP/sipprovider-08867a58 is making progress passing it to Local/912068986955@default-b23d,2
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 125.252.68.105
== Manager 'sendcron' logged off from 125.252.68.105
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 125.252.68.105
== Manager 'sendcron' logged off from 125.252.68.105
-- SIP/sipprovider-08867a58 answered Local/912068986955@default-b23d,2
> Channel Local/912068986955@default-b23d,1 was answered.
== Manager 'sendcron' logged off from 125.252.68.105
-- Executing AGI("Local/912068986955@default-b23d,1", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network_script: call_log
AGI Tx >> agi_request:
agi://127.0.0.1:4577/call_log
AGI Tx >> agi_channel: Local/912068986955@default-b23d,1
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1175316835.12
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: V0331125354000000460
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: 8365
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
== Spawn extension (default, 912068986955, 3) exited non-zero on 'Local/912068986955@default-b23d,2'
-- Executing DeadAGI("Local/912068986955@default-b23d,2", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network_script: call_log
AGI Tx >> agi_request:
agi://127.0.0.1:4577/call_log
AGI Tx >> agi_channel: Local/912068986955@default-b23d,2
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1175316835.13
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing AGI("SIP/sipprovider-08867a58", "agi-VDADtransfer.agi|8365") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADtransfer.agi
AGI Tx >> agi_request: agi-VDADtransfer.agi
AGI Tx >> agi_channel: SIP/sipprovider-08867a58
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1175316835.12
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: 8365
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/912068986955@default-b23d,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----18-----0)") in new stack
AGI Tx >> agi_network_script: VD_hangup--HVcauses--PRI-----NODEBUG-----16-----ANSWER-----18-----0)
AGI Tx >> agi_request:
agi://127.0.0.1:4577/VD_hangup--HVcause ... --18-----0)
AGI Tx >> agi_channel: Local/912068986955@default-b23d,2
AGI Tx >> agi_language: en
AGI Tx >> agi_type: Local
AGI Tx >> agi_uniqueid: 1175316835.13
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
-- AGI Script
agi://127.0.0.1:4577/VD_hangup--HVcause ... --18-----0) completed, returning 0
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
AGI Rx << CHANNEL STATUS SIP/sipprovider-08867a58
AGI Tx >> 200 result=6
== Spawn extension (default, 8365, 2) exited non-zero on 'SIP/sipprovider-08867a58'
-- Executing DeadAGI("SIP/sipprovider-08867a58", "agi://127.0.0.1:4577/call_log") in new stack
AGI Tx >> agi_network_script: call_log
AGI Tx >> agi_request:
agi://127.0.0.1:4577/call_log
AGI Tx >> agi_channel: SIP/sipprovider-08867a58
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1175316835.12
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("SIP/sipprovider-08867a58", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)") in new stack
AGI Tx >> agi_network_script: VD_hangup--HVcauses--PRI-----NODEBUG-----0---------------)
AGI Tx >> agi_request:
agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------)
AGI Tx >> agi_channel: SIP/sipprovider-08867a58
AGI Tx >> agi_language: en
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1175316835.12
AGI Tx >> agi_callerid: 6467231815
AGI Tx >> agi_calleridname: unknown
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: unknown
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: default
AGI Tx >> agi_extension: h
AGI Tx >> agi_priority: 2
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >>
-- AGI Script
agi://127.0.0.1:4577/VD_hangup--HVcause ... ----------) completed, returning 0
ip-125-252-68-105*CLI>
The difference is that on the working box the firs call log agi finishes early:
AGI Script
agi://127.0.0.1:4577/call_log completed, returning 0
and then executes the following:
Executing AGI("Local/916194251269@default-ec0c,1", "agi-VDADtransfer.agi|8365") in new stack
and then spawns this extension:
Spawn extension (default, 916194251269, 3) exited non-zero on 'Local/916194251269@default-ec0c,2'
While on the non working box:
it spawns this extension:
Spawn extension (default, 912068986955, 3) exited non-zero on 'Local/912068986955@default-b23d,2'
then executes the DeadAGI command:
-- Executing DeadAGI("Local/912068986955@default-b23d,2", "agi://127.0.0.1:4577/call_log") in new stack
Is that normal?
I hope this helps...