Page 1 of 1

about agi-VDADcloser_inboundCIDlookup.agi

PostPosted: Thu Sep 28, 2006 12:35 am
by jslyg
when i use agi-VDADcloser_inboundCID.agi ,the call can be received,and create record in vicidial_lists talbe,but just two column,"vendor_lead_code" and "security_phrase ";

the cli is below:
=======================================

-- Executing Answer("Zap/1-1", "") in new stack
-- Executing NoOp("Zap/1-1", "6210064") in new stack
-- Executing AGI("Zap/1-1", "agi-VDADcloser_inboundCID.agi|SALESLINE-----9000-----Closer-----park--------") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADcloser_inboundCID.agi
-- AGI Script agi-VDADcloser_inboundCID.agi completed, returning 0
-- Executing MeetMe("Zap/1-1", "8600051") in new stack


====================================
but i use "agi-VDADcloser_inboundCIDlookup.agi",when a call coming in,then hang up at once.
the cli is below:
=============================


-- Executing Ringing("Zap/1-1", "") in new stack
-- Executing Wait("Zap/1-1", "1") in new stack
-- Executing Answer("Zap/1-1", "") in new stack
-- Executing NoOp("Zap/1-1", "6210064") in new stack
-- Executing AGI("Zap/1-1", "agi-VDADcloser_inboundCIDlookup.agi|SALESLINE-----9000-----Closer-----park----------199-----1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADcloser_inboundCIDlo okup.agi
-- AGI Script agi-VDADcloser_inboundCIDlookup.agi completed, returning 0
-- Executing Hangup("Zap/1-1", "") in new stack
== Spawn extension (default, 8000, 6) exited non-zero on 'Zap/1-1'
-- Executing DeadAGI("Zap/1-1", "call_log.agi|h") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/call_log.agi
-- AGI Script call_log.agi completed, returning 0
-- Executing DeadAGI("Zap/1-1", "VD_hangup.agi|PRI-----NODEBUG-----16------- --------") in new stack


==============

pls help!thanks!!!!!

PostPosted: Thu Sep 28, 2006 6:23 am
by mflorell
I am not sure what you are asking.

It would help if you included AGIoutput from the script.

Asterisk version?
astguiclient version?
type of trunks?

PostPosted: Thu Sep 28, 2006 8:13 am
by jslyg
vicidial2.0.1b2
asterisk 1.2.11
zap trunk

the problem is ,
when i use agi-VDADcloser_inboundCID.agi,it will create a record in vicidial_list table,but just fill two columns with SALESLINE;no CID message in vicidial_list table.

but i use "agi-VDADcloser_inboundCIDlookup.agi",when a call coming into the meeting(vicidial),then hang up at once.



how to included AGIoutput from the script.????

PostPosted: Thu Sep 28, 2006 8:34 am
by jslyg
now sloved,little error

I get the same

PostPosted: Wed Nov 15, 2006 4:28 am
by aztekrw
Please let us know what the error was.

PostPosted: Wed Nov 15, 2006 6:33 am
by mflorell
Asterisk 1.2.11 has a serious bug in it, you should be using 1.2.12.1 or newer.

permissions on log files

PostPosted: Mon Nov 27, 2006 8:56 am
by aztekrw
I had to reset the permission on the log files to fix this prob.