Hi,
I just tried FreeSWITCH together with
t38modem and HylaFAX.
But when I bridge the call to the modem I
get the following error:
2009-05-14 00:22:38 [ERR] sofia.c:3280
sofia_handle_sip_i_state() Reinvite Codec Error!
Does anyone know how to set this up?
To PSTN I use a Lancom router which converts
T38 to Euro-ISDN and vice versa.
The t38modem was started with the following
parameters:
/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>"
I also created a directory entry for
FreeSWITCH with the following content:
<include>
<user
id="t38modem">
<params>
<param
name="password" value="password"/>
</params>
<variables>
<variable
name="toll_allow" value="domestic,international,local"/>
<variable
name="accountcode" value="t38modem"/>
<variable
name="user_context" value="default"/>
<variable
name="effective_caller_id_name" value="Fax"/>
<variable
name="effective_caller_id_number" value="xxxxxxxx"/>
<variable
name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
<variable
name="outbound_caller_id_number"
value="$${outbound_caller_id}"/>
<variable
name="max_calls" value="1"/>
<variable
name="callgroup" value="default"/>
</variables>
</user>
</include>
The bridging is done in perl:
$session->execute("bridge","user/t38modem@" .
$VARS{"domain"});
Any help is appreciated.
Thanks, Klaus