<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=DE link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hi,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span lang=EN-US>I just tried FreeSWITCH together with
t38modem and HylaFAX.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>But when I bridge the call to the modem I
get the following error:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>2009-05-14 00:22:38 [ERR] sofia.c:3280
sofia_handle_sip_i_state() Reinvite Codec Error!<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Does anyone know how to set this up?<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>To PSTN I use a Lancom router which converts
T38 to Euro-ISDN and vice versa.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>The t38modem was started with the following
parameters:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> /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 --ptty +/dev/ttyT38-1 --route
"modem:.*=sip:<dn>@127.0.0.1" --route
"sip:.*=modem:<dn>"<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>I also created a directory entry for
FreeSWITCH with the following content:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <include><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <user
id="t38modem"><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <params><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <param
name="password" value="password"/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </params><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <variables><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <variable
name="toll_allow" value="domestic,international,local"/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <variable
name="accountcode" value="t38modem"/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <variable
name="user_context" value="default"/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <variable
name="effective_caller_id_name" value="Fax"/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <variable
name="effective_caller_id_number" value="xxxxxxxx"/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <variable
name="outbound_caller_id_name" value="$${outbound_caller_name}"/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <variable
name="outbound_caller_id_number"
value="$${outbound_caller_id}"/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <variable
name="max_calls" value="1"/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> <variable
name="callgroup" value="default"/><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </variables><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </user><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US> </include><o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>The bridging is done in perl:<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US>
$session->execute("bridge","user/t38modem@" .
$VARS{"domain"});<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Any help is appreciated.<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
<p class=MsoNormal><span lang=EN-US>Thanks, Klaus<o:p></o:p></span></p>
<p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p>
</div>
</body>
</html>