[asterisk-users] using call file

Danny Nicholas danny at debsinc.com
Mon Jun 21 08:02:45 CDT 2010


Use a context instead of the playback command.  Like this

[playit]

exten => s,1,NoOp(Answer)

exten => s,n,SetMusicOnHold(default)

exten => s,n,Waitexten(5,m)

exten => s,n,Verbose(play ${ARG1})

exten => s,n,Playback(${ARG1})

 

So you replace playback(file) with playit(file).

 

  _____  

From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of nikhil
singhania
Sent: Monday, June 21, 2010 7:55 AM
To: asterisk-users at lists.digium.com
Subject: [asterisk-users] using call file

 

HI list-users,

  Greetings!!

  I have been using call file, i playback my file using application:playback
and once the playback is over the call is disconnected. Is there any way it
can wait and also record the dtmf inputs once the playback is over.
Thanks in advace
Nikhil Kumar
summer intern:simmortel voice technologies
rit2007033
b.tech IT 6th sem
IIIT Allahabad
contact at 9793905858
email: rit2007033 at iiita.ac.in
         niksinghania at gmail.com
http://profile.iiita.ac.in/RIT2007033/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20100621/a2341658/attachment.htm 


More information about the asterisk-users mailing list