<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
On 10/5/2011 11:28 AM, Michael Collins wrote:
<blockquote
cite="mid:CAKzWOxV0czhxJmmv2zF=uf9dTFG9o-ZpgPHr=TuH5q4iK_evxQ@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
FYI, I added this to the queue_dtmf misc dp tools wiki page.
<div><a moz-do-not-send="true"
href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_queue_dtmf#Alternate_Example_Using_execute_on_answer">http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_queue_dtmf#Alternate_Example_Using_execute_on_answer</a></div>
<div><br>
</div>
<div>-MC<br>
<br>
<div>On Tue, Oct 4, 2011 at 7:27 AM, Wayne <span><<a
moz-do-not-send="true" href="mailto:wayne@hamilton.net">wayne@hamilton.net</a>></span>
wrote:<br>
<blockquote>
<div>
<div> <span>Just to answer this posts for others that are
searching for the answer this is what I did to make it
work. </span> </div>
<div> <span>For some reason after resetting my Sangoma
card with a power down and restart of the server
send_dtmf started working.</span> </div>
<div> <span>Here is the XML that worked for me. Seems
that the sleep and flush also got rid of my random
tones.</span> </div>
<div> <span></span> </div>
<div> <span><extension name="test-tone" ><br>
<condition field="destination_number"
expression="1(.*)" ><br>
<action application="set"
data="effective_caller_id_number=<a
moz-do-not-send="true" href="tel:9025556747">9025556747</a>"/><br>
<action application="sleep" data="500"/><br>
<action application="flush_dtmf"/><br>
<action application="export"
data="nolocal:execute_on_answer=send_dtmf <a
moz-do-not-send="true" href="mailto:W$1#@500">W$1#@500</a>"
/><br>
<action application="bridge"
data="freetdm/wp1/a/<a moz-do-not-send="true"
href="tel:18005551234">18005551234</a>"/><br>
</condition><br>
</extension></span> </div>
<div> <span></span> </div>
<div> <span>Thanks to all that helped.</span> </div>
<div> <span>Wayne</span> </div>
<div> <span></span> </div>
<br>
<div lang="en-us"> <b>From:</b> <a
moz-do-not-send="true"
href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a moz-do-not-send="true"
href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Wayne<br>
<b>Sent:</b> Thursday, September 15, 2011 11:55 AM<br>
<b>To:</b> 'FreeSWITCH Users Help'<br>
<b>Subject:</b> Re: [Freeswitch-users] Sending DTMF on
B-leg<br>
<br>
</div>
<div><span> Okay, </span></div>
<div><span> </span> </div>
<div><span> I have tried send_dtmf and queue_dtmf and I
can not get any DTMF to pass. Would anyone be so kind
and send me an extension that has it working on the
B-leg. I am getting nowhere. </span></div>
<div><span></span> </div>
<div><span> Thanks Wayne </span></div>
<br>
<div lang="en-us"> <b>From:</b> <a
moz-do-not-send="true"
href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a moz-do-not-send="true"
href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Michael Collins<br>
<b>Sent:</b> Tuesday, September 13, 2011 4:29 PM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] Sending DTMF on
B-leg<br>
<br>
</div>
Okay, fair enough. Not sure what queue_dtmf is not
working. You could always try "execute_on_answer" and
execute an extension that sends the dtmfs.
<div><br>
</div>
<div>-MC<br>
<br>
<div>On Tue, Sep 13, 2011 at 2:16 PM, Wayne <span><<a
moz-do-not-send="true"
href="mailto:wayne@hamilton.net">wayne@hamilton.net</a>></span>
wrote:<br>
<blockquote>
<div>
<div><span> Sorry Michael, </span></div>
<div><span> </span> </div>
<div><span> 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. </span></div>
<div><span> </span> </div>
<div><span> Wayne </span></div>
<br>
<div lang="en-us"> <b>From:</b> <a
moz-do-not-send="true"
href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a moz-do-not-send="true"
href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Michael Collins<br>
<b>Sent:</b> Tuesday, September 13, 2011 2:41 PM
<div>
<div><br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users]
Sending DTMF on B-leg<br>
</div>
</div>
<br>
</div>
<div>
<div> <br>
<br>
<div>On Tue, Sep 13, 2011 at 11:34 AM, Wayne <span><<a
moz-do-not-send="true"
href="mailto:wayne@hamilton.net">wayne@hamilton.net</a>></span>
wrote:<br>
<blockquote>
<div>
<div><span> 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. </span></div>
<div><span> </span> </div>
<div><span> Wayne </span></div>
<div><span> </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>
<div>
<div> </div>
<div><span> </span> </div>
<br>
<div lang="en-us"> <b>From:</b> <a
moz-do-not-send="true"
href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a moz-do-not-send="true"
href="mailto:freeswitch-users-bounces@lists.freeswitch.org">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><br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re:
[Freeswitch-users] Sending DTMF on
B-leg<br>
</div>
</div>
<br>
</div>
<div>
<div> Are you saying that no DTMFs are
being sent out when the bridge is
initially completed?
<div>-MC<br>
<br>
<div>On Wed, Sep 7, 2011 at 3:17
PM, Wayne <span><<a
moz-do-not-send="true"
href="mailto:wayne@hamilton.net">wayne@hamilton.net</a>></span>
wrote:<br>
<blockquote>
<div>
<div><span> I have tried
that </span></div>
<div><span> <extension
name="test-tone" ><br>
<condition
field="destination_number"
expression="<a
moz-do-not-send="true"
href="tel:%289025556747">(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> </span></div>
<div><span> </span> </div>
<div><span> The debug tells
me that this </span></div>
<div><span> tail -f
freeswitch.log | grep -i
dtmf </span></div>
<div><span></span> </div>
<div> Dialplan: <a
moz-do-not-send="true"
href="mailto:sofia/internal/1333@192.168.48.87">
sofia/internal/1333@192.168.48.87
</a> Action
queue_dtmf(0123456789)<br>
EXECUTE <a
moz-do-not-send="true"
href="mailto:sofia/internal/1333@192.168.48.87">
sofia/internal/1333@192.168.48.87
</a>
queue_dtmf(0123456789)<br>
2011-09-07 17:13:44.676204
[DEBUG]
switch_channel.c:465 <a
moz-do-not-send="true"
href="mailto:sofia/internal/1333@192.168.48.87">
sofia/internal/1333@192.168.48.87
</a> Queue dtmf<br>
2011-09-07 17:13:44.676204
[DEBUG]
switch_channel.c:465 <a
moz-do-not-send="true"
href="mailto:sofia/internal/1333@192.168.48.87">
sofia/internal/1333@192.168.48.87
</a> Queue dtmf<br>
2011-09-07 17:13:44.676204
[DEBUG]
switch_channel.c:465 <a
moz-do-not-send="true"
href="mailto:sofia/internal/1333@192.168.48.87">
sofia/internal/1333@192.168.48.87
</a> Queue dtmf<br>
2011-09-07 17:13:44.676204
[DEBUG]
switch_channel.c:465 <a
moz-do-not-send="true"
href="mailto:sofia/internal/1333@192.168.48.87">
sofia/internal/1333@192.168.48.87
</a> Queue dtmf<br>
2011-09-07 17:13:44.676204
[DEBUG]
switch_channel.c:465 <a
moz-do-not-send="true"
href="mailto:sofia/internal/1333@192.168.48.87">
sofia/internal/1333@192.168.48.87
</a> Queue dtmf<br>
2011-09-07 17:13:44.676204
[DEBUG]
switch_channel.c:465 <a
moz-do-not-send="true"
href="mailto:sofia/internal/1333@192.168.48.87">
sofia/internal/1333@192.168.48.87
</a> Queue dtmf<br>
2011-09-07 17:13:44.676204
[DEBUG]
switch_channel.c:465 <a
moz-do-not-send="true"
href="mailto:sofia/internal/1333@192.168.48.87">
sofia/internal/1333@192.168.48.87
</a> Queue dtmf<br>
2011-09-07 17:13:44.676204
[DEBUG]
switch_channel.c:465 <a
moz-do-not-send="true"
href="mailto:sofia/internal/1333@192.168.48.87">
sofia/internal/1333@192.168.48.87
</a> Queue dtmf<br>
2011-09-07 17:13:44.676204
[DEBUG]
switch_channel.c:465 <a
moz-do-not-send="true"
href="mailto:sofia/internal/1333@192.168.48.87">
sofia/internal/1333@192.168.48.87
</a> Queue dtmf<br>
2011-09-07 17:13:44.676204
[DEBUG]
switch_channel.c:465 <a
moz-do-not-send="true"
href="mailto:sofia/internal/1333@192.168.48.87">
sofia/internal/1333@192.168.48.87
</a> 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
moz-do-not-send="true"
href="tel:1%2F9025556747">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
moz-do-not-send="true"
href="tel:1%2F9025556747">1/9025556747</a>
</div>
<div> </div>
<div><span></span> S<span>o
where would I look next.</span>
</div>
<div> <span></span> </div>
<div> <span>Wayne</span> </div>
<div><br>
</div>
<br>
<div lang="en-us"> <b>From:</b>
<a moz-do-not-send="true"
href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>
[mailto:<a
moz-do-not-send="true"
href="mailto:freeswitch-users-bounces@lists.freeswitch.org">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>
<br>
</div>
<div>
<div>
<div>I think you looking
for queue_dtmf.<br>
<br>
<a
moz-do-not-send="true"
href="http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_queue_dtmf">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
moz-do-not-send="true" href="mailto:wayne@hamilton.net">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
moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a
moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a
moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a
moz-do-not-send="true"
href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
><br>
<br>
</div>
</div>
</div>
</div>
<br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a
moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
<br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
<br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org">http://www.freeswitch.org</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
</pre>
</blockquote>
<br>
</body>
</html>