AGI not running on production server

Trying to get a AGI script (calling it from context: macro-dialout-trunk-predial-hook ) to run on my production server. Runs fine on my test server but when I run it in production ( same version of Freepbx / Asterisk I never see the RX<< coming back from the script using

$agi-> exec(‘Set’,“CALLERID(num)=$newcallerid”);

Here is what I see using asterisk -vvvvvvvvvvr. A

– some code removed –
<SIP/100-00000015>AGI Tx >> agi_extension: s
<SIP/100-00000015>AGI Tx >> agi_priority: 2
<SIP/100-00000015>AGI Tx >> agi_enhanced: 0.0
<SIP/100-00000015>AGI Tx >> agi_accountcode:
<SIP/100-00000015>AGI Tx >> agi_context: macro-dialout-trunk-predial-hook
<SIP/100-00000015>AGI Tx >>
– <SIP/100-00000015>AGI Script setclid.agi completed, returning 0
– Executing [s@macro-dialout-trunk:18] GotoIf(“SIP/100-00000015”, “0?bypass,1”) in new stack

Any assistance appreciated.