That's what im doing....its not a solution, its just a workaround, but is better for end users.
[macro-outisbusy] ;exten => s,1,Playback(all-circuits-busy-now,noanswer) ;exten => s,n,Playback(pls-try-call-later,noanswer) exten => s,1,Playback(the-number-u-dialed,noanswer) exten => s,n,Playback(no-longer-in-service,noanswer) exten => s,n,Playback(check-number-dial-again,noanswer) exten => s,n,Macro(hangupcall) On 10/12/2010 10:53 AM, Deepika Nijhawan wrote: > I posted on asterisk-users and they pointed me here. > > Its not a dialplan problem. But issue with automated generated script of > extensions.conf when using free pbx. > > PBX is up and running and call are working fine. > > Issue is to get right failure reason audio when calls fails. Whereas I am > just getting ‘all circuits are busy’ as it is hardcoded in automated > generated extensions.conf. > > [macro-outisbusy] > exten => s,1,Playback(all-circuits-busy-now,noanswer) > exten => s,n,Playback(pls-try-call-later,noanswer) > exten => s,n,Macro(hangupcall) > > If call fails with wrongly dialed number or some far end issue it will just > play the same audio which makes user think that something is wrong with pbx > or E1. > > So, I am looking for a way to get far end/ pstn audio when a call fails like > ‘incorrect number’ or ‘number is busy’ or ‘unallocated/ unreachable number’ > as we get in normal asterisk. Freepbx has automated generated scripts, so is > there a way to avoid getting ‘all circuits are busy’ audio when ever call > fails. > > Thanks > > -----Original Message----- > From: asterisk-gui-boun...@lists.digium.com > [mailto:asterisk-gui-boun...@lists.digium.com] On Behalf Of Erin Spiceland > Sent: 12 October 2010 14:47 > To: Asterisk GUI project discussion > Subject: Re: [asterisk-gui] Call Failed Audio > > Deepika, this message may be better suited for the asterisk-users mailing > list, because it doesn't seem that this issue is a bug or misuse of the GUI > but an Asterisk configuration or dialplan design issue. > > http://lists.digium.com/mailman/listinfo/asterisk-users > > Erin > > ----- Original Message ----- >> From: "Deepika Nijhawan"<deepika.nijha...@oxygen8.com> >> To: asterisk-gui@lists.digium.com >> Sent: Monday, October 11, 2010 4:28:25 AM >> Subject: [asterisk-gui] Call Failed Audio >> Hi, >> >> >> >> On freepbx (GUI), whatever reason number fails we always get 'all >> circuits are busy' audio. >> >> Does anybody know how to get far end audio when we dial wrong number >> or when it’s busy or unallocated number or failed with some other >> reason. >> >> >> >> >> >> Thanks, >> >> Deepika >> >> >> -- >> _____________________________________________________________________ >> -- Bandwidth and Colocation Provided by http://www.api-digital.com -- >> >> asterisk-gui mailing list >> To UNSUBSCRIBE or update options visit: >> http://lists.digium.com/mailman/listinfo/asterisk-gui -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-gui mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-gui