[asterisk-users] MOH

Khaled W. Chehab Kchehab at Xplorium.com
Tue Apr 14 13:28:29 CDT 2009


Thanks for answering Doug


I am using exten => _X.,n,Dial(SIP/OPNS/${EXTEN}|300|m) with no macros
kindly can you wrote down a macro to stop the MOH RTP in  order to let the
GW inband early media rtp heard by the caller


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 8:57 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] MOH

Khaled W. Chehab wrote:
> Dear Ben, 
>
> I tried a lot ,Kindly can you give me an example on how to do that using a
> macro.
>   
> Remove the 'm' out of your dial command:
>
> Doug
>
>   

I'm not Ben, but I'll answer.

Shows us what your macro looks like and we'll chime in with some pointers.

Doug


-- 
 
Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety."


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.
*********************************************





More information about the asterisk-users mailing list