Alexandre Rodrigues
2010-Aug-16 16:10 UTC
[asterisk-users] parkcall: How to remove announcement.
Hello all, I want to park calls using the callpark application, but I don't want to hear the saydigit when the called is parked. To resolve this issue I use the following instruction in the dialplan: exten => _8XX,1,ParkAndAnnounce(|1000|local/10 at default|) Because local/10 at default is not defined to a peer I get a lot of warnings. :( Is there a better way to resolve this issue?? Thanks in advance. Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100816/a3be14a1/attachment.htm
Danny Nicholas
2010-Aug-16 16:30 UTC
[asterisk-users] parkcall: How to remove announcement.
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Alexandre Rodrigues Subject: [asterisk-users] parkcall: How to remove announcement.>Hello all,>I want to park calls using the callpark application, but I don't want tohear the saydigit when the called is parked.>To resolve this issue I use the following instruction in the dialplan:> exten => _8XX,1,ParkAndAnnounce(|1000|local/10 at default|)>Because local/10 at default is not defined to a peer I get a lot of warnings.:(>Is there a better way to resolve this issue??>Thanks in advance.>AlexWhy not exten => _8XX,1,Park() -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100816/718b594b/attachment.htm
Danny Nicholas
2010-Aug-16 21:08 UTC
[asterisk-users] parkcall: How to remove announcement.
From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Philipp von Klitzing Subject: Re: [asterisk-users] parkcall: How to remove announcement.>>Hi!> How can I remove the "Playing digits" from parkcall application?>>In general you can address problems like this by creating your own set ofsounds files where the obstructing files are either simply missing or replaced by silence. Use Set(LANGUAGE) right before the action (here: parking the call) and create your own imaginary language strucutre below /var/lib/asterisk/sounds/.>>PhilippNot a bad suggestion Phillipp, but you "lose points" for suggesting missing files as OP wanted a way to reduce/eliminate warning messages. But to elaborate on this, OP could set up the "imaginary" language as any two letter code that asterisk recognizes and just copy 0.gsm thru 9.gsm from /var/lib/asterisk/sounds/digits/en to /var/lib/asterisk/sounds/digits/xx where xx is the imaginary language (fr - French, gr - german, es - Spanish for starters). Of course you would want to overlay these 10 files with a "silence" file. Then in the dialplan Exten => _8XX,1,Set(CHANNEL(language)=xx) exten => _8XX,n,ParkAndAnnounce(|1000|local/10 at default|) Exten => _8XX,n,Set(CHANNEL(language)=es) - without this, any further sounds in the call would be in xx language.
Alexandre Rodrigues
2010-Aug-16 22:42 UTC
[asterisk-users] parkcall: How to remove announcement.
Thanks very much for your help! :) 2010/8/16 Danny Nicholas <danny at debsinc.com>> From: asterisk-users-bounces at lists.digium.com > [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Philipp von > Klitzing > Subject: Re: [asterisk-users] parkcall: How to remove announcement. > > >>Hi! > > > How can I remove the "Playing digits" from parkcall application? > > >>In general you can address problems like this by creating your own set of > sounds files where the obstructing files are either simply missing or > replaced by silence. Use Set(LANGUAGE) right before the action (here: > parking the call) and create your own imaginary language strucutre below > /var/lib/asterisk/sounds/. > > >>Philipp > > Not a bad suggestion Phillipp, but you "lose points" for suggesting missing > files as OP wanted a way to reduce/eliminate warning messages. But to > elaborate on this, OP could set up the "imaginary" language as any two > letter code that asterisk recognizes and just copy 0.gsm thru 9.gsm from > /var/lib/asterisk/sounds/digits/en to /var/lib/asterisk/sounds/digits/xx > where xx is the imaginary language (fr - French, gr - german, es - Spanish > for starters). Of course you would want to overlay these 10 files with a > "silence" file. > > Then in the dialplan > Exten => _8XX,1,Set(CHANNEL(language)=xx) > exten => _8XX,n,ParkAndAnnounce(|1000|local/10 at default|) > Exten => _8XX,n,Set(CHANNEL(language)=es) - without this, any further > sounds > in the call would be in xx language. > > > -- > _____________________________________________________________________ > -- 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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100816/81a63350/attachment.htm