Music on hold on auto-dual campaing
![Post Post](./styles/vicidial/imageset/icon_post_target.gif)
Hi everyone
First of all apologize for my english.
In auto-dial campaing, how can I put a music on hold when the customer wait for an agent? I have been looking for but can't find nothing about it.
I modify 'agi-VDADtransfer.agi' and 'agi-VDADtransferBROADCAST.agi' files to play a recording when no agents available.
if ($AGILOG) {$agi_string = "NNNNNNNNNN No agent record found!!!"; &agi_output;}
$AGI->stream_file('cga_hold1');
But seems that give me some troubles, so I removed it.
I have an old version 2.0.3
VERSION: 2.0.95 BUILD: 70402-1157
First of all apologize for my english.
In auto-dial campaing, how can I put a music on hold when the customer wait for an agent? I have been looking for but can't find nothing about it.
I modify 'agi-VDADtransfer.agi' and 'agi-VDADtransferBROADCAST.agi' files to play a recording when no agents available.
if ($AGILOG) {$agi_string = "NNNNNNNNNN No agent record found!!!"; &agi_output;}
$AGI->stream_file('cga_hold1');
But seems that give me some troubles, so I removed it.
I have an old version 2.0.3
VERSION: 2.0.95 BUILD: 70402-1157