Thread: [Asterisk-java-users] dynamically adding new conference rooms
Brought to you by:
srt
From: g f <gf...@gm...> - 2006-03-07 20:32:12
|
Hello all, I was interested in allowing users the ability to create new conference rooms. Is there any * to Java classes that will accomplish this? I looked at MeetmeEvents but found nothing that looked promising. Any help is appreciated.. TIA!! |
From: Stefan R. <sr...@re...> - 2006-03-07 23:23:04
Attachments:
signature.asc
|
Hi, g f wrote: > I was interested in allowing users the ability to create new conference= > rooms. > Is there any * to Java classes that will accomplish this? > I looked at MeetmeEvents but found nothing that looked promising. > Any help is appreciated.. no there is currently no way to accomplish this through the Manager API that I am aware of. Do you know if its possible through CLI? (I had a quick look but didnt find anything either) =3DStefan --=20 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... |
From: Chris H. <ch...@as...> - 2006-03-08 01:26:44
|
On Mar 7, 2006, at 5:22 PM, Stefan Reuter wrote: > Hi, > > g f wrote: >> I was interested in allowing users the ability to create new >> conference >> rooms. >> Is there any * to Java classes that will accomplish this? >> I looked at MeetmeEvents but found nothing that looked promising. >> Any help is appreciated.. > > no there is currently no way to accomplish this through the Manager > API > that I am aware of. > Do you know if its possible through CLI? (I had a quick look but didnt > find anything either) You probably want to use dynamic meetme conferences and manage them with an external database and not try to add a static conference. We have built a conferencing system using this approach using AGI for authentication and it works great. Chris |
From: g f <gf...@gm...> - 2006-03-08 17:45:35
|
I found the following, but I was just assuming that this was a line that was added in the extensions.conf file and not a CLI: Dynamic conference room, user must input room number to be created: exten =3D> 9999,1, Wait(1) exten =3D> 9999,2,MeetMe(|Md) ; NOTE: If you add the option 'e', * will choose room # for you ;Change the 'd' option to 'D' if you want to have a pin number for the conference Chris, is this what you use? Thanks in advance!! On 3/7/06, Chris Howard <ch...@as...> wrote: > > > On Mar 7, 2006, at 5:22 PM, Stefan Reuter wrote: > > > Hi, > > > > g f wrote: > >> I was interested in allowing users the ability to create new > >> conference > >> rooms. > >> Is there any * to Java classes that will accomplish this? > >> I looked at MeetmeEvents but found nothing that looked promising. > >> Any help is appreciated.. > > > > no there is currently no way to accomplish this through the Manager > > API > > that I am aware of. > > Do you know if its possible through CLI? (I had a quick look but didnt > > find anything either) > > You probably want to use dynamic meetme conferences and manage them > with an external database and not try to add a static conference. We > have built a conferencing system using this approach using AGI for > authentication and it works great. > > Chris > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: Chris H. <ch...@as...> - 2006-03-09 15:04:12
|
What we do is get the pin in the agi, query the database to validate the pin. Set the conference number for the dialplan to use and call: exten => s,n,MeetMe(${CONF}|dTMps) -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of g f Sent: Wednesday, March 08, 2006 11:46 AM To: ast...@li... Subject: Re: [Asterisk-java-users] dynamically adding new conference rooms I found the following, but I was just assuming that this was a line that was added in the extensions.conf file and not a CLI: Dynamic conference room, user must input room number to be created: exten => 9999,1, Wait(1) exten => 9999,2,MeetMe(|Md) ; NOTE: If you add the option 'e', * will choose room # for you ;Change the 'd' option to 'D' if you want to have a pin number for the conference Chris, is this what you use? Thanks in advance!! On 3/7/06, Chris Howard <ch...@as...> wrote: On Mar 7, 2006, at 5:22 PM, Stefan Reuter wrote: > Hi, > > g f wrote: >> I was interested in allowing users the ability to create new >> conference >> rooms. >> Is there any * to Java classes that will accomplish this? >> I looked at MeetmeEvents but found nothing that looked promising. >> Any help is appreciated.. > > no there is currently no way to accomplish this through the Manager > API > that I am aware of. > Do you know if its possible through CLI? (I had a quick look but didnt > find anything either) You probably want to use dynamic meetme conferences and manage them with an external database and not try to add a static conference. We have built a conferencing system using this approach using AGI for authentication and it works great. Chris ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk <http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=12164 2> &kid=110944&bid=241720&dat=121642 _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: g f <gf...@gm...> - 2006-03-09 17:03:28
|
My network is down right now so I cant run anything against my asterisk box but is this kind of the jist of what you do (aside from the validation) public class AgiCommand extends BaseAGIScript { public void service(AGIRequest request, AGIChannel channel) throws AGIException { exec("exten =3D> s,n,MeetMe(${CONF}|dTMps)"); } } ??? Thanks again. On 3/9/06, Chris Howard <ch...@as...> wrote: > > What we do is get the pin in the agi, query the database to validate the > pin. Set the conference number for the dialplan to use and call: > > exten =3D> s,n,MeetMe(${CONF}|dTMps) > -----Original Message----- > *From:* ast...@li... [mailto: > ast...@li...] *On Behalf Of *g f > *Sent:* Wednesday, March 08, 2006 11:46 AM > *To:* ast...@li... > *Subject:* Re: [Asterisk-java-users] dynamically adding new conference > rooms > > I found the following, but I was just assuming that this was a line that > was added in the extensions.conf file and not a CLI: > > Dynamic conference room, user must input room number to be created: > exten =3D> 9999,1, Wait(1) > exten =3D> 9999,2,MeetMe(|Md) ; NOTE: If you add the option 'e', * w= ill choose room # for you > > ;Change the 'd' option to 'D' if you want to have a pin number for the c= onference > > > Chris, > is this what you use? > > Thanks in advance!! > > > On 3/7/06, Chris Howard <ch...@as...> wrote: > > > > > > On Mar 7, 2006, at 5:22 PM, Stefan Reuter wrote: > > > > > Hi, > > > > > > g f wrote: > > >> I was interested in allowing users the ability to create new > > >> conference > > >> rooms. > > >> Is there any * to Java classes that will accomplish this? > > >> I looked at MeetmeEvents but found nothing that looked promising. > > >> Any help is appreciated.. > > > > > > no there is currently no way to accomplish this through the Manager > > > API > > > that I am aware of. > > > Do you know if its possible through CLI? (I had a quick look but didn= t > > > find anything either) > > > > You probably want to use dynamic meetme conferences and manage them > > with an external database and not try to add a static conference. We > > have built a conferencing system using this approach using AGI for > > authentication and it works great. > > > > Chris > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > > _______________________________________________ > > Asterisk-java-users mailing list > > Ast...@li... > > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > |
From: Stefan R. <sr...@re...> - 2006-03-10 01:40:23
Attachments:
signature.asc
|
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 --=20 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... |
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... > > > > |
From: g f <gf...@gm...> - 2006-03-13 18:11:27
|
Stefan, Looking at the HelloAgi example, the actual service() method is called when exten 1300 is dialed(if I follow the *-Java tutorial). I am unsure how to call the dynamic meetme script example that you gave me (below). Could you give me an idea of how to accomplish this? Thanks!!! 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... > > > > |