<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.19019"></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=889301121-13092011><FONT color=#0000ff
size=2 face=Arial>Sorry Michael,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=889301121-13092011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=889301121-13092011><FONT color=#0000ff
size=2 face=Arial>When I started out I was sending the calls to a SIP provider.
I couldn't here the DTMF tones. For trouble shooting I moved it to a local PRI.
I was thinking that maybe this was an issue with the sip trunk and sending
inband or out of band but that doesn't seem to be the case.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=889301121-13092011><FONT color=#0000ff
size=2 face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=889301121-13092011><FONT color=#0000ff
size=2 face=Arial>Wayne</FONT></SPAN></DIV><BR>
<DIV dir=ltr lang=en-us class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B>
freeswitch-users-bounces@lists.freeswitch.org
[mailto:freeswitch-users-bounces@lists.freeswitch.org] <B>On Behalf Of
</B>Michael Collins<BR><B>Sent:</B> Tuesday, September 13, 2011 2:41
PM<BR><B>To:</B> FreeSWITCH Users Help<BR><B>Subject:</B> Re: [Freeswitch-users]
Sending DTMF on B-leg<BR></FONT><BR></DIV>
<DIV></DIV><BR><BR>
<DIV class=gmail_quote>On Tue, Sep 13, 2011 at 11:34 AM, Wayne <SPAN
dir=ltr><<A
href="mailto:wayne@hamilton.net">wayne@hamilton.net</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote><U></U>
<DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2 face=Arial>That's
true I don't hear any tones when I answer the phone. I don't see any messages
in my log from queue_dtmf. Any help would be great.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2
face=Arial>Wayne</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2
face=Arial></FONT></SPAN></DIV></DIV></BLOCKQUOTE>
<DIV>Okay, in your original post you said you are making an OB call on a SIP
trunk, yet in your example there is no SIP trunk. You've got an internal user
and a FreeTDM FXO port. Can you please clarify what you actually have? Who's the
caller and who's the callee?<BR>-MC<BR><BR> <BR></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: rgb(204,204,204) 1px solid; MARGIN: 0pt 0pt 0pt 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote>
<DIV>
<DIV dir=ltr align=left> </DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2
face=Arial></FONT></SPAN> </DIV><BR>
<DIV dir=ltr lang=en-us align=left>
<HR>
<FONT size=2 face=Tahoma><B>From:</B> <A
href="mailto:freeswitch-users-bounces@lists.freeswitch.org"
target=_blank>freeswitch-users-bounces@lists.freeswitch.org</A> [mailto:<A
href="mailto:freeswitch-users-bounces@lists.freeswitch.org"
target=_blank>freeswitch-users-bounces@lists.freeswitch.org</A>] <B>On Behalf
Of </B>Michael Collins<BR><B>Sent:</B> Thursday, September 08, 2011 6:25 PM
<DIV>
<DIV></DIV>
<DIV class=h5><BR><B>To:</B> FreeSWITCH Users Help<BR><B>Subject:</B> Re:
[Freeswitch-users] Sending DTMF on B-leg<BR></DIV></DIV></FONT><BR></DIV>
<DIV>
<DIV></DIV>
<DIV class=h5>
<DIV></DIV>Are you saying that no DTMFs are being sent out when the bridge is
initially completed?
<DIV>-MC<BR><BR>
<DIV class=gmail_quote>On Wed, Sep 7, 2011 at 3:17 PM, Wayne <SPAN
dir=ltr><<A href="mailto:wayne@hamilton.net"
target=_blank>wayne@hamilton.net</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote><U></U>
<DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2 face=Arial>I have
tried that </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#0000ff size=2
face=Arial><extension name="test-tone" ><BR> <condition
field="destination_number" expression="<A href="tel:%289025556747"
target=_blank value="+19025556747">(9025556747</A>)"
><BR> <action application="set"
data="call_direction=outbound" /><BR>
<action application="set"
data="effective_caller_id_name=${outbound_caller_id_name}"
/><BR> <action application="set"
data="effective_caller_id_number=${outbound_caller_id_number}"
/><BR> <action application="set"
data="continue_on_fail=true" /><BR>
<action application="queue_dtmf" data="0123456789"
/><BR> <action
application="bridge" data="freetdm/wp1/a/$1" /><BR>
</condition><BR></extension></FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>The debug tells me that
this</FONT></SPAN></DIV>
<DIV><SPAN><FONT color=#0000ff size=2 face=Arial>tail -f freeswitch.log |
grep -i dtmf</FONT></SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial>Dialplan:
</FONT><A href="mailto:sofia/internal/1333@192.168.48.87"
target=_blank><FONT size=2
face=Arial>sofia/internal/1333@192.168.48.87</FONT></A><FONT color=#0000ff
size=2 face=Arial> Action queue_dtmf(0123456789)<BR>EXECUTE </FONT><A
href="mailto:sofia/internal/1333@192.168.48.87" target=_blank><FONT size=2
face=Arial>sofia/internal/1333@192.168.48.87</FONT></A><FONT color=#0000ff
size=2 face=Arial> queue_dtmf(0123456789)<BR>2011-09-07 17:13:44.676204
[DEBUG] switch_channel.c:465 </FONT><A
href="mailto:sofia/internal/1333@192.168.48.87" target=_blank><FONT size=2
face=Arial>sofia/internal/1333@192.168.48.87</FONT></A><FONT color=#0000ff
size=2 face=Arial> Queue dtmf<BR>2011-09-07 17:13:44.676204 [DEBUG]
switch_channel.c:465 </FONT><A
href="mailto:sofia/internal/1333@192.168.48.87" target=_blank><FONT size=2
face=Arial>sofia/internal/1333@192.168.48.87</FONT></A><FONT color=#0000ff
size=2 face=Arial> Queue dtmf<BR>2011-09-07 17:13:44.676204 [DEBUG]
switch_channel.c:465 </FONT><A
href="mailto:sofia/internal/1333@192.168.48.87" target=_blank><FONT size=2
face=Arial>sofia/internal/1333@192.168.48.87</FONT></A><FONT color=#0000ff
size=2 face=Arial> Queue dtmf<BR>2011-09-07 17:13:44.676204 [DEBUG]
switch_channel.c:465 </FONT><A
href="mailto:sofia/internal/1333@192.168.48.87" target=_blank><FONT size=2
face=Arial>sofia/internal/1333@192.168.48.87</FONT></A><FONT color=#0000ff
size=2 face=Arial> Queue dtmf<BR>2011-09-07 17:13:44.676204 [DEBUG]
switch_channel.c:465 </FONT><A
href="mailto:sofia/internal/1333@192.168.48.87" target=_blank><FONT size=2
face=Arial>sofia/internal/1333@192.168.48.87</FONT></A><FONT color=#0000ff
size=2 face=Arial> Queue dtmf<BR>2011-09-07 17:13:44.676204 [DEBUG]
switch_channel.c:465 </FONT><A
href="mailto:sofia/internal/1333@192.168.48.87" target=_blank><FONT size=2
face=Arial>sofia/internal/1333@192.168.48.87</FONT></A><FONT color=#0000ff
size=2 face=Arial> Queue dtmf<BR>2011-09-07 17:13:44.676204 [DEBUG]
switch_channel.c:465 </FONT><A
href="mailto:sofia/internal/1333@192.168.48.87" target=_blank><FONT size=2
face=Arial>sofia/internal/1333@192.168.48.87</FONT></A><FONT color=#0000ff
size=2 face=Arial> Queue dtmf<BR>2011-09-07 17:13:44.676204 [DEBUG]
switch_channel.c:465 </FONT><A
href="mailto:sofia/internal/1333@192.168.48.87" target=_blank><FONT size=2
face=Arial>sofia/internal/1333@192.168.48.87</FONT></A><FONT color=#0000ff
size=2 face=Arial> Queue dtmf<BR>2011-09-07 17:13:44.676204 [DEBUG]
switch_channel.c:465 </FONT><A
href="mailto:sofia/internal/1333@192.168.48.87" target=_blank><FONT size=2
face=Arial>sofia/internal/1333@192.168.48.87</FONT></A><FONT color=#0000ff
size=2 face=Arial> Queue dtmf<BR>2011-09-07 17:13:44.676204 [DEBUG]
switch_channel.c:465 </FONT><A
href="mailto:sofia/internal/1333@192.168.48.87" target=_blank><FONT size=2
face=Arial>sofia/internal/1333@192.168.48.87</FONT></A><FONT color=#0000ff
size=2 face=Arial> Queue dtmf<BR>2011-09-07 17:13:45.076218 [DEBUG]
sofia_glue.c:3355 Set 2833 dtmf send payload to 101<BR>2011-09-07
17:13:45.076218 [DEBUG] sofia_glue.c:3360 Set 2833 dtmf receive payload to
101<BR>2011-09-07 17:13:45.116216 [DEBUG] ftdm_io.c:3714 [s1c1][1:1]
Generating DTMF [0123456789]<BR>2011-09-07 17:13:47.876238 [DEBUG]
ftmod_wanpipe.c:701 [s1c1][1:1] Enabled DTMF events<BR>2011-09-07
17:13:47.956228 [DEBUG] ftmod_wanpipe.c:1415 [s1c1][1:1] Queuing wanpipe
DTMF: 9<BR>2011-09-07 17:13:47.956228 [DEBUG] ftdm_io.c:3524 [s1c1][1:1]
Queuing DTMF 9 (debug = 0)<BR>2011-09-07 17:13:47.956228 [DEBUG]
mod_freetdm.c:733 Queuing DTMF [9] in channel FreeTDM/1:<A
href="tel:1%2F9025556747" target=_blank
value="+19025556747">1/9025556747</A><BR>2011-09-07 17:13:48.036235 [DEBUG]
ftmod_wanpipe.c:1415 [s1c1][1:1] Queuing wanpipe DTMF: 9<BR>2011-09-07
17:13:48.036235 [DEBUG] ftdm_io.c:3524 [s1c1][1:1] Queuing DTMF 9 (debug =
0)<BR>2011-09-07 17:13:48.036235 [DEBUG] mod_freetdm.c:733 Queuing DTMF [9]
in channel FreeTDM/1:<A href="tel:1%2F9025556747" target=_blank
value="+19025556747">1/9025556747</A></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2
face=Arial></FONT> </DIV>
<DIV dir=ltr align=left><SPAN></SPAN><FONT color=#0000ff size=2
face=Arial>S<SPAN>o where would I look next.</SPAN></FONT></DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN></SPAN></FONT> </DIV>
<DIV><FONT color=#0000ff size=2 face=Arial><SPAN>Wayne</SPAN></FONT></DIV>
<DIV dir=ltr align=left><BR></DIV><BR>
<DIV dir=ltr lang=en-us align=left>
<HR>
<FONT size=2 face=Tahoma><B>From:</B> <A
href="mailto:freeswitch-users-bounces@lists.freeswitch.org"
target=_blank>freeswitch-users-bounces@lists.freeswitch.org</A> [mailto:<A
href="mailto:freeswitch-users-bounces@lists.freeswitch.org"
target=_blank>freeswitch-users-bounces@lists.freeswitch.org</A>] <B>On
Behalf Of </B>Avi Marcus<BR><B>Sent:</B> Wednesday, September 07, 2011 3:55
PM<BR><B>To:</B> FreeSWITCH Users Help<BR><B>Subject:</B> Re:
[Freeswitch-users] Sending DTMF on B-leg<BR></FONT><BR></DIV>
<DIV>
<DIV></DIV>
<DIV>
<DIV></DIV>
<DIV dir=ltr>I think you looking for queue_dtmf.<BR><BR><A
href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_queue_dtmf"
target=_blank>http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_queue_dtmf</A><BR><BR>-Avi
Marcus<BR><BR><BR><BR>On Wed, Sep 7, 2011 at 11:47 PM, Wayne <<A
href="mailto:wayne@hamilton.net" target=_blank>wayne@hamilton.net</A>>
wrote:<BR>> Hello All,<BR>><BR>> I need to call out on a SIP trunk
and when the call is answered send DTMF<BR>> tones.<BR>> I need to
send the DTMF only on the outbound leg.<BR>><BR>> Does anyone have a
dialplan that will do that? Is it possible. I have only<BR>> found one
thread on it and did get much out of it.<BR>><BR>> Thanks<BR>>
Wayne<BR>><BR>><BR>><BR>> FreeSWITCH-users mailing list<BR>>
<A href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target=_blank>FreeSWITCH-users@lists.freeswitch.org</A><BR>> <A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>>
UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR>>
<A href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR>><BR><BR></DIV></DIV></DIV></DIV><BR><BR>FreeSWITCH-users
mailing list<BR><A href="mailto:FreeSWITCH-users@lists.freeswitch.org"
target=_blank>FreeSWITCH-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></DIV></DIV></DIV><BR><BR>FreeSWITCH-users
mailing list<BR><A
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</A><BR><A
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</A><BR>UNSUBSCRIBE:<A
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target=_blank>http://lists.freeswitch.org/mailman/options/freeswitch-users</A><BR><A
href="http://www.freeswitch.org"
target=_blank>http://www.freeswitch.org</A><BR><BR></BLOCKQUOTE></DIV><BR></BODY></HTML>