[asterisk-users] stop the MOH since asterisk knows that channel is ringing

Khaled W. Chehab Kchehab at Xplorium.com
Tue May 5 09:02:43 CDT 2009


Hi 
I use dial with music on hold command 
exten => _X.,n,Dial(SIP/Trunk/${EXTEN}|300|m),I am facing a big problem 
if the called party line is closed or number is incorrect or have a voice
mail (Early media 183) user will not hear the message from operator
notifying that line is out of service , temporary unavailable .,
what to do to solve this problem
In other words how to stop MOH since asterisk detect 183 and even if i can
do that when the 183 comes from my soft switch which will allow user to hear
the Ring Back Tone
i found in the app_dial.c 
case AST_CONTROL_RINGING:

 

Thanks in advance

 

 



*********************************************
No employee or agent is authorized to conclude any binding agreement on behalf of Xplorium with another party by e-mail without express written confirmation by an officer of Xplorium. Any views expressed by an individual in this electronic message do not necessarily reflect views of Xplorium or its subsidiaries and associates.

This electronic message and its attachments are solely addressed to the addressee(s), and contain confidential information protected from disclosure belonging to Xplorium.

If you are not the intended addressee of this electronic message and its attachments, kindly delete it immediately from your system and notify the sender by electronic mail. You must not copy this message or attachment or disclose its content to any other person.

Xplorium does not guarantee the integrity of this electronic message and any of its attachments, or that they are free from computer viruses or other defects.
*********************************************

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


More information about the asterisk-users mailing list