[Asterisk-Users] PLAYBACK multiple files

Brian West brian at bkw.org
Mon Jan 19 23:51:04 MST 2004


Also you should never call an application directly with an call file as
the CDR info won't get updated correctly.... Link your app to an extension
then call it like that.

bkw

On Mon, 19 Jan 2004, Marcin Kuzmicki wrote:

> Cytowanie Charles Hatchette <chatchette at generalcare.com>:
>
> > I'm trying to devise a way to playback more than one file per call when I
> > copy my file 'Test.call' into .. var/spool/asterisk/outgoing
> >
> >    Channel: Zap/1/put_your_phone_number_here
> >    Application: Playback
> >    Data: demo-thanks + a-second-file + a-third-file
> >
> > Is there some way to do this?
>
> Create context in extensions.conf something like
>
> [myplayback]
> exten => s,1,Playback(frist_file)
> exten => s,2,Playback(second_file)
> ...etc
>
> and then
> use
> Context, Extension, and priority to use it
> ie.
>    Channel: Zap/1/put_your_phone_number_here
>    Context: myplayback
>    Extension: s
>    Priority: 1
>
>
> all above is just a concept not ready copy&paste solution.
>
>
> regards
> m.
>
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>



More information about the asterisk-users mailing list