[asterisk-users] Musiconhold instead ringing

wassim darwish wissam-darwich at hotmail.com
Sat Sep 8 08:35:38 CDT 2007


----------------------------------------> From: kwem at gmx.de> To: asterisk-users at lists.digium.com> Date: Sat, 8 Sep 2007 14:48:18 +0200> Subject: Re: [asterisk-users] Musiconhold instead ringing>> Hi,>> Am Samstag, den 08.09.2007, 09:44 +0000 schrieb wassim darwish:>> ----------------------------------------> From: amessina at messinet.com>>> To: asterisk-users at lists.digium.com> Date: Fri, 7 Sep 2007 19:10:04>> -0500> Subject: Re: [asterisk-users] Musiconhold instead ringing>> On>> Friday 07 September 2007 07:02:01 pm wassim darwish wrote:>> Hi:>>>> When i get an incoming call, i want asterisk to make the caller hear>>>> music"musiconhold" instead of ringing,Can any body help me with>> this?>> my guess is you'd have to Answer() the call first, then play>> moh while> Dial()'ing the exten.>> --> Anthony - http://messinet.com ->> http://messinet.com/~amessina/gallery> 8F89 5E72 8DF0 BCF0 10BE 9967>> 92DC 35DC B001 4A4E>>>> Hi:>> Can you represent it in extensions Dialplan ?>> Untested, but something like this should work>> exten => _X.,1,Answer> extem => _X.,2,Dial(SIP/${EXTEN}|50|m(musiconhold-class)>> You have to fix this to match Your existing dialplan (Extensions,> SIP-Accounts...).>> It won't work without the answer-statement.>> HTH,> Karsten>>>> _______________________________________________>> Sign up now for AstriCon 2007! September 25-28th. http://www.astricon.net/>> --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

Hi:
Thank you all for your suggestions,it worked well using Karsten suggestion.

Thanks again,
Wassim

_________________________________________________________________
Call friends with PC-to-PC calling -- FREE
http://get.live.com/messenger/overview



More information about the asterisk-users mailing list