[asterisk-users] Music On Hold

Danny Nicholas danny at debsinc.com
Fri Jan 30 09:23:33 CST 2009


The dialplan AFAIK doesn't cover HOLD handling.  If you can spare the
overhead, you can make a daemon to watch hints and run a script whenever the
hint for a line goes to hold and changes from hold to inuse.  Just run
"asterisk -rx "core show hints"" and "asterisk -rx "core show channels"" and
integrate the 2 outputs.  For your purpose, you can probably just use the
first command.

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Idris AVCI
Sent: Friday, January 30, 2009 8:58 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: [asterisk-users] Music On Hold

 

Hi,

 

I am using asterisk version 1.4.22.1 on a centos 5.2 machine.

Is there any way to run a script somebody puts the call on/off hold ? The
script must be run both on hold and off hold.

 

Best ragards.

 

Idris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090130/e21bfdce/attachment.htm 


More information about the asterisk-users mailing list