I believe we talked about this in the channel last night... Did you try proxy-media mode?<br>-MC<br><br><div class="gmail_quote">On Wed, May 13, 2009 at 3:55 PM, Mailings <span dir="ltr"><<a href="mailto:Mailings@kh-dev.de">Mailings@kh-dev.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="DE">
<div>
<p>Hi,</p>
<p> </p>
<p><span lang="EN-US">I just tried FreeSWITCH together with
t38modem and HylaFAX.</span></p>
<p><span lang="EN-US">But when I bridge the call to the modem I
get the following error:</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">2009-05-14 00:22:38 [ERR] sofia.c:3280
sofia_handle_sip_i_state() Reinvite Codec Error!</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">Does anyone know how to set this up?</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">To PSTN I use a Lancom router which converts
T38 to Euro-ISDN and vice versa.</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">The t38modem was started with the following
parameters:</span></p>
<p><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\$<a href="http://127.0.0.1:6060" target="_blank">127.0.0.1:6060</a> --ptty +/dev/ttyT38-1 --route
"modem:.*=sip:<dn>@<a href="http://127.0.0.1" target="_blank">127.0.0.1</a>" --route
"sip:.*=modem:<dn>"</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">I also created a directory entry for
FreeSWITCH with the following content:</span></p>
<p><span lang="EN-US"> <include></span></p>
<p><span lang="EN-US"> <user
id="t38modem"></span></p>
<p><span lang="EN-US"> <params></span></p>
<p><span lang="EN-US"> <param
name="password" value="password"/></span></p>
<p><span lang="EN-US"> </params></span></p>
<p><span lang="EN-US"> <variables></span></p>
<p><span lang="EN-US"> <variable
name="toll_allow" value="domestic,international,local"/></span></p>
<p><span lang="EN-US"> <variable
name="accountcode" value="t38modem"/></span></p>
<p><span lang="EN-US"> <variable
name="user_context" value="default"/></span></p>
<p><span lang="EN-US"> <variable
name="effective_caller_id_name" value="Fax"/></span></p>
<p><span lang="EN-US"> <variable
name="effective_caller_id_number" value="xxxxxxxx"/></span></p>
<p><span lang="EN-US"> <variable
name="outbound_caller_id_name" value="$${outbound_caller_name}"/></span></p>
<p><span lang="EN-US"> <variable
name="outbound_caller_id_number"
value="$${outbound_caller_id}"/></span></p>
<p><span lang="EN-US"> <variable
name="max_calls" value="1"/></span></p>
<p><span lang="EN-US"> <variable
name="callgroup" value="default"/></span></p>
<p><span lang="EN-US"> </variables></span></p>
<p><span lang="EN-US"> </user></span></p>
<p><span lang="EN-US"> </include></span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">The bridging is done in perl:</span></p>
<p><span lang="EN-US">
$session->execute("bridge","user/t38modem@" .
$VARS{"domain"});</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">Any help is appreciated.</span></p>
<p><span lang="EN-US"> </span></p>
<p><span lang="EN-US">Thanks, Klaus</span></p>
<p><span lang="EN-US"> </span></p>
</div>
</div>
<br>_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br>