[Asterisk-Users] PLAYBACK multiple files

2004-01-19 Thread Charles Hatchette
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?

Charlie Hatchette
[EMAIL PROTECTED]

___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] PLAYBACK multiple files

2004-01-19 Thread Marcin Kuzmicki
Cytowanie Charles Hatchette <[EMAIL PROTECTED]>:

> 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
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] PLAYBACK multiple files

2004-01-19 Thread Brian West
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 <[EMAIL PROTECTED]>:
>
> > 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
> [EMAIL PROTECTED]
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>http://lists.digium.com/mailman/listinfo/asterisk-users
>
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users