Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N
mflorell wrote:what do you have for the exten => h entries in your extensions.conf file?
; FastAGI for VICIDIAL/astGUIclient call logging
exten => h,1,DeadAGI(agi://127.0.0.1:4577/call_log)
exten => h,2,DeadAGI(agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME}))
; Standard AGI for VICIDIAL/astGUIclient call logging
;exten => h,1,DeadAGI(call_log.agi,${EXTEN}) ; DeadAGI is new
;exten => h,2,DeadAGI(VD_hangup.agi,PRI-----NODEBUG-----${HANGUPCAUSE}-----${DIALSTATUS}-----${DIALEDTIME}-----${ANSWEREDTIME})
mflorell wrote:Could you post some Asterisk CLI output when a call is being placed and hangs up?
== Parsing '/etc/asterisk/manager.conf': Found
== Manager 'sendcron' logged on from 127.0.0.1
-- Executing Dial("Local/017275551213@default-1dbe,2", "IAX2/asterisk02/17275551213") in new stack
-- Called asterisk02/17275551213
-- Call accepted by 64.61.93.87 (format ulaw)
-- Format for call is ulaw
-- IAX2/asterisk02-16385 is ringing
-- Hungup 'IAX2/asterisk02-16385'
== Spawn extension (default, 017275551213, 1) exited non-zero on 'Local/017275551213@default-1dbe,2'
-- Executing DeadAGI("Local/017275551213@default-1dbe,2", "agi://127.0.0.1:4577/call_log") in new stack
== Manager 'sendcron' logged off from 127.0.0.1
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing DeadAGI("Local/017275551213@default-1dbe,2", "agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)") in new stack
-- AGI Script agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------) completed, returning 0
mflorell wrote:There isn't another call because something is not deleting the vicidial_auto_calls record like it should be so the dialer script is forcably deleting the record after a 2 minute timeout.
Could you post agiout log file (/var/log/astguiclient/agiout...)output when the call is placed and hungup?
2007-01-24 12:16:49|TEST_VDfastAGI|begin|+++++++++++++++++ FastAGI Start ++++++++++++++++++++++++++++++++++++++++
2007-01-24 12:16:49|TEST_VDfastAGI|begin|Perl Environment Dump:
2007-01-24 12:16:49|TEST_VDfastAGI|begin|0|--debug
2007-01-24 12:16:49|TEST_VDfastAGI|begin|AGI Environment Dump:
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- accountcode =
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callerid = 1800240110
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- calleridname = V0124121634000000076
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callingani2 = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callingpres = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callingtns = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callington = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- channel = Local/017275551213@default-6ac2,2
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- context = default
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- dnid = unknown
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- enhanced = 0.0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- extension = h
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- language = en
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- network = yes
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- network_script = call_log
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- priority = 1
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- rdnis = unknown
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- request = agi://127.0.0.1:4577/call_log
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- type = Local
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- uniqueid = 1169655394.15
2007-01-24 12:16:49|TEST_VDfastAGI|begin|AGI Variables: |1169655394.15|Local/017275551213@default-6ac2,2|h|Local|V0124121634000000076|
2007-01-24 12:16:49|TEST_VDfastAGI|call_log|Process to run: |agi://127.0.0.1:4577/call_log|call_log|END|
2007-01-24 12:16:49|TEST_VDfastAGI|call_log||CALL HUNG UP|
2007-01-24 12:16:49|TEST_VDfastAGI|call_log||DELETE from live_inbound where uniqueid='1169655394.15' and server_ip='64.61.93.87'|
2007-01-24 12:16:49|TEST_VDfastAGI|call_log|+++++ CALL LOG HUNGUP: |1169655394.15|Local/017275551213@default-6ac2,2|h|2007-01-24 12:16:49|min: |
2007-01-24 12:16:49|TEST_VDfastAGI|begin|+++++++++++++++++ FastAGI Start ++++++++++++++++++++++++++++++++++++++++
2007-01-24 12:16:49|TEST_VDfastAGI|begin|Perl Environment Dump:
2007-01-24 12:16:49|TEST_VDfastAGI|begin|0|--debug
2007-01-24 12:16:49|TEST_VDfastAGI|begin|URL HVcauses: |PRI|NODEBUG|0|CANCEL||)|
2007-01-24 12:16:49|TEST_VDfastAGI|begin|AGI Environment Dump:
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- accountcode =
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callerid = 1800240110
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- calleridname = V0124121634000000076
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callingani2 = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callingpres = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callingtns = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- callington = 0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- channel = Local/017275551213@default-6ac2,2
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- context = default
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- dnid = unknown
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- enhanced = 0.0
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- extension = h
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- language = en
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- network = yes
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- network_script = VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- priority = 2
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- rdnis = unknown
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- request = agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- type = Local
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- uniqueid = 1169655394.15
2007-01-24 12:16:49|TEST_VDfastAGI|begin|AGI Variables: |1169655394.15|Local/017275551213@default-6ac2,2|h|Local|V0124121634000000076|
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|Process to run: |agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)|VD_hangup|END|
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|DEBUG: NODEBUG
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|VD_hangup : V0124121634000000076 Local/017275551213@default-6ac2,2 2 76
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|-- VD_hangup Local DEBUG: |PRI|V0124121634000000076|CANCEL|0|
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|+++++ VDAD START LOCAL CHANNEL: EXITING- 2
mflorell wrote:Can you post the VDhangup portion for that call?
To turn on AGI output you need to enable it in the servers settings in admin.php
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- network_script = VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- priority = 2
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- rdnis = unknown
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- request = agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- type = Local
2007-01-24 12:16:49|TEST_VDfastAGI|begin| -- uniqueid = 1169655394.15
2007-01-24 12:16:49|TEST_VDfastAGI|begin|AGI Variables: |1169655394.15|Local/017275551213@default-6ac2,2|h|Local|V0124121634000000076|
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|Process to run: |agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----0-----CANCEL----------)|VD_hangup|END|
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|DEBUG: NODEBUG
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|VD_hangup : V0124121634000000076 Local/017275551213@default-6ac2,2 2 76
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|-- VD_hangup Local DEBUG: |PRI|V0124121634000000076|CANCEL|0|
2007-01-24 12:16:49|TEST_VDfastAGI|VD_hangup|+++++ VDAD START LOCAL CHANNEL: EXITING- 2
mflorell wrote:Do you have call_log entries that are in the 8365 extension?
; VICIDIAL_auto_dialer transfer script:
exten => 8365,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => 8365,1,AGI(call_log.agi,${EXTEN})
exten => 8365,2,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,3,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,4,AGI(agi-VDADtransfer.agi,${EXTEN})
exten => 8365,5,Hangup
exten => _01NXXXXXXXXX,1,Dial(IAX2/asterisk02/${EXTEN:1})
exten => _01NXXXXXXXXX,2,Hangup
exten => _01NXXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
;exten => _01NXXXXXXXXX,1,AGI(call_log.agi,${EXTEN})
exten => _01NXXXXXXXXX,2,Dial(IAX2/asterisk02/${EXTEN:1},,tTo)
exten => _01NXXXXXXXXX,3,Hangup
Users browsing this forum: No registered users and 53 guests