[HELP] AGI gets stuck when streaming files
Posted: Tue Nov 14, 2006 10:06 am
Hello All!
This is the weirdest thing. I've successfully installed Vicidial on a server. Yesterday I tried the SAME installation and i have this strange problem. For INBOUND campaings when executing agi-VDADcloser_inboundCIDlookup.agi I get in AGIOUT file:
And the call just rings and rings forever.
However if I comment the
in line 267 of agi-VDADcloser_inboundCIDlookup.agi
I get as far as:
However the call just keeps ringing and ringing and it is never transfered.
Im thinking about reinstalling the whole operating system, but I want to know if you have ANY ideas why this could be. The very same setup works wonderful on the first server.
Thank you
Alejandro
This is the weirdest thing. I've successfully installed Vicidial on a server. Yesterday I tried the SAME installation and i have this strange problem. For INBOUND campaings when executing agi-VDADcloser_inboundCIDlookup.agi I get in AGIOUT file:
- Code: Select all
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi|Perl Environment Dump:
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi|0|SALESLINE-----23292702-----Closer---------------999-----1
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- accountcode =
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- callerid = 7724292900
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- calleridname = 24292900
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- callingani2 = 0
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- callingpres = 3
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- callingtns = 0
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- callington = 33
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- channel = Zap/1-1
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- context = default
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- dnid = 23292702
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- enhanced = 0.0
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- extension = 23292702
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- language = en
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- priority = 5
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- rdnis = unknown
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- request = agi-VDADcloser_inboundCIDlookup.agi
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- type = Zap
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi| -- uniqueid = 1163516380.50
2006-11-14 8:59:41|agi-VDADcloser_inboundCIDlookup.agi|AGI Variables: |1163516380.50|Zap/1-1|23292702|Zap|7724292900|
And the call just rings and rings forever.
However if I comment the
- Code: Select all
$AGI->stream_file('beep');
in line 267 of agi-VDADcloser_inboundCIDlookup.agi
I get as far as:
- Code: Select all
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi|Perl Environment Dump:
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi|0|SALESLINE-----23292702-----Closer---------------999-----1
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- accountcode =
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- callerid = 7724292900
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- calleridname = 24292900
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- callingani2 = 0
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- callingpres = 3
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- callingtns = 0
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- callington = 33
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- channel = Zap/1-1
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- context = default
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- dnid = 23292702
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- enhanced = 0.0
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- extension = 23292702
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- language = en
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- priority = 5
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- rdnis = unknown
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- request = agi-VDADcloser_inboundCIDlookup.agi
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- type = Zap
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi| -- uniqueid = 1163516593.51
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi|AGI Variables: |1163516593.51|Zap/1-1|23292702|Zap|7724292900|
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi|+++++ INBOUND CALL VDCL STARTED : |SALESLINE|7724292900-23292702|2006-11-14 9:03:14
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi||select LAST_INSERT_ID() LIMIT 1;|2|
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi|callerID changed: Y111490314000000002
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi||INSERT INTO vicidial_auto_calls values('','10.27.1.217','SALESLINE','LIVE','2','1163516593.51','Y111490314000000002','Zap/1-1','1','7724292900','2006-11-14 9:03:14','IN')|
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi||INSERT INTO vicidial_closer_log (lead_id,campaign_id,call_date,start_epoch,status,phone_code,phone_number,user,processed) values('2','SALESLINE','2006-11-14 9:03:14','1163516594','QUEUE','1','7724292900','VDCL','N')|
2006-11-14 9:03:14|agi-VDADcloser_inboundCIDlookup.agi|-- VDCL : |2|insert to vicidial_closer_log
However the call just keeps ringing and ringing and it is never transfered.
Im thinking about reinstalling the whole operating system, but I want to know if you have ANY ideas why this could be. The very same setup works wonderful on the first server.
Thank you
Alejandro