[App_rpt-users] Control Playback
mike at midnighteng.com
mike at midnighteng.com
Sat Dec 20 23:28:49 UTC 2014
I use this myself.
First, you should answer the extension before anything else.
Then perhaps a wait statement if needed.
Then...
Check your <options> settings,
You need to describe more options and if not used, place a comma in
there without data if you intend to skip/not use that option.
ControlPlayback(filename[|skipms[|ff[|rew[|stop[|pause[|restart|options]]]]]]])
Options:
skipms - This is number of milliseconds to skip when rewinding or
fast-forwarding.
ff - Fast-forward when this DTMF digit is received.
rew - Rewind when this DTMF digit is received.
stop - Stop playback when this DTMF digit is received.
pause - Pause playback when this DTMF digit is received.
restart - Restart playback when this DTMF digit is received.
Options: At present the only valid option is j - Jump to priority
n+101 if the requested file is not found.
...mike/kb8jnm
> -------- Original Message --------
> Subject: [App_rpt-users] Control Playback
> From: Mark Johnston <markjohnston73 at gmail.com>
> Date: Sat, December 20, 2014 5:16 pm
> To: "app_rpt-users at ohnosec.org" <app_rpt-users at ohnosec.org>
>
>
> Anyone know how to make this work?
> I have it playing the file fine, the two issues I have
> 1.) seems to loop
> 2.) unable to control it even using *41234 first -
>
> http://www.voip-info.org/wiki/view/Asterisk+cmd+ControlPlayback
>
> tried with | and , neither works - with the option 4000|4|6|0|1)...
>
>
> extensions.conf
>
> exten =>
> 1234,1,ControlPlayback(/etc/asterisk/scripts/ARNL/nslnp,4000,4,6,0,1)
>
> exten=1234,1,Answer
>
> exten=1234,n,Playback,rpt/node
>
> exten=1234,n,Rpt,1234|Pv
>
>
>
> Am I missing something or is this just not practical with app_rpt?
>
> seems this along with AGI options in asterisk could make for some
> interesting features.<hr>_______________________________________________
> App_rpt-users mailing list
> App_rpt-users at ohnosec.org
> http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users
>
> To unsubscribe from this list please visit http://ohnosec.org/cgi-bin/mailman/listinfo/app_rpt-users and scroll down to the bottom of the page. Enter your email address and press the "Unsubscribe or edit options button"
> You do not need a password to unsubscribe, you can do it via email confirmation. If you have trouble unsubscribing, please send a message to the list detailing the problem.
More information about the App_rpt-users
mailing list