Jacques, Olivier (PD&E IT Test) wrote:
Hi Stan,

Thanks. Can you post that on the "dev" mailing list?

Thanks again,
Olivier.

-----Original Message-----
From: Stanislav Gorobchuk [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 11:54
To: [EMAIL PROTECTED]
Subject: bug in get_remote_port_media on 5 digit port

Hi,
I found bug in file call.cpp line 195 you get only first 4 digits of 5
digits media port, to fix it remove -1 on line 195

     /* m=audio not found */
      return 0;
    }
-    begin += strlen(pattern) - 1;
+    begin += strlen(pattern);
    end = strstr(begin, "\r\n");
    if (!end)
      ERROR("get_remote_port_media: no CRLF found");



Thanks for your product SIPp I find it very useful.
Stan


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to