Page 1 of 1

inbound(closer) campaign

PostPosted: Wed Nov 07, 2007 2:27 am
by s0lid
Hi,

how can i change the music on hold in inbound and how can i change the voice saying "your call is very important to us please stay on the line blah blah..."

PostPosted: Wed Nov 07, 2007 4:12 am
by rajeevpn
If you want to change it across all campaigns, you just need to replace the corresponding sound file in /var/lib/asterisk/sounds
"Your call is important to us" is generic_hold.gsm. You can record your custom wav file in any sound recording software of your choice and convert to gsm by using sox as described in http://www.voip-info.org/wiki/view/Asterisk+sound+files or you may use the extension 8168 if you have it configured in extensions.conf. 8168 will invoke agi-record_prompts.agi and your file will be saved in the format 851XXXXX. You will have to rename that to generic_hold.gsm.

If you want different campaigns to have different recordings, a quick way to do that is to simply copy the inbound script (say agi-VDADcloser_inboundCID.agi) to camp1.agi; camp2.agi; edit the script and replace generic_hold (line 508 in my version) with the the filename of your choice.

Music on hold is park.gsm - (this is when the agent places the customer on hold using PARK CUSTOMER) SCRATCH_INSTALL describes how this works. In short, you can record your own gsm, create and new extension and configure the campaign to use that.

PostPosted: Wed Nov 07, 2007 1:32 pm
by mflorell
For the upcoming 2.0.4 release this will be configurable in the admin web interface.

PostPosted: Thu Nov 08, 2007 2:38 am
by s0lid
rajeevpn wrote:If you want to change it across all campaigns, you just need to replace the corresponding sound file in /var/lib/asterisk/sounds
"Your call is important to us" is generic_hold.gsm. You can record your custom wav file in any sound recording software of your choice and convert to gsm by using sox as described in http://www.voip-info.org/wiki/view/Asterisk+sound+files or you may use the extension 8168 if you have it configured in extensions.conf. 8168 will invoke agi-record_prompts.agi and your file will be saved in the format 851XXXXX. You will have to rename that to generic_hold.gsm.

If you want different campaigns to have different recordings, a quick way to do that is to simply copy the inbound script (say agi-VDADcloser_inboundCID.agi) to camp1.agi; camp2.agi; edit the script and replace generic_hold (line 508 in my version) with the the filename of your choice.

Music on hold is park.gsm - (this is when the agent places the customer on hold using PARK CUSTOMER) SCRATCH_INSTALL describes how this works. In short, you can record your own gsm, create and new extension and configure the campaign to use that.



i can't hear any MoH in my inbound campaign only the hold_tone and generic_hold once in a while, how can i change this in the AGI?

thanks!

PostPosted: Thu Nov 08, 2007 2:40 am
by s0lid
another question about inbound. how can i change the waiting time of a customer in queue? like is there a way after 3 minutes a customer is waiting in queue they have an option to press anything to stay in queue or go to a voicemail?

thanks!

PostPosted: Thu Nov 08, 2007 2:46 am
by s0lid
s0lid wrote:
rajeevpn wrote:If you want to change it across all campaigns, you just need to replace the corresponding sound file in /var/lib/asterisk/sounds
"Your call is important to us" is generic_hold.gsm. You can record your custom wav file in any sound recording software of your choice and convert to gsm by using sox as described in http://www.voip-info.org/wiki/view/Asterisk+sound+files or you may use the extension 8168 if you have it configured in extensions.conf. 8168 will invoke agi-record_prompts.agi and your file will be saved in the format 851XXXXX. You will have to rename that to generic_hold.gsm.

If you want different campaigns to have different recordings, a quick way to do that is to simply copy the inbound script (say agi-VDADcloser_inboundCID.agi) to camp1.agi; camp2.agi; edit the script and replace generic_hold (line 508 in my version) with the the filename of your choice.

Music on hold is park.gsm - (this is when the agent places the customer on hold using PARK CUSTOMER) SCRATCH_INSTALL describes how this works. In short, you can record your own gsm, create and new extension and configure the campaign to use that.



i can't hear any MoH in my inbound campaign only the hold_tone and generic_hold once in a while, how can i change this in the AGI?

thanks!


weird thing i try to change the hold_tone form this:


if ($hold_tone_counter > 3)
{
$AGI->stream_file('hold_tone');
$hold_tone_counter = 0;
}
else {$hold_tone_counter++;}


to this:

if ($hold_tone_counter > 3)
{
$AGI->stream_file('park');
$hold_tone_counter = 0;
}
else {$hold_tone_counter++;}


so i can play the park.gsm file but still i can hear the hold_tone so definitely im doing it wrong :(. anyone can help?


thanks!

PostPosted: Thu Nov 08, 2007 12:55 pm
by mflorell
An option to allow customers to select whether they want to stay in the queue will likely happen after 2.0.4 is released

PostPosted: Thu Nov 08, 2007 1:01 pm
by rajeevpn
We just finished testing that in our inbound setup. Will be glad to contribute. Matt - should I use the SVN or Mantis?

thanks

PostPosted: Thu Nov 08, 2007 1:07 pm
by mflorell
Please use the codebase from SVN, keep in mind that all of the VDAD_inbound and closer scripts will be depricated in favor of a single new AGI script: agi-VDAD_ALL_inbound.pl

There are a whole lot of changes to the in-group call handling so it may take some work to adapt your new feature.

When you have a working patch finished, please post it to Mantis.

PostPosted: Sat Nov 10, 2007 9:39 am
by s0lid
rajeevpn wrote:We just finished testing that in our inbound setup. Will be glad to contribute. Matt - should I use the SVN or Mantis?

thanks


hi can you post the codes? :D

thanks!

PostPosted: Mon Nov 12, 2007 2:10 pm
by rajeevpn
Uploaded to Mantis
http://www.eflo.net/VICIDIALmantis/view.php?id=147

Feedback most welcome!

thanks
rajeev

PostPosted: Mon Nov 12, 2007 10:10 pm
by ramindia
Hi Rajeev


Good Work

ram

PostPosted: Wed Nov 14, 2007 10:22 pm
by s0lid
thanks for the code mate! :D