I've been going over the code in FastAGI_log.pl, and it seems to me that when the script is looking for a record of the call in the auto_calls table, the record does not exist (anymore?), and therefore the script skips the whole part that will put the alternate number in the hopper.
I'm posting output from FASTagiout, please let me know if I need to post any other output.
Tanks.
- Code: Select all
2007-11-16 10:25:19|TEST_VDfastAGI|begin|+++++++++++++++++ FastAGI Start ++++++++++++++++++++++++++++++++++++++++
2007-11-16 10:25:19|TEST_VDfastAGI|begin|Perl Environment Dump:
2007-11-16 10:25:19|TEST_VDfastAGI|begin|0|--debug
2007-11-16 10:25:19|TEST_VDfastAGI|begin|URL HVcauses: |PRI|NODEBUG|16|||)|
2007-11-16 10:25:19|TEST_VDfastAGI|begin|AGI Environment Dump:
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- accountcode =
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- callerid = unknown
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- calleridname = S0711160824068600051
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- callingani2 = 0
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- callingpres = 0
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- callingtns = 0
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- callington = 0
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- channel = SIP/22198-0823dc00
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- context = default
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- dnid = unknown
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- enhanced = 0.0
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- extension = h
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- language = en
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- network = yes
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- network_script = VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- priority = 2
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- rdnis = unknown
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- request = agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- type = SIP
2007-11-16 10:25:19|TEST_VDfastAGI|begin| -- uniqueid = 1195230246.161
2007-11-16 10:25:19|TEST_VDfastAGI|begin|AGI Variables: |1195230246.161|SIP/22198-0823dc00|h|SIP|S0711160824068600051|
2007-11-16 10:25:19|TEST_VDfastAGI|VD_hangup|Process to run: |agi://127.0.0.1:4577/VD_hangup--HVcauses--PRI-----NODEBUG-----16---------------)|VD_hangup|END|
2007-11-16 10:25:19|TEST_VDfastAGI|VD_hangup|DEBUG: NODEBUG
2007-11-16 10:25:19|TEST_VDfastAGI|VD_hangup|VD_hangup : S0711160824068600051 SIP/22198-0823dc00 2 68600051
2007-11-16 10:25:19|TEST_VDfastAGI|VD_hangup||SELECT lead_id,callerid,campaign_id,alt_dial,stage,UNIX_TIMESTAMP(call_time) FROM vicidial_auto_calls where uniqueid = '119
5230246.161' limit 1;|
2007-11-16 10:25:19|TEST_VDfastAGI|VD_hangup|VD hangup: no VDAC record found: 1195230246.161 S0711160824068600051