[sr-dev] [tracker] Task opened: MI datagram replies with wrong udp-port

sip-router bugtracker at sip-router.org
Wed Jan 15 14:53:29 CET 2014


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

A new Flyspray task has been opened.  Details are below. 

User who did this - Per Carlen (peca) 

Attached to Project - sip-router
Summary - MI datagram replies with wrong udp-port
Task Type - Bug Report
Category - Modules kamailio
Status - Unconfirmed
Assigned To - 
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - 4.0
Due in Version - Undecided
Due Date - Undecided
Details - When a udp-packet is sent to the address and port specified in kamailio.cfg, the response contains wrong source-port. The result is that external functions will be able to get responses. 

In the following trace, mi_datagram listens on 127.0.0.1:9998. A perl-script sent a command to this port and never got the response back, since the portnumber had changed.

127.0.0.1.45047 > 127.0.0.1.9998
127.0.0.1.51988 > 127.0.0.1.45047

I had a brief look in the source-code, and it looks like a new socket is created for responses. Shouldn't the "server socket" be used for sending responses?


More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=387

You are receiving this message because you have requested it from the Flyspray bugtracking system.  If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.



More information about the sr-dev mailing list