Re: [Asterisk-java-users] How to use A-J to inject input to Dialplan?
Brought to you by:
srt
From: Greg H. <gre...@gm...> - 2013-06-03 15:34:19
|
Hi Yves, I have an Asterisk Manager app where I have a dialer in the GUI. I dial out to a number from there, on behalf of a true Asterisk extension as defined in sip.conf. So I can dial out to MeetMe conference room 1024 on behalf of my Asterisk extension 1410. For the 1410 end I will get a channelID like SIP/1410-00034bc1. When I dial 1024, the dialplan I showed moves through entry 10 (Read(PIN,enter-conf-pin-number,,,,)) and waits on a timer. I see that in Asterisk CLI. At that time I can query the 1410 channel and I see that the destination is 1024@from-internal:1. That apparently is not a valid destination address to use for PlayDtmfAction as when I try that I see in Asterisk CLI that the user sent no data (or something like that). Now I know that :1 is not relevant for my needs. Thanks for that. Note that if I called another extension from 1410 like 1000, I could use PlayDtmfAction to generate a DTMF digit to the destination channelID like SIP/1000-00003453bc. I hope that explains my goal?? Can you give me an idea of what to do using AGI? Thanks, Greg On Mon, Jun 3, 2013 at 11:00 AM, Yves A. <yv...@gm...> wrote: > 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 > |