by mtancoff » Tue Sep 05, 2006 3:33 pm
Ok thanx for the tip.
When i use inboundCID get this:
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi|Perl Environment Dump:
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi|0|CL_ENTRANTES-----7275555134-----Closer-----park----------999-----1
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- accountcode =
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- callerid = 3125551212
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- calleridname = 3125551212
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- callingani2 = 0
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- callingpres = 0
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- callingtns = 0
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- callington = 0
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- channel = Zap/1-1
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- context = default
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- dnid = unknown
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- enhanced = 0.0
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- extension = s
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- language = en
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- priority = 5
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- rdnis = unknown
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- request = agi-VDADcloser_inboundCID.agi
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- type = Zap
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi| -- uniqueid = 1157488080.2
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi|AGI Variables: |1157488080.2|Zap/1-1|s|Zap|3125551212|
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi|+++++ INBOUND CALL VDCL STARTED : |CL_ENTRANTES|3125551212-7275555134|2006-09-05 16:28:05
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi||select LAST_INSERT_ID() LIMIT 1;|36|
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi|callerID changed: Y0905162805000000036
2006-09-05 16:28:05|agi-VDADcloser_inboundCID.agi||INSERT INTO vicidial_auto_calls values('','127.0.0.1','CL_ENTRANTES','LIVE','36','1157488080.2','Y0905162805000000036','Zap/1-1','1','3125551212','2006-09-05 16:28:05','IN')|
When use inboundCIDlookup I get:
Executing AGI("Zap/1-1", "agi-VDADcloser_inboundCIDlookup.agi|CL_ENTRANTES-----7275555134-----Closer-----park----------999-----1") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/agi-VDADcloser_inboundCIDlookup.agi
2006-09-05 16:29:58|agi-VDADcloser_inboundCIDlookup.agi|Perl Environment Dump:
2006-09-05 16:29:58|agi-VDADcloser_inboundCIDlookup.agi|0|CL_ENTRANTES-----7275555134-----Closer-----park----------999-----1
2006-09-05 16:29:58|agi-VDADcloser_inboundCIDlookup.agi|AGI Variables: ||||||
2006-09-05 16:29:58|agi-VDADcloser_inboundCIDlookup.agi|+++++ INBOUND CALL VDCL STARTED : |CL_ENTRANTES|-7275555134|2006-09-05 16:29:58
2006-09-05 16:29:58|agi-VDADcloser_inboundCIDlookup.agi||select LAST_INSERT_ID() LIMIT 1;|37|
2006-09-05 16:29:58|agi-VDADcloser_inboundCIDlookup.agi|callerID changed: Y0905162958000000037
2006-09-05 16:29:58|agi-VDADcloser_inboundCIDlookup.agi||INSERT INTO vicidial_auto_calls values('','127.0.0.1','CL_ENTRANTES','LIVE','37','','Y0905162958000000037','','1','','2006-09-05 16:29:58','IN')|