Dears -How can I stop MOH when status of the dial is ringing and let the user hear the Ring Back Tone from the termination Gateway. Even I can see in the CLI debugging the status is ringing -my idea is to add music on hold stop when asterisk detect -- SIP/OPNS-096456c0 is ringing line In which script this line located? -- Executing [97130245612 at default:1] SetMusicOnHold("SIP/xx.xx.xx.xx-096ca8c0", "English") in new stack -- Executing [9713024561 at default:2] Dial("SIP/xx.xx.xx.xx-096ca8c0", "SIP/OPNS/9713024561|300|m") in new stack -- Called OPNS/9713024561 -- Started music on hold, class 'English', on SIP/xx.xx.xx.xx-096ca8c0 -- SIP/OPNS-096456c0 is ringing -More over when I used directrtpsetup=yes I heard the MOH and the ring back tone together . Regards ********************************************* 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. *********************************************
Khaled W. Chehab wrote:> Dears > > -How can I stop MOH when status of the dial is ringing and let the user hear > the Ring Back Tone from the termination Gateway. >Remove the 'm' out of your dial command: m([class]) - Provide hold music to the calling party until a requested channel answers. A specific MusicOnHold class can be specified. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
Man :) I want the MOH play until Asterisk receives 180 ringing or 183 from the termination GW. Here I want to stop the MOH and let the user hear the early media RBT Regards -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Doug Lytle Sent: Tuesday, April 14, 2009 9:59 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] MOH Khaled W. Chehab wrote:> Thanks for answering Doug > > > I am using exten => _X.,n,Dial(SIP/OPNS/${EXTEN}|300|m) with no macros >Change this to: _X.,n,Dial(SIP/OPNS/${EXTEN}|300) The m was causing the music on hold. Doug -- Ben Franklin quote: "Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety." _______________________________________________ -- 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 ********************************************* 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. *********************************************