Is it possible to make Asterisk do inband DTMF over IAX?
Short Answer: No. Long Answer: Maybe. If you can get your device to send inband DTMF and tell Asterisk you are using INFO or RFC2833 DTMF, then Asterisk should just pass the DTMF as audio. Then if the call goes via IAX2 it should be inband. This is an ungly hack, should not be supported in any way and if it works just count your blessings. I can think of no reason to ever need to do this. Matt wrote:> Is it possible to make Asterisk do inband DTMF over IAX?
Matt wrote:> Is it possible to make Asterisk do inband DTMF over IAX?No. The IAX2 protocol only supports DTMF out-of-band, and no IAX2 endpoint that I am aware of will 'listen' for inband DTMF in the media stream. -- Kevin P. Fleming Director of Software Technologies Digium, Inc. - "The Genuine Asterisk Experience" (TM)
> I can think of no reason to ever need to do this.You must not peer with Level3, or with anyone who peers with Level3 via IAX :)
On Wed, 2007-07-25 at 13:02 -0500, Eric "ManxPower" Wieling wrote:> Short Answer: No. > > Long Answer: Maybe. If you can get your device to send inband DTMF and > tell Asterisk you are using INFO or RFC2833 DTMF, then Asterisk should > just pass the DTMF as audio. Then if the call goes via IAX2 it should > be inband. This is an ungly hack, should not be supported in any way > and if it works just count your blessings. > > I can think of no reason to ever need to do this. > > Matt wrote: > > Is it possible to make Asterisk do inband DTMF over IAX?Snip--- Ok, I am confused. Are you saying that if I use an IAX2 inter machine trunk from one asterisk box to another, and terminate a call over the pstn to a voicemail system or other type of IVR, IAX2 will regenerate the DTMF tones that were originated from the original callers phone? I thought the original posting said that the IAXy device was failing to pass DTMF through to the termination side of the call. What have I missed? Dave
David Boyd wrote:> On Wed, 2007-07-25 at 13:02 -0500, Eric "ManxPower" Wieling wrote: >> Short Answer: No. >> >> Long Answer: Maybe. If you can get your device to send inband DTMF and >> tell Asterisk you are using INFO or RFC2833 DTMF, then Asterisk should >> just pass the DTMF as audio. Then if the call goes via IAX2 it should >> be inband. This is an ungly hack, should not be supported in any way >> and if it works just count your blessings. >> >> I can think of no reason to ever need to do this. >> >> Matt wrote: >>> Is it possible to make Asterisk do inband DTMF over IAX? > Snip--- > > Ok, I am confused. Are you saying that if I use an IAX2 inter machine > trunk from one asterisk box to another, and terminate a call over the > pstn to a voicemail system or other type of IVR, IAX2 will regenerate > the DTMF tones that were originated from the original callers phone? I > thought the original posting said that the IAXy device was failing to > pass DTMF through to the termination side of the call. What have I > missed?I think you missed that the IAXy is not supporting this. The IAXy is not taking the out of band DTMF and converting it back to AUDIO to send to the device connected to the IAXy.