Yes, Darren it  is an analog line that is connected…

 

Here is my code now

 

<extension name="public_did">

      <condition field="destination_number" expression="^(0283472006)$">

            <action application="set" data="call_timeout=60"/>

            <action application="start_dtmf" data="true"/>

    <action application="set" data="RECORD_TITLE=Recording ${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}"/>

    <action application="set" data="RECORD_COPYRIGHT=(c) 2008 Diagnostic Devices, Inc."/>

    <action application="set" data="RECORD_SOFTWARE=FreeSwitch"/>

    <action application="set" data="RECORD_ARTIST=Ian Curtis"/>

    <action application="set" data="RECORD_COMMENT=Love will tear us apart"/>

    <action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}"/>

    <action application="set" data="RECORD_STEREO=false"/>

     <action application="set" data="playback_terminators=#*"/>

    <action application="record_session" data="C:/Program Files/FreeSWITCH/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/>

    <action application="set" data="ringback=${us-ring}"/>

 

 <action application="transfer" data="5000 XML default"/>

 

         <!--    <action application="bridge" data="user/1207@$${domain}"/> -->

      </condition>

    </extension>

 

I added the line you suggested and at least it now recognizes that a number is getting pushed. What it doesn’t do is recognize which number. So no matter which number I hit it would say “invalid entry” but that is better than nothing…

Anyone know how to fix the next thing…

 

The actual keys not being recognized?

 

 

Ilan Perez

 

From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Darren Schreiber
Sent: 07 August 2008 23:10
To: freeswitch-users@lists.freeswitch.org
Subject: Re: [Freeswitch-users] DTMF recognition and nbound calls

 

For problem #1 you probably need to use the DTMF detection application. The symptoms your describing match and your code is missing this.

 

Try adding:

<action application="start_dtmf" data="true"/>

 

 

Problem #2, does this occur on an analog line?

 


From: Ilan Perez [mailto:iperez@diagnosticdev.com]
Sent: Wednesday, August 06, 2008 6:30 PM
To: freeswitch-users@lists.freeswitch.org
Subject: [Freeswitch-users] DTMF recognition and nbound calls

Dear All,

 

I have setup my inbound extension (in the public.xml) diaplan to transfer to extension 5000 à the demo IVR

The recordings come through nicely. From an internal call the demo fine including DTMF recognition but with inbound calls from external source…ie pstn line

 

 

Two problems occur.

1.       There is no DTMF recognition

2.       If I hangup during the playback the system still plays out the whole IVR

 

Here is my code for the extension.

 

Hopefully someone can help me out

<extension name="public_did">

      <condition field="destination_number" expression="^(0283472006)$">

            <action application="set" data="call_timeout=60"/>

            <action application="set" data="group_confirm_file=C:/Program Files/FreeSWITCH/sounds/en/us/callie/voicemail/8000/vm-press.wav"/>

            <action application="set" data="group_confirm_key=4"/>

 

    <action application="set" data="RECORD_TITLE=Recording ${destination_number} ${caller_id_number} ${strftime(%Y-%m-%d %H:%M)}"/>

    <action application="set" data="RECORD_COPYRIGHT=(c) 2008 Diagnostic Devices, Inc."/>

    <action application="set" data="RECORD_SOFTWARE=FreeSwitch"/>

    <action application="set" data="RECORD_ARTIST=Ian Curtis"/>

    <action application="set" data="RECORD_COMMENT=Love will tear us apart"/>

    <action application="set" data="RECORD_DATE=${strftime(%Y-%m-%d %H:%M)}"/>

    <action application="set" data="RECORD_STEREO=false"/>

     <action application="set" data="playback_terminators=#*"/>

    <action application="record_session" data="C:/Program Files/FreeSWITCH/recordings/${strftime(%Y-%m-%d-%H-%M-%S)}_${destination_number}_${caller_id_number}.wav"/>

    <action application="set" data="ringback=${us-ring}"/>

 

 <action application="transfer" data="5000 XML default"/>

 

         <!--    <action application="bridge" data="user/1207@$${domain}"/> -->

      </condition>

    </extension>

 

 

Anyone?

 

Ilan Perez