Re: [asterisk-users] how to play music when dial fail or time out

2011-05-11 Thread John Wu
Thanks Matt the problem is solved. On Wed, May 11, 2011 at 11:24 AM, Matt Riddell wrote: > On 11/05/11 3:11 PM, John Wu wrote: > >> Hi Enrico >> thanks I do what u said but meet this problem: >> [May 11 11:08:49] WARNING[4545]: file.c:650 ast_openstream_full: File >> fail.wav does not exist in an

Re: [asterisk-users] how to play music when dial fail or time out

2011-05-10 Thread John Wu
Thanks Matt, can I transform the format in dial plan? On Wed, May 11, 2011 at 11:24 AM, Matt Riddell wrote: > On 11/05/11 3:11 PM, John Wu wrote: > >> Hi Enrico >> thanks I do what u said but meet this problem: >> [May 11 11:08:49] WARNING[4545]: file.c:650 ast_openstream_full: File >> fail.wav d

Re: [asterisk-users] how to play music when dial fail or time out

2011-05-10 Thread Matt Riddell
On 11/05/11 3:11 PM, John Wu wrote: Hi Enrico thanks I do what u said but meet this problem: [May 11 11:08:49] WARNING[4545]: file.c:650 ast_openstream_full: File fail.wav does not exist in any format [May 11 11:08:49] WARNING[4545]: file.c:953 ast_streamfile: Unable to open fail.wav (format 0x2

Re: [asterisk-users] how to play music when dial fail or time out

2011-05-10 Thread John Wu
quot;ANSWER"]?10) > Exten => _X., 4, MusicOnHold() > Exten => _X., 10, Hangup > > > - Original Message - > *From:* John Wu > *To:* Asterisk Users Mailing List - Non-Commercial > Discussion > *Sent:* Monday, May 09, 2011 10:41 > *Subject:* [asterisk

Re: [asterisk-users] how to play music when dial fail or time out

2011-05-10 Thread John Wu
Hi Enrico thanks I do what u said but meet this problem: [May 11 11:08:49] WARNING[4545]: file.c:650 ast_openstream_full: File fail.wav does not exist in any format [May 11 11:08:49] WARNING[4545]: file.c:953 ast_streamfile: Unable to open fail.wav (format 0x2 (gsm)): No such file or directory [May

Re: [asterisk-users] how to play music when dial fail or time out

2011-05-09 Thread Enrico Cicconi
Hi, have you tried to manage all with dialplane ? just an example: [incoming] **exten => s,1,Dial (SIP/your_called_party,20) exten => s,n, Playback(music_message) . In the first step the call is redirect to the configured called party and if without answer (busy, not logged, not answered

Re: [asterisk-users] how to play music when dial fail or time out

2011-05-09 Thread Dovid Bender
From: John Wu To: Asterisk Users Mailing List - Non-Commercial Discussion Sent: Monday, May 09, 2011 10:41 Subject: [asterisk-users] how to play music when dial fail or time out Hi all, I need to support this feature. When caller dial if the dial fail or no answer from the called

[asterisk-users] how to play music when dial fail or time out

2011-05-09 Thread John Wu
Hi all, I need to support this feature. When caller dial if the dial fail or no answer from the called number then play a music. So how to achieve that? Thanks! -- _ -- Bandwidth and Colocation Provided by http://www.api-digital.c