Hi,
Am Samstag, den 08.09.2007, 09:44 +0000 schrieb wassim darwish:
> ----------------------------------------> From: [EMAIL PROTECTED]>
> To: [email protected]> 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