Dear Sir,
My last issue is the following...The asterisk server replies by a second
INVITE that contains T38 in SDP to kamailio...Asterisk continue
retransmitting the INVITE to Kamailio with no reply from it as you can see
below:
Retransmitting #6 (no NAT) to Kamailio_IP:5060:
SIP/2.0 200 OK
Via: SIP/2.0/UDP
Kamailio_IP;branch=z9hG4bK02e7.7581e8a2.0;received=Kamailio_IP
Via: SIP/2.0/UDP 14.14.14.58:5060
;received=79.132.227.35;branch=z9hG4bK-ba26313a;rport=45068
Record-Route: <sip:Kamailio_IP;lr=on>
From: <sip:151355001@Kamailio_IP>;tag=c75da877876e372i0
To: "092968050" <sip:092968050@Asterisk_IP>;tag=as24bf1176
Call-ID: 6cb855a76b6ab33736cc85a83f9d7633@Asterisk_IP
CSeq: 101 INVITE
User-Agent: domain name
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:092968050@Asterisk_IP>
Content-Type: application/sdp
Content-Length: 354
v=0
o=root 26580 26581 IN IP4 Asterisk_IP
s=session
c=IN IP4 Asterisk_IP
t=0 0
m=image 4338 udptl t38
a=T38FaxVersion:0
a=T38MaxBitRate:14400
a=T38FaxFillBitRemoval:0
a=T38FaxTranscodingMMR:0
a=T38FaxTranscodingJBIG:0
a=T38FaxRateManagement:transferredTCF
a=T38FaxMaxBuffer:122
a=T38FaxMaxDatagram:122
a=T38FaxUdpEC:t38UDPRedundancy
Kamailio enter in the following function:
onreply_route[7] {
if (status=~ "200"){
t_on_failure("1");
force_rtp_proxy();
}
exit;
}
I would like to know please what could be added in the onreply_route[7] in
order to accept T38 negotiation and let the FAX go through
Regards
On Fri, Mar 13, 2009 at 1:35 PM, Iñaki Baz Castillo <ibc(a)aliax.net> wrote:
2009/3/13 michel freiha <michofr(a)gmail.com>om>:
Hi Inaki,
I'm getting the below error when using t_relay(); in
onreply_route[7]....Maybe i need to you something else?
Mar 13 13:11:03 [27785] DBG:core:find_cmd_export_t: <t_relay> not found
Mar 13 13:11:03 [27785] DBG:core:find_cmd_export_t: found <t_relay>(0) in
module tm [/usr/local/lib/opensips/modules/]
Mar 13 13:11:03 [27785] CRITICAL:core:yyerror: parse error in config
file,
line 728, column 9-10: Command cannot be used in
the block
^^^^^
The error IS clearle explained, isn't?
Please check the doc about t_relay():
http://www.kamailio.org/docs/modules/devel/tm.html#id2506628
"This function can be used from REQUEST_ROUTE, FAILURE_ROUTE."
You can't use t_relay in on_replyroute (in fact you don't need it at
all, t_relay is used to send *requests*).
Again, please read the documentation and tutorials instead of trying
anything with no reason.
Regards.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users(a)lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users