[Freeswitch-users] SIP to TDM t38 gateway

Spencer Thomason spencer at 5ninesolutions.com
Tue Nov 6 00:32:44 MSK 2012


Hello,
I'm trying to use Freeswitch as a SIP to TDM gateway.  I'd like to use t38_gateway to detect fax tones and send a ReINVITE to t38.

Have a very minimal config with one profile that simply relays to FreeTDM

My dialplan is:
<include>
  <context name="sip">

    <extension name="dial-trunk">
      <condition field="destination_number" expression="^(.*)$">
        <action application="set" data="fax_enable_t38=true"/>
        <action application="set" data="fax_enable_t38_request=true"/>
        <action application="set" data="execute_on_answer=t38_gateway self"/>
        <action application="bridge" data="freetdm/1/a/$1"/>
      </condition>
    </extension>

  </context>
</include>

The problem is a media bug is created on the channel but almost immediately destroyed so fax tones are never detected. 

See:
http://pastebin.freeswitch.org/20162

Thanks for any assistance,
Spencer






Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list