[Freeswitch-users] DTMF Events not available on Event Socket (Outbound)?

Bill Binko bill.binko at mapshine.com
Fri Jan 4 22:27:32 PST 2008


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:
> 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
>
>> 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
>> Freeswitch-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>>   
>
>





More information about the FreeSWITCH-users mailing list