[sr-dev] [tracker] Task opened: nathelper.c: rtpproxy_offer / rtpproxy_answer (str2 parameter ignored)

sip-router admin at sip-router.org
Mon Apr 26 13:14:35 CEST 2010


THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.

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

User who did this - Marc Villacorta (marc) 

Attached to Project - sip-router
Summary - nathelper.c: rtpproxy_offer / rtpproxy_answer (str2 parameter ignored)
Task Type - Bug Report
Category - Modules kamailio
Status - Assigned
Assigned To - Daniel-Constantin Mierla
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - Hello, I noticed that in

<code>rtpproxy_offer("","1.2.3.4")</code>

1.2.3.4 is ignored.

Also, in nathelper.c

<code>static int
rtpproxy_offer1_f(struct sip_msg *msg, char *str1, char *str2)
{
        char *cp;
        fparam_t param2;

        char newip[IP_ADDR_MAX_STR_SIZE];

        cp = ip_addr2a(&msg->rcv.dst_ip);
        strcpy(newip, cp);
        param2.type = FPARAM_STRING;
        param2.orig = param2.v.asciiz = newip;
        return rtpproxy_offer2_f(msg, str1, (char*)&param2);
}
</code>

str2 is ignored. Same thing to rtpproxy_answer.

Thank you,
Marc Villacorta

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

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