Dave-- I remember adding a feature a long time ago for snoms, to the source code, to send dtmf out for some button press on a snom phone, in the 'outward' direction, I think to activate a feature or somesuch. (Boy, is my memory hazy!) At any rate, I was able to inject dtmf, but I had to do it in the source. AFAICT, there is no app that do this explicitly; and Murphy's Law would state that even if a dialplan app existed, it would not get run at the time you need to be run.
So, if you found a workaround, and it works, it won't matter how pretty it is. Magic is Magic. And speaking of Murphy's Law: Enjoy it while it lasts, because, sure as death and taxes, someone will fix a bug somewhere, and you'll lose an undocumented feature ;) murf On Tue, Jan 12, 2010 at 2:31 PM, David Gibbons <d...@videon-central.com>wrote: > <snip> > Going foward, is there any way to programmatically inject DTMF tones into > an already-bridged channel? > </snip> > > Well, due to the lack of responses, either I missed something obvious or > nobody cares. I'm really hoping I didn't miss something obvious... :). > > In any event, I got curious of my own old question and hacked out a work > around: > > 0. Assume your extension is dumped into context 'mycontext' > 1. You dial an internal extension > 2. * Dials an external number (presumably another PBX device) > 3. When the remote device answers, both parties are dumped into the > DTMFworkaround context > 4. The called party has its DTMF mode set to inband so that the tones are > played out loud > 4.5. Meanwhile, the calling party is dumped into an empty meeting > conference that is used soley to bridge these two legs > 5. When the tones are done, the called party is dumped into the bridged > conference. > 6. When the caller hangs up, the conference boots the callee > > <code> > [dtmfworkaround] > exten => 6534,1,Goto(dtmfworkaround|6536|1) > exten => 6534,2,Goto(dtmfworkaround|6535|1) > exten => 6535,1,Answer() > exten => 6535,n,Wait(1) > exten => 6535,n,SIPDTMFMode(inband) > exten => 6535,n,SendDTMF(1234) > exten => 6535,n,MeetMe(101|MFqx|1234) > exten => 6536,1,Answer() > exten => 6536,n,MeetMe(101|MFqxA|1234) > > [mycontext] > exten => 658,1,Dial(SIP/486,15,rG(dtmfworkaround^6534^1)) > </code> > > -Dave > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > -- Steve Murphy ParseTree Corp
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users