So I got everything working properly, but something has changed. The variables never get set for the callerid and callername anymore.
I get this in my logs now when a call runs the checkdir.php.
/fop2/checkdir.php?poptype=connect&clidnum=undefined&clidname=undefined&exten=275&fromqueue=Sales&UNIQUEID=1332695254.28713
[trix asterisk]# grep 1332695254.28713 queue_log 1332695277|1332695254.28713|1010|NONE|ENTERQUEUE||"SalesNOT FOUND" <1235551212>
The event_log for the above example (with the phone number changed)
Is there anything I should be looking for or a setting somewhere that would cause it to be "undefined"
We use your call-stats, and all the callerID and callerNumbers are there perfectly fine.
Our checkdir.php is your example pretty much for the variables.
function custom_popup($ALLVAR) { $clidnum = $ALLVAR['clidnum']; $clidname = $ALLVAR['clidname']; $fromqueue = $ALLVAR['fromqueue']; $exten = $ALLVAR['exten'];