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: [email protected]
[mailto:[email protected]] On Behalf Of nikhil
singhania
Sent: Monday, June 21, 2010 7:55 AM
To: [email protected]
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
cont...@9793905858
email: [email protected]
[email protected]
http://profile.iiita.ac.in/RIT2007033/
--
_____________________________________________________________________
-- 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