[Freeswitch-users] SIP to TDM t38 gateway

Alex Crow acrow at integrafin.co.uk
Thu Nov 22 20:21:09 MSK 2012


Hi Spencer,

I use this (gatewaying via a Mitel 3300 but there is no reason why it 
would not work for FreeTDM, just change the bridge at the end).


       <action application="set" data="absolute_codec_string=PCMU"/>
       <action application="set" data="fax_enable_t38=true"/>
<action application="set" data="sip_execute_on_image=t38_gateway self 
nocng"/>
       <action application="bridge" data="sofia/gateway/10.10.0.2/$1"/>


Hope this helps if a bit late.

Cheers

Alex

On 05/11/12 21:32, Spencer Thomason wrote:
> 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
>
>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> 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
>




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