[asterisk-users] parkcall: How to remove announcement.

Alexandre Rodrigues 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
> 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 


More information about the asterisk-users mailing list