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

2009-05-05 Thread Steve Howes
On 5 May 2009, at 15:02, Khaled W. Chehab wrote:

> 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:
>
You posted this question

6th april
14th april
Twice today

You have just made my killfile, it can't just be me you are annoying.

Steve
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2009-05-05 Thread Khaled W. Chehab
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.
*

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users