Re: [asterisk-users] Playback while dialing out
Well as far as I know asterisk you can't play anything while channel is in dialing state but music-on-hold. A solution to your problem is realtime music-on-hold. Following are possible steps, 1-Configure your asterisk for realtime music-on-hold (http://www.voip-info.org/wiki/view/Asterisk+config+musiconhold.conf) so it will get all mog class info from DB in realtime. 2-Before dialing a call create a moh class in db by hitting a query and associate your target voice.mp3 files with that class. 3-Dial the call and associate that moh class using parameter. Regards, Faisal Hanif -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jim Boykin Sent: Saturday, August 20, 2011 10:06 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] Playback while dialing out I am not sure you even read my mail, no music on hold option - it should work dynamically with any file. On Fri, Aug 19, 2011 at 6:18 PM, bakko asannu...@gmail.com wrote: Hi, you can configure a new music on hold, example: nano /etc/asterisk/musiconhold.conf [default1] mode=files directory=moh1 and put the audio file in this directory; then change your dialplan like: exten = 500,1,NoOp exten = 500,2,Dial(SIP/14085551234@myprovider,m(default1)) exten = 503,3,Hangup Regards -- _ -- 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 -- _ -- 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 -- _ -- 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
Re: [asterisk-users] Playback while dialing out
A(x) does not accomplish this. It completes the playback and then dials. What I would like is that dialing should start in parallel and playback should stop as soon as early media or ringing starts. Similarly, music-on-hold is not an option, it's too hard coded, I like to be able to change playback file dynamically. Any hints?? On Fri, Aug 19, 2011 at 7:14 AM, Eric Wieling ewiel...@nyigc.com wrote: Take a look at the A(x) and m options to dial. In the Asterisk CLI core show application dial for a the docs to Dial(). -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jim Boykin Sent: Thursday, August 18, 2011 9:12 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Playback while dialing out Hi, please help me with dialplan below. My current dialplan looks like this, it plays a file and then connects the caller to my phone by dialing out. As you can see, it waits for file to be played completely before dialing out. What I would really like is that it should play the file (preferably repetitively) and simultaneously dial out the number, playback should stop as soon as dial answers or early media detected. exten = 500,1,Answer exten = 500,2,Playback(wait-while-we-connect-you) exten = 500,3,Dial(SIP/14085551234@myprovider) How do I make it work? -- _ -- 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 -- _ -- 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
Re: [asterisk-users] Playback while dialing out
Hi, you can configure a new music on hold, example: nano /etc/asterisk/musiconhold.conf [default1] mode=files directory=moh1 and put the audio file in this directory; then change your dialplan like: exten = 500,1,NoOp exten = 500,2,Dial(SIP/14085551234@myprovider,m(default1)) exten = 503,3,Hangup Regards -- _ -- 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
Re: [asterisk-users] Playback while dialing out
I am not sure you even read my mail, no music on hold option - it should work dynamically with any file. On Fri, Aug 19, 2011 at 6:18 PM, bakko asannu...@gmail.com wrote: Hi, you can configure a new music on hold, example: nano /etc/asterisk/musiconhold.conf [default1] mode=files directory=moh1 and put the audio file in this directory; then change your dialplan like: exten = 500,1,NoOp exten = 500,2,Dial(SIP/14085551234@myprovider,m(default1)) exten = 503,3,Hangup Regards -- _ -- 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 -- _ -- 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
[asterisk-users] Playback while dialing out
Hi, please help me with dialplan below. My current dialplan looks like this, it plays a file and then connects the caller to my phone by dialing out. As you can see, it waits for file to be played completely before dialing out. What I would really like is that it should play the file (preferably repetitively) and simultaneously dial out the number, playback should stop as soon as dial answers or early media detected. exten = 500,1,Answer exten = 500,2,Playback(wait-while-we-connect-you) exten = 500,3,Dial(SIP/14085551234@myprovider) How do I make it work? Thanks -- _ -- 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
Re: [asterisk-users] Playback while dialing out
Take a look at the A(x) and m options to dial. In the Asterisk CLI core show application dial for a the docs to Dial(). -Original Message- From: asterisk-users-boun...@lists.digium.com [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jim Boykin Sent: Thursday, August 18, 2011 9:12 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] Playback while dialing out Hi, please help me with dialplan below. My current dialplan looks like this, it plays a file and then connects the caller to my phone by dialing out. As you can see, it waits for file to be played completely before dialing out. What I would really like is that it should play the file (preferably repetitively) and simultaneously dial out the number, playback should stop as soon as dial answers or early media detected. exten = 500,1,Answer exten = 500,2,Playback(wait-while-we-connect-you) exten = 500,3,Dial(SIP/14085551234@myprovider) How do I make it work? -- _ -- 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