Re: [Asterisk-java-users] How to use A-J to inject input to Dialplan?
Brought to you by:
srt
From: Yves A. <yv...@gm...> - 2013-06-05 19:25:15
|
Hi, now I am totally confused... I thought, your application has to play the PIN DTMF... now you say, that the user still has to enter the pin... So what is the problem to bridge the extension of your user with the conference-room extension? After connecting the two partys you´re done, the user hears the announcement and enters the pin...? If you can´t go this way I think I still did not catch your real objective... OriginateToApplication will not alter any part of the dialplan... its just a method to dial directly "into" asterisk apps... they do even not have to occur anywhere in the dialplan... As I mentioned earlier, you can use the originate(originateAction) method to jump to a certain priority in the dialplan... therefor you use the method originateAction.setPriority(int priority)... If the things still do not work the way you need, I think we should chat or phone... in that case eMail me directly and I´ll send you my skype ID. have fun, yves Am 05.06.2013 18:14, schrieb Greg Horton: > Hi Yves, > > It is a definite requirement that I not be able to alter a customer > Asterisk configuration. Possibly something like tagging on a .conf > file in the future but that's about it. > > I do know I am dialing a meeting room but it is still up to the user > to enter a proper PIN number, so I guess I could do something like > collect all entered info from a user then submit all at once to meetme > using OriginateToApplication(). Hopefully that will alter the > Asterisk dial plan so it will know it already has the PIN and it will > not have to play the recording to ask for it? > > It's great to learn about OriginateToApplication(). I use Originate() > today for all dialed calls, and maybe that is an issue. I wonder if I > try using OriginateToApplication(), specifying meetme and without a > PIN, maybe internally a route will be setup in Asterisk to know to > send my PIN digits to the meetme app. I can play with that a bit. > > Thanks! > > Greg > > > On Wed, Jun 5, 2013 at 8:21 AM, Yves A. <yv...@gm... > <mailto:yv...@gm...>> wrote: > > OK, > > if you can play DTMF on "normal" calls, but not on meetme > conferences... have you tried to change the config parameter I > recommended in my last eMail or > can´t you change this, because you want to avoid ANY changes in > the config files on the target asterisk? > > If you know that you are dialling into a meetme room (and I think > you know, otherwise I would be totally confused..), you can dial > directly into the > asterisk application meetme and pass the required parameters like > roomnumber and pin... no need to play around with DTMF... > > The following lines given as an example would establish a > connection from the (SIP-)extension 567 to the meetme room 1024 > that is protected with > the PIN 123456. > > DefaultAsteriskServer asteriskServer = new > DefaultAsteriskServer("###your asterisk server ip or dns-name###", > "###username with appropriate rights###", "###password###); > asteriskServer.getManagerConnection().login(); > asteriskServer.originateToApplication("SIP/567", "meetme", > "1024,,123456", 15000l); > > regards, > yves > > > > ------------------------------------------------------------------------------ > How ServiceNow helps IT people transform IT departments: > 1. A cloud service to automate IT design, transition and operations > 2. Dashboards that offer high-level views of enterprise services > 3. A single system of record for all IT processes > http://p.sf.net/sfu/servicenow-d2d-j > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |