I have Kamailio 3.2.0 between two asterisk servers,
after the call set, one of the kamailio send the OK from the
INVITE and the return ACK of that message was discarded. This
makes asterisk hangup the call after 5 secs. It's that right?
OK message:
SIP/2.0 200 OK.
Via: SIP/2.0/UDP
172.25.249.14:5060;branch=z9hG4bK09fc3de6;rport=5060.
CSeq: 102 INVITE.
Server: Asterisk PBX 1.8.7.1.
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE,
NOTIFY, INFO, PUBLISH.
Supported: replaces, timer.
Content-Type: application/sdp.
Content-Length: 285.
.
v=0.
o=root 2045590031 2045590031 IN IP4 172.25.249.15.
s=Asterisk PBX 1.8.7.1.
c=IN IP4 172.25.249.15.
t=0 0.
m=audio 11922 RTP/AVP 0 3 8 101.
a=rtpmap:0 PCMU/8000.
a=rtpmap:3 GSM/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-16.
a=ptime:20.
a=sendrecv.
Discarded ACK:
Via: SIP/2.0/UDP
172.25.249.14:5060;branch=z9hG4bK6ea5aff6;rport.
CSeq: 102 ACK.
User-Agent: Asterisk PBX.
Max-Forwards: 70.
Content-Length: 0.
.
Kamailio's configuration where the ACK message it's being
discarded:
if ( is_method("ACK") ) {
if ( t_check_trans() ) {
# no loose-route,
but stateful ACK;
# must be an ACK
after a 487
# or e.g. 404 from
upstream server
t_relay();
exit;
} else {
# ACK without
matching transaction ... ignore and discard
exit;
}
}
It would be ok if I relay the ack even if it didn't match any
transaction??
Any help would be appreciated.
Regards,
Lucas
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users