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-03 15:00:39
|
hi, just very short... i am in a hurry... :1 means first leg of the call.... what you mean is jumping to a priority?? (11) you should be able to do so... there is a parameter where you the specify the priority... if thats not working... try to go with agi... let me know.... and explain your objective... dialplan is not complete / fully clear 2 me... yves Am 03.06.2013 15:01, schrieb Greg Horton: > Hi all, > > I am having a problem where the ext-meetme module in the dialplan gets > to a point where it is waiting for PIN entry, after playing a > recording to request that. This is the part of the Dialplan I refer to: > > [ Context 'ext-meetme' created by 'pbx_config' ] > '1024' => 1. Macro(user-callerid,) [pbx_config] > 2. Set(MEETME_ROOMNUM=1024) [pbx_config] > 3. Set(MAX_PARTICIPANTS=2) [pbx_config] > 4. Set(MEETME_MUSIC=${MOHCLASS}) [pbx_config] > 5. Gosub(sub-record-check,s,1(conf,1024,always)) > [pbx_config] > 6. GotoIf($["${DIALSTATUS}" = "ANSWER"]?READPIN) > [pbx_config] > 7. Answer() [pbx_config] > 8. Wait(1) [pbx_config] > 9. Set(PINCOUNT=0) [pbx_config] > [READPIN] 10. Read(PIN,enter-conf-pin-number,,,,) [pbx_config] > > <THIS IS WHERE I WANT TO INJECT A DTMF STRING> > > 11. GotoIf($[x${PIN} = x123]?USER) [pbx_config] > 12. GotoIf($[x${PIN} = x321]?ADMIN) [pbx_config] > 13. Set(PINCOUNT=$[${PINCOUNT}+1]) [pbx_config] > 14. GotoIf($[${PINCOUNT}>3]?h) [pbx_config] > 15. Playback(conf-invalidpin) [pbx_config] > 16. Goto(READPIN) [pbx_config] > [ADMIN] 17. Set(MEETME_OPTS=aAoTqcIMsr) [pbx_config] > 18. Goto(STARTMEETME,1) [pbx_config] > [USER] 19. Set(MEETME_OPTS=oTqcIMsr) [pbx_config] > 20. Goto(STARTMEETME,1) [pbx_config] > > Is there an A-J command to specifically address 1024@ext-meetme, entry > 11? I am trying to use PlayDtmfAction, where normally I can pass DTMF > to a destination channel like SIP/101-000045c3a. Now, I have tried so > many combinations and cannot get MeetMe to collect the digits of the PIN. > > When I make my call and collect Asterisk channel info, the destination > channel at this time is seen as 1024@from-internal:1. Does the ":1" > refer to entry 1 in the from-internal module of the dial plan? > > I have tried things like 1024@from-internal:1, > Local/1024@from-internal:1, 1024@from-internal:11, and replacing > from-internal with ext-meetme in all of these. > > If I cannot get directly to this point, is there some other roundabout > way to achieve this goal? > > Please help as I am really stuck at this point. > > Thanks! > > Greg > > > ------------------------------------------------------------------------------ > Get 100% visibility into Java/.NET code with AppDynamics Lite > It's a free troubleshooting tool designed for production > Get down to code-level detail for bottlenecks, with <2% overhead. > Download for free and get started troubleshooting in minutes. > http://p.sf.net/sfu/appdyn_d2d_ap2 > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |