[Kamailio-Devel] [ openser-Feature Requests-2663489 ] Attempt to relay using TCP when source is UDP

SourceForge.net noreply at sourceforge.net
Thu Mar 5 00:48:48 CET 2009


Feature Requests item #2663489, was opened at 2009-03-04 23:42
Message generated for change (Comment added) made by thomasmangin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=2663489&group_id=139143

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: core
Group: None
>Status: Closed
Resolution: None
Priority: 5
Private: No
Submitted By: Thomas Mangin (thomasmangin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Attempt to relay using TCP when source is UDP

Initial Comment:
I think I triggered a bug in kamailio. if I have disable_tcp set to no , it will try to relay some of my udp message using tcp and it will fail with (failed to fwd to af 2,  proto 2).
Nowhere in the config do I try to change the transport to TCP and the message received has no information about the transport neither (simple UDP register).
Changing the option to yes, and the problem disappear.

Mar  4 23:24:08 proxy1 /usr/sbin/kamailio[14118]: ERROR:tm:update_uac_dst: failed to fwd to af 2, proto 2  (no corresponding listening socket)
[11:33pm] <tm-exa>
Mar  4 23:24:08 proxy1 /usr/sbin/kamailio[14118]: ERROR:tm:t_forward_nonack: failure to add branches

The destination is changed as follow to force the message to a particular registrar machine using internal DNS routing.
$du = $fu;

U 82.219.212.1:5060 -> 82.219.7.1:5060
REGISTER sip:sip.mangin.com SIP/2.0.
Via: SIP/2.0/UDP 82.219.212.1:5060;branch=z9hG4bK-nWP-12227.
From: heidi <sip:heidi at sip.mangin.com:5060>;tag=isD-31803.
To: <sip:heidi at sip.mangin.com:5060>.
Call-ID: nAE-15238 at 82.219.212.1.
CSeq: 100 REGISTER.
Contact: <sip:heidi at 82.219.212.1>.
Max-Forwards: 70.
Expires: 600.
User-Agent: DrayTek UA-1.1.
Content-Length: 0.
.

#
U 82.219.7.1:5060 -> 82.219.212.1:5060
SIP/2.0 500 Server error occurred (2/TM).
Via: SIP/2.0/UDP 82.219.212.1:5060;branch=z9hG4bK-nWP-12227;rport=5060;received=82.219.212.1.
From: heidi <sip:heidi at sip.mangin.com:5060>;tag=isD-31803.
To: <sip:heidi at sip.mangin.com:5060>;tag=3196f0cfb660bda1c7e7428889893144-295c.
Call-ID: nAE-15238 at 82.219.212.1.
CSeq: 100 REGISTER.
Server: Exa SIP Proxy.
Content-Length: 0.
.

Feel free to contact me at : user thomas dot mangin domain exa-networks dot co dot uk



----------------------------------------------------------------------

>Comment By: Thomas Mangin (thomasmangin)
Date: 2009-03-04 23:48

Message:
should be reported as bug. re-reporting

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=743023&aid=2663489&group_id=139143



More information about the Devel mailing list