Re: [Asterisk-java-users] dynamically adding new conference rooms
Brought to you by:
srt
From: g f <gf...@gm...> - 2006-03-10 15:07:03
|
Thanks Stefan!! Glad you're back!! On 3/9/06, Stefan Reuter <sr...@re...> wrote: > > no just put the exten =3D> s,n,MeetMe(${CONF}|dTMps) (or similar) into > extensions.conf and use setContext/Extension/Priority in your AGI that > way it just quits after verifying the pin. > Example: > > extensions.conf: > > [conf] > exten =3D> _X.,1,MeetMe(${EXTEN}|dTMps) > > and: > > public class AgiCommand extends BaseAGIScript > { > public void service(AGIRequest request, AGIChannel channel) > throws AGIException > { > ... > if (verifyPin()) > { > setContext("conf"); > setExtension(confNumber); > setPriority(1); > } > else > { > streamFile("invalid-pin"); > hangup(); > } > } > } > > =3DStefan > > -- > reuter network consulting > Neusser Str. 110 > 50760 K=F6ln > Germany > Telefon: +49 221 1305699-0 > Telefax: +49 221 1305699-90 > E-Mail: sr...@re... > Jabber: sr...@ja... > > > > |