Page 1 of 1

Music on hold on auto-dual campaing

PostPosted: Tue Jul 21, 2009 9:29 am
by mephir
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

PostPosted: Tue Jul 21, 2009 10:11 am
by mflorell
This is not an option for outbound campaigns. If you did add this it could very well crash your machine if you dial at a high rate.

PostPosted: Tue Jul 21, 2009 10:31 am
by mephir
Ok, Thanks Mat for the advise

PostPosted: Mon Aug 10, 2009 10:26 am
by mephir
there is a way to put something like a beep to the customer keep in line?

If change the line to
$AGI->stream_file('beep');

And the file was of 1 sec o less, works?

PostPosted: Mon Aug 10, 2009 9:54 pm
by mflorell
That could work, although again it depends on your scale of dialing. It could slow things down a lot.