It looks like there is an error in parsing the remote media port from
the SDP in the 3.1 code (not sure if there is anything newer than that
where this has been corrected). It appears that the
get_remote_port_media function was truncating ports with 5 digits.
I found and corrected the problem in call.cpp, and it seems to work
fine. Here is what I changed if anyone is interested...
--- sipp.svn/call.cpp 2008-04-09 07:50:37.000000000 -0700
+++ sipp.new/call.cpp 2008-07-30 09:12:26.000000000 -0700
@@ -192,7 +192,7 @@
/* 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");
Please let me know if I am missing something.
Thanks,
Tim
-------------------------------------------------------------------------
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