[asterisk-users] Asterisk 1.6 and Music on Hold

Sherwood McGowan sherwood.mcgowan at gmail.com
Wed Nov 24 05:07:03 CST 2010


On Wed, Nov 24, 2010 at 4:30 AM, Olivier CALVANO <o.calvano at gmail.com> wrote:
> Hi
>
> i have a small problems on Asterisk 1.6 with the MusiconOld :
>
> musiconhold.conf:
>
> [Sound_1]
> mode=quietmp3
> directory=/var/lib/asterisk/moh/Sound_1
>
> in extensions.conf:
>
> exten => 0532xx,1,Answer
> exten => 0532xx,2,MusicOnHold(Sound_1)
> exten => 0532xx,3,Dial(SIP/ACCOUNT001,180,t)
> exten => 0532xx,4,Hangup
>
>
>
>
> When i call to the number, i have the Music "Sound_1" but the SIP Phone
> don't ring ...
>
> Where is my error ?
>
>
> and second question, can i said at asterisk that when he receive the call,
> he play the music from first second ? and repeat at the end of the music.
>
> Thanks for your help
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>

First, if you don't use the Music on hold command prior to the dial,
do you hear ringing? It seems to me that what's going on here is that
you're overriding the progress notification that results from the
device responding to the invite with "TRYING" or "RINGING" by running
MOH. If the ringing doesn't occur even when you remove the MOH
command, your device is probably not signaling properly and you'll
need to use the "r" option in your Dial command.

Cheers



More information about the asterisk-users mailing list