<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 <msc@freeswitch.org><BR>
<B>Reply-To: </B><freeswitch-users@lists.freeswitch.org><BR>
<B>Date: </B>Thu, 14 May 2009 09:50:04 -0700<BR>
<B>To: </B><freeswitch-users@lists.freeswitch.org><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 <Mailings@kh-dev.de> 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"><http://127.0.0.1:6060></a> --ptty +/dev/ttyT38-1 --route "modem:.*=sip:<dn>@127.0.0.1 <a href="http://127.0.0.1"><http://127.0.0.1></a> " --route "sip:.*=modem:<dn>"<BR>
<BR>
<BR>
<BR>
I also created a directory entry for FreeSWITCH with the following content:<BR>
<BR>
<include><BR>
<BR>
<user id="t38modem"><BR>
<BR>
<params><BR>
<BR>
<param name="password" value="password"/><BR>
<BR>
</params><BR>
<BR>
<variables><BR>
<BR>
<variable name="toll_allow" value="domestic,international,local"/><BR>
<BR>
<variable name="accountcode" value="t38modem"/><BR>
<BR>
<variable name="user_context" value="default"/><BR>
<BR>
<variable name="effective_caller_id_name" value="Fax"/><BR>
<BR>
<variable name="effective_caller_id_number" value="xxxxxxxx"/><BR>
<BR>
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/><BR>
<BR>
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/><BR>
<BR>
<variable name="max_calls" value="1"/><BR>
<BR>
<variable name="callgroup" value="default"/><BR>
<BR>
</variables><BR>
<BR>
</user><BR>
<BR>
</include><BR>
<BR>
<BR>
<BR>
The bridging is done in perl:<BR>
<BR>
$session->execute("bridge","user/t38modem@" . $VARS{"domain"});<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>