<HTML>
<HEAD>
<TITLE>Re: [Freeswitch-users] t38modem + FreeSWITCH problem</TITLE>
</HEAD>
<BODY>
<FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>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<BR>
<BR>
<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"><B>From: </B>Michael Collins &lt;msc@freeswitch.org&gt;<BR>
<B>Reply-To: </B>&lt;freeswitch-users@lists.freeswitch.org&gt;<BR>
<B>Date: </B>Thu, 14 May 2009 09:50:04 -0700<BR>
<B>To: </B>&lt;freeswitch-users@lists.freeswitch.org&gt;<BR>
<B>Subject: </B>Re: [Freeswitch-users] t38modem + FreeSWITCH problem<BR>
<BR>
I believe we talked about this in the channel last night... Did you try proxy-media mode?<BR>
-MC<BR>
<BR>
On Wed, May 13, 2009 at 3:55 PM, Mailings &lt;Mailings@kh-dev.de&gt; wrote:<BR>
</SPAN></FONT></FONT><BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Calibri, Verdana, Helvetica, Arial"><SPAN STYLE='font-size:11pt'>Hi,<BR>
<BR>
 <BR>
<BR>
I just tried FreeSWITCH together with t38modem and HylaFAX.<BR>
<BR>
But when I bridge the call to the modem I get the following error:<BR>
<BR>
 <BR>
<BR>
2009-05-14 00:22:38 [ERR] sofia.c:3280 sofia_handle_sip_i_state() Reinvite Codec Error!<BR>
<BR>
 <BR>
<BR>
Does anyone know how to set this up?<BR>
<BR>
 <BR>
<BR>
To PSTN I use a Lancom router which converts T38 to Euro-ISDN and vice versa.<BR>
<BR>
 <BR>
<BR>
The t38modem was started with the following parameters:<BR>
<BR>
  /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 <a href="http://127.0.0.1:6060">&lt;http://127.0.0.1:6060&gt;</a> &nbsp;--ptty +/dev/ttyT38-1 --route &quot;modem:.*=sip:&lt;dn&gt;@127.0.0.1 <a href="http://127.0.0.1">&lt;http://127.0.0.1&gt;</a> &quot; --route &quot;sip:.*=modem:&lt;dn&gt;&quot;<BR>
<BR>
 <BR>
<BR>
I also created a directory entry for FreeSWITCH with the following content:<BR>
<BR>
  &lt;include&gt;<BR>
<BR>
    &lt;user id=&quot;t38modem&quot;&gt;<BR>
<BR>
      &lt;params&gt;<BR>
<BR>
        &lt;param name=&quot;password&quot; value=&quot;password&quot;/&gt;<BR>
<BR>
      &lt;/params&gt;<BR>
<BR>
      &lt;variables&gt;<BR>
<BR>
        &lt;variable name=&quot;toll_allow&quot; value=&quot;domestic,international,local&quot;/&gt;<BR>
<BR>
        &lt;variable name=&quot;accountcode&quot; value=&quot;t38modem&quot;/&gt;<BR>
<BR>
        &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;<BR>
<BR>
        &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Fax&quot;/&gt;<BR>
<BR>
        &lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;xxxxxxxx&quot;/&gt;<BR>
<BR>
        &lt;variable name=&quot;outbound_caller_id_name&quot; value=&quot;$${outbound_caller_name}&quot;/&gt;<BR>
<BR>
        &lt;variable name=&quot;outbound_caller_id_number&quot; value=&quot;$${outbound_caller_id}&quot;/&gt;<BR>
<BR>
        &lt;variable name=&quot;max_calls&quot; value=&quot;1&quot;/&gt;<BR>
<BR>
        &lt;variable name=&quot;callgroup&quot; value=&quot;default&quot;/&gt;<BR>
<BR>
      &lt;/variables&gt;<BR>
<BR>
    &lt;/user&gt;<BR>
<BR>
  &lt;/include&gt;<BR>
<BR>
 <BR>
<BR>
The bridging is done in perl:<BR>
<BR>
  $session-&gt;execute(&quot;bridge&quot;,&quot;user/t38modem@&quot; . $VARS{&quot;domain&quot;});<BR>
<BR>
 <BR>
<BR>
Any help is appreciated.<BR>
<BR>
 <BR>
<BR>
Thanks, Klaus<BR>
<BR>
 <BR>
<BR>
_______________________________________________<BR>
Freeswitch-users mailing list<BR>
Freeswitch-users@lists.freeswitch.org<BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
<BR>
<BR>
<BR>
<HR ALIGN=CENTER SIZE="3" WIDTH="95%"></SPAN></FONT></FONT></BLOCKQUOTE><FONT SIZE="4"><FONT FACE="Consolas, Courier New, Courier"><SPAN STYLE='font-size:10pt'>_______________________________________________<BR>
Freeswitch-users mailing list<BR>
Freeswitch-users@lists.freeswitch.org<BR>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><BR>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><BR>
<a href="http://www.freeswitch.org">http://www.freeswitch.org</a><BR>
</SPAN></FONT></FONT>
</BODY>
</HTML>