you should be looking for the DTMF event and not reacting to any others<br><br>Event-Name: DTMF<br><br>any other ones are not necessarily related to what you want.<br><br><br><div class="gmail_quote">On Mon, Oct 27, 2008 at 8:49 AM, Klaus Teller <span dir="ltr"><<a href="mailto:klaus.teller@gmx.net">klaus.teller@gmx.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
I'm calling a registered soft phone (ext. 1003) via the event socket interface. That is, on one side i have some Java code connecting to the Freeswitch event socket interface and placing calls and on the other hand i have the soft phone registered to Freeswitch and awaiting for calls.<br>
<br>
<br>
Now, when i get a call on the soft phone, i press a sequence of DTMF digits. The sequence of DTMF digits is intended to be read by the Java code via the socket interface. Most things run pretty smoothly: i can place calls, i can send DTMFs, i can receive them on the other hand.<br>
<br>
The inconsistent behavior i'm seeing is following. For DTMF-0 to DTMF-9, and DTMF-#, i receive two events via the socket interface. The first one is in CS_EXCHANGE_MEDIA state and the second is in CS_EXECUTE state. Yet for DTMF-* i receive inconsistent number of events: sometimes only one single event in state CS_EXCHANGE_MEDIA sometimes two events as in the case of other DTMF digits.<br>
<br>
It seems there is a pattern in this "inconsistency". The odd DTMF-* (first, third, fifth, etc.) generate only one CS_EXCHANGE_MEDIA event while the even (second, fourth, sixth, etc.) generate both events.<br>
<br>
Can somebody help me understand what's going on?<br>
<br>
Thanks,<br>
Klaus.<br>
<br>
--<br>
"Feel free" - 5 GB Mailbox, 50 FreeSMS/Monat ...<br>
Jetzt GMX ProMail testen: <a href="http://www.gmx.net/de/go/promail" target="_blank">http://www.gmx.net/de/go/promail</a><br>
<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>
</blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>