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">&lt;<a href="mailto:Mailings@kh-dev.de">Mailings@kh-dev.de</a>&gt;</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
&quot;modem:.*=sip:&lt;dn&gt;@<a href="http://127.0.0.1" target="_blank">127.0.0.1</a>&quot; --route
&quot;sip:.*=modem:&lt;dn&gt;&quot;</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">  &lt;include&gt;</span></p>

<p><span lang="EN-US">    &lt;user
id=&quot;t38modem&quot;&gt;</span></p>

<p><span lang="EN-US">      &lt;params&gt;</span></p>

<p><span lang="EN-US">        &lt;param
name=&quot;password&quot; value=&quot;password&quot;/&gt;</span></p>

<p><span lang="EN-US">      &lt;/params&gt;</span></p>

<p><span lang="EN-US">      &lt;variables&gt;</span></p>

<p><span lang="EN-US">        &lt;variable
name=&quot;toll_allow&quot; value=&quot;domestic,international,local&quot;/&gt;</span></p>

<p><span lang="EN-US">        &lt;variable
name=&quot;accountcode&quot; value=&quot;t38modem&quot;/&gt;</span></p>

<p><span lang="EN-US">        &lt;variable
name=&quot;user_context&quot; value=&quot;default&quot;/&gt;</span></p>

<p><span lang="EN-US">        &lt;variable
name=&quot;effective_caller_id_name&quot; value=&quot;Fax&quot;/&gt;</span></p>

<p><span lang="EN-US">        &lt;variable
name=&quot;effective_caller_id_number&quot; value=&quot;xxxxxxxx&quot;/&gt;</span></p>

<p><span lang="EN-US">        &lt;variable
name=&quot;outbound_caller_id_name&quot; value=&quot;$${outbound_caller_name}&quot;/&gt;</span></p>

<p><span lang="EN-US">        &lt;variable
name=&quot;outbound_caller_id_number&quot;
value=&quot;$${outbound_caller_id}&quot;/&gt;</span></p>

<p><span lang="EN-US">        &lt;variable
name=&quot;max_calls&quot; value=&quot;1&quot;/&gt;</span></p>

<p><span lang="EN-US">        &lt;variable
name=&quot;callgroup&quot; value=&quot;default&quot;/&gt;</span></p>

<p><span lang="EN-US">      &lt;/variables&gt;</span></p>

<p><span lang="EN-US">    &lt;/user&gt;</span></p>

<p><span lang="EN-US">  &lt;/include&gt;</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-&gt;execute(&quot;bridge&quot;,&quot;user/t38modem@&quot; .
$VARS{&quot;domain&quot;});</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>