<!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 bgcolor="#ffffff" text="#000000">
Ok, the issue is that I had removed the "async" on my <action>
tag.<br>
<br>
I don't know if this is intentional or not, but in sync mode <b>some</b>
events make it through (HEARTBEAT, EXECUTE), etc. , but not DTMF.<br>
<br>
With "async full" I am getting the events... I will march ever onward
;-)<br>
<br>
Thanks for everyone's help.<br>
Bill<br>
<br>
Bill Binko wrote:
<blockquote cite="mid:477F2354.7080601@mapshine.com" type="cite">
<pre wrap="">David (et al),
Here's how I invoke my event socket app through the XML dialplan:
<extension name="socketTest">
<condition field="destination_number" expression="^444$">
<action application="socket" data="127.0.0.1:9090 full"/>
</condition>
</extension>
When the call is connected, I send an auth (really, anything works),
then read the response, which has all of the call parameters, and then I
send the 'event plain ALL' command.
What is the actual set of commands you're sending? I should be getting
DTMF through all three standard methods (in-audio, SIP INFO, and the RFC
version).
Thanks
Bill
David Knell wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Bill,
I think you've hit the nail on the head below - it's just working out
which one..! Do you have anything to answer the call - I can't see
that in your script. Is the
DTMF being sent inband - if so, you need to enable inband tone
detection for
it to be detected.
For what it's worth, my event socket listener does the following when
a call
comes in:
connect - get call information (caller ID, dialler number, etc.)
myevents - send me my events
answer - answer the call
and it then gets DTMF events just fine.
Hope this helps --
Dave
</pre>
<blockquote type="cite">
<pre wrap="">Brian, I don't doubt that it should work that way... however, when
running my script, here's what I get.
Array
(
ALL CONFIG VARIABLES PRINT HERE - I CAN SEND OFFLINE IF NEEDED
)
----------------
Invoking: log DEBUG
Message Object
(
[properties] => Array
(
[Content-Type] => command/reply
[Reply-Text] => OK log level DEBUG [7]
)
[content] =>
)
Invoking: events DTMF
Message Object
(
[properties] => Array
(
[Content-Type] => command/reply
[Reply-Text] => OK event listener enabled plain
)
[content] =>
)
DONE PROCESSING MESSAGES
I get no Events at all with "events DTMF" When I use "event plain ALL"
like in the example, I do get HEARTBEAT and other background events, but
no DTMF events at all.
I am thinking that I need to send some kind of command to get it
"unstuck" or "out of park" or something so that that it starts listening
for those tones.
I get the same results with the 3CX softphone and the HT 488 SIP ATA.
Bill
_______________________________________________
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>
<pre wrap=""> </pre>
</blockquote>
<pre wrap=""><!---->
_______________________________________________
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>
</body>
</html>