[asterisk-users] Playing Sound during dial

Ishfaq Malik ish at pack-net.co.uk
Thu Nov 5 07:50:15 CST 2009


Found this option of Dial

m([class]) - Provide hold music to the calling party until a requested
           channel answers. A specific MusicOnHold class can be
           specified.

Think that is what you want...

Ish

Ron wrote:
> Hi Mickael,
>
> I think A() option will play record on the called party not on the 
> caller. I need something to play while the user is dialing so at least 
> user will hear something instead of long silence.
>
> Thanks
>
> Regards
> Ron
>
>
> mickael ropars wrote:
>   
>> Hi Ron,
>>
>> it's the option A(music_file)
>>
>> so in your dial command you need to write dial(zap/g1,,A(music_file))
>>
>> I never use this option so I don't know the folder the file need to be 
>> and if you put extension of the file in the command
>>
>> Regards
>>
>> Mickael
>>
>>
>>
>> 2009/11/5 Ron <nhadie at gmail.com <mailto:nhadie at gmail.com>>
>>
>>     Hi All,
>>
>>     How can i play a sound during dial while waiting for it to connect?
>>
>>     Coz currently i'm using SIP providers from other countries, when i send
>>     them the call there is a bit of delay to connect.
>>
>>     I would like my users to hear a music first then when the call connects
>>     the sound gets canceled out. coz some users think the phone does not
>>     work coz they just hear a long silence but they don't know that there's
>>     just a delay.
>>
>>     TIA
>>
>>     Regards
>>     Ron
>>
>>     _______________________________________________
>>     -- 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
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> -- 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
>>     
>
> _______________________________________________
> -- 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
>
>   

-- 
Ishfaq Malik
Software Developer
PackNet Ltd

Office:   0161 660 3062



More information about the asterisk-users mailing list