<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.3.2">
</HEAD>
<BODY>
Our inbound ATA uses RFC2833 (let's call that peer "10").<BR>
<BR>
Once "in", we connect it to the outbound ATA (call it "20"), using a simple extension:<BR>
<BR>
exten => 20,1,Dial(SIP/20)<BR>
<BR>
It's 20, not 10, that I need to send outbound DTMF to as inband. And 20 will have already registered with Asterisk as RFC2833. How can I set 20's DTMF mode to inband before transferring there?<BR>
<BR>
I have tried this:<BR>
<BR>
exten => 20,1,SIPDtmfMode(rfc2833)<BR>
exten => 20,2,Dial(SIP/20)<BR>
<BR>
but it applies to "10", not "20", and in some cases, "10" is an IAXy device (not even using SIP at all), so this doesn't ever do anything useful as far as I can tell.<BR>
<BR>
Is there some way to set 20's DTMF mode to RFC2833 before transferring a call there?<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
On Thu, 2005-06-23 at 14:14 -0400, Jerris, Michael MI wrote:<BR>
<BLOCKQUOTE TYPE=CITE>
<B><FONT SIZE="2"><FONT COLOR="#000000">From:</FONT></FONT></B><FONT COLOR="#000000"><FONT SIZE="2"> asterisk-dev-bounces@lists.digium.com [mailto:asterisk-dev-bounces@lists.digium.com] </FONT></FONT><FONT COLOR="#000000"><B><FONT SIZE="2">On Behalf Of </FONT></B></FONT><FONT COLOR="#000000"><FONT SIZE="2">Bryan Field-Elliot</FONT></FONT><BR>
<FONT COLOR="#000000">After working diligently with techs from two separate ATA manufacturers, we're pretty convinced that the process of sending RFC2833 DTMF digits outbound, from Asterisk to an ATA, is broken.</FONT><BR>
<BR>
<FONT COLOR="#000000">Note that I'm not saying that the code in Asterisk -- ast_rtp_senddigit() -- is necessarily broken. We have one vendor claiming it is, and another saying that they don't handle inbound RFC2833 well in the first place.</FONT><BR>
<BR>
<FONT COLOR="#000000">What I'd really like, is to apply a patch so that, instead of calling ast_rtp_senddigit, we instead generate and send an inband DTMF tone (for a duration of, say, 250ms).</FONT><BR>
<BR>
<FONT SIZE="2"><FONT COLOR="#0000ff"> </FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#0000ff">Why not set the ATA to use info, and asterisk to inband, it should have the same affect. </FONT></FONT>
<PRE>
<FONT COLOR="#000000">_______________________________________________</FONT>
<FONT COLOR="#000000">Asterisk-Dev mailing list</FONT>
<FONT COLOR="#000000"><A HREF="mailto:Asterisk-Dev@lists.digium.com">Asterisk-Dev@lists.digium.com</A></FONT>
<FONT COLOR="#000000"><A HREF="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</A></FONT>
<FONT COLOR="#000000">To UNSUBSCRIBE or update options visit:</FONT>
<FONT COLOR="#000000"> <A HREF="http://lists.digium.com/mailman/listinfo/asterisk-dev">http://lists.digium.com/mailman/listinfo/asterisk-dev</A></FONT>
</PRE>
</BLOCKQUOTE>
</BODY>
</HTML>