[asterisk-users] MOH

Danny Nicholas danny at debsinc.com
Wed Apr 15 08:09:12 CDT 2009


Try voip-info.org.  From a pseudo-code standpoint, here's how you would do
it:
1. start agi
2. agi creates fork for playing moh and dialing
3. when dialing reaches 180/183 status, moh fork is terminated


-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Khaled W.
Chehab
Sent: Tuesday, April 14, 2009 3:13 PM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] MOH

Any idead on how to begin with AGI 

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

Khaled W. Chehab wrote:
> Man :)
> I want the MOH play until Asterisk receives 180 ringing or 183 from the
> termination GW.
>   


I don't think you'll be able to mix and match via the dial application.  
You may have to try using AGI for this.  That, I can't help you with.

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



_______________________________________________
-- 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




More information about the asterisk-users mailing list