You need to be in proxy media mode... FreeSWITCH does not have a full udptl proxy at this time so its either bypass media modes or proxy media mode only





From: Michael Collins <msc@freeswitch.org>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Thu, 14 May 2009 09:50:04 -0700
To: <freeswitch-users@lists.freeswitch.org>
Subject: Re: [Freeswitch-users] t38modem + FreeSWITCH problem

I believe we talked about this in the channel last night... Did you try proxy-media mode?
-MC

On Wed, May 13, 2009 at 3:55 PM, Mailings <Mailings@kh-dev.de> wrote:
Hi,

 

I just tried FreeSWITCH together with t38modem and HylaFAX.

But when I bridge the call to the modem I get the following error:

 

2009-05-14 00:22:38 [ERR] sofia.c:3280 sofia_handle_sip_i_state() Reinvite Codec Error!

 

Does anyone know how to set this up?

 

To PSTN I use a Lancom router which converts T38 to Euro-ISDN and vice versa.

 

The t38modem was started with the following parameters:

  /usr/bin/t38modem -tt -o /var/log/t38modem.log --no-h323 -u t38modem --sip-register t38modem@freeswitch,password --sip-listen udp\$127.0.0.1:6060 <http://127.0.0.1:6060>  --ptty +/dev/ttyT38-1 --route "modem:.*=sip:<dn>@127.0.0.1 <http://127.0.0.1> " --route "sip:.*=modem:<dn>"

 

I also created a directory entry for FreeSWITCH with the following content:

  <include>

    <user id="t38modem">

      <params>

        <param name="password" value="password"/>

      </params>

      <variables>

        <variable name="toll_allow" value="domestic,international,local"/>

        <variable name="accountcode" value="t38modem"/>

        <variable name="user_context" value="default"/>

        <variable name="effective_caller_id_name" value="Fax"/>

        <variable name="effective_caller_id_number" value="xxxxxxxx"/>

        <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>

        <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>

        <variable name="max_calls" value="1"/>

        <variable name="callgroup" value="default"/>

      </variables>

    </user>

  </include>

 

The bridging is done in perl:

  $session->execute("bridge","user/t38modem@" . $VARS{"domain"});

 

Any help is appreciated.

 

Thanks, Klaus

 

_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org