[asterisk-users] parkcall: How to remove announcement.
alex454 at gmail.com
Mon Aug 16 17:42:10 CDT 2010
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
> Subject: Re: [asterisk-users] parkcall: How to remove announcement.
> > 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
> 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
> 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:
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the asterisk-users