Opened 15 years ago

Closed 14 years ago

#1068 closed defect (fixed)

MIscellaneous fixes

Reported by: bennylp Owned by: bennylp
Priority: minor Milestone: release-1.7
Component: common Version: trunk
Keywords: Cc:
Backport to 1.x milestone: Backported:

Description

This is a placeholder for minor/miscellaneous fixes on this milestone.

Change History (39)

comment:1 Changed 15 years ago by bennylp

In r3163:

  • added facility to change device ID at run-time in pjsystest application

comment:2 Changed 15 years ago by bennylp

(In [3164]) Added systest function to select which audio device to use (re #1068: misc fixes)

comment:3 Changed 14 years ago by nanang

(In [3165]) Re #1068:

  • Fixed max frames-per-packet constants in AMR codec (IPP and passthrough) to be based on PJMEDIA_MAX_FRAME_DURATION_MS setting.

comment:4 Changed 14 years ago by bennylp

(In [3180]) Changed pj_thread_get_prio_max() to return 0 on OpenBSD because it doesn't support it (thanks David Coppa for the patch)(re #1068)

comment:5 Changed 14 years ago by bennylp

(In [3181]) Misc fix (re #1068): set default alignment in the configure script to 8 bytes on Sparc (thanks David Coppa for the patch)

comment:6 Changed 14 years ago by bennylp

(In [3183]) Re #1068 (misc fix): added --log-append option in pjsua to not overwrite existing log file

comment:7 Changed 14 years ago by nanang

(In [3184]) Misc (re #1068): AMR codec in IPP codecs should apply Change Mode Request (from AMR payload) only when it is different from current encoding mode.

comment:8 Changed 14 years ago by bennylp

(In [3186]) Misc (re #1068): crash in pj_sockaddr_parse2() if NULL of empty string is given (thanks Joe Meade for the report)

comment:9 Changed 14 years ago by nanang

(In [3194]) Misc (re #1068): fixed python test lib inc_sip.py, wrong member name refered in RecvfromTransaction? initialization.

comment:10 Changed 14 years ago by bennylp

In r3197: Make TURN pool memory sizes compile-time configurable

comment:11 Changed 14 years ago by bennylp

(In [3203]) Re #1068 (Misc Fixes): changed timeout timer value initialization in sip_transaction.c to copy the value from TD timer value instead of calculating it directly from T1. This would enable customization of the timeout value by changing PJSIP_TD_TIMEOUT macro. Previously the only way to modify this is to change the T1 value, which is undesireable.

comment:12 Changed 14 years ago by bennylp

(In [3204]) Misc (Re #1068): initialize rtpmap string with NULL as it generates uninitialized memory ptr read under Valgrind. Thanks Jones Desougi for the patch.

comment:13 Changed 14 years ago by bennylp

(In [3205]) Misc fixes (re #1068): fixed aconfigure to handle the case where ifaddrs.h is present but the functions are not available, as reported to happen with uClibc (thanks Jones Desougi for the patch)

comment:14 Changed 14 years ago by bennylp

(In [3207]) Misc (re #1068): fixed possible reading string beyond the buffer in pj_strltrim() if the string only contains whitespaces (thanks Jones Desougi for the report)

comment:15 Changed 14 years ago by nanang

(In [3214]) Misc (re #1068): added new API pjmedia_master_port_wait() to poll master port clock when it is created with PJMEDIA_CLOCK_NO_ASYNC flag.

comment:16 Changed 14 years ago by nanang

(In [3225]) Misc (re #1068): fixed possible overwritten field data, write_data_t::flags, in SSL sock OpenSSL implementation.

comment:17 Changed 14 years ago by ming

In [3227] Misc: Application may now destroy pj_http_req inside on_complete callback.

comment:18 Changed 14 years ago by ming

(In [3228]) Misc(re #1068): fixed crash because pj_http_req may now be destroyed after calling on_complete callback.

comment:19 Changed 14 years ago by ming

(In [3229]) Misc(re #1068): Revert the default trace to 0.

comment:20 Changed 14 years ago by bennylp

In r3233;

  • fixed bug with pjsip_status_code enum, when an optimizing compiler decides to use 16bit integer to represent this enum. In PJSUA-LIB, there is a code which assigns 32bit value to a variable of this type, causing overflow. Thanks Rickard Angbratt for the report

comment:21 Changed 14 years ago by ming

(In [3236]) Misc fix (re #1068): added port number in the Host header of http request.

comment:22 Changed 14 years ago by bennylp

(In [3245]) Re #1068 (Misc): fixed compilation warnings with MSVC compiler

comment:23 Changed 14 years ago by bennylp

(In [3246]) Re #1068 (misc): fixed error in cross compiling Mingw on a Linux box (thanks Atik Khan for the report)

comment:24 Changed 14 years ago by bennylp

(In [3247]) Misc (Re #1068): added ability to specify executable suffix, by declaring HOST_EXE in user.mak. Useful for cross compiling Mingw executables on Linux. Thanks Atik Khan for the suggestion

comment:25 Changed 14 years ago by nanang

(In [3248]) Misc (re #1068): added pjsua win32 executable name list in python test driver (to look up default pjsua executable).

comment:26 Changed 14 years ago by bennylp

(In [3249]) Misc (Re #1068): compilation warning with gcc about unchecked fgets() return value

comment:27 Changed 14 years ago by nanang

(In [3251]) Misc (re #1068), updates in python test:

  • increased receive buffer size in python test driver function inc_sip.Dialog.wait_msg_from(), the previous buffer size (2048) caused socket exception in receiving large SIP packet.
  • updated verification regex in scripts-sendto/330_srtp_prefer_rtp_savp.py (related to changes in #668: omitting media attribute in disabled/rejected media).

comment:28 Changed 14 years ago by bennylp

(In [3252]) Misc (re #1068): fix the misleading alien socket error from the SIP python self-test module

comment:29 Changed 14 years ago by nanang

(In [3253]) Misc (re #1068): fix codec selection menu in symbian_ua app to hide disabled passthrough codecs.

comment:30 Changed 14 years ago by nanang

(In [3254]) Misc (re #1068): fix compile error missing explicit casting for malloc in pjlib-test/ssl_sock.c on Symbian S60 5th ed (compiled as C++?).

comment:31 Changed 14 years ago by nanang

In r3255: more compile error/warning fixes on Symbian S60 5th ed.

comment:32 Changed 14 years ago by nanang

(In [3256]) Misc (re #1068): temporary fix address parsing in SDP connection info.

comment:33 Changed 14 years ago by bennylp

(In [3257]) Misc (re #1068): fixed couple of problems with http client unit test:

  • crash because server is let running
  • SIGPIPE on Linux in the test server code

comment:34 Changed 14 years ago by ming

(In [3258]) Misc fix (re #1068): Use default setting for path length (PJ_MAXPATH) on iPhone to accommodate long path name when running on the simulator.

comment:35 Changed 14 years ago by nanang

(In [3259]) Misc (re #1068): fix python self-test module 'mod_recvfrom.py':

  • increased message waiting timeout to 30s (was 10s)
  • added call_id check in retransmision detection

comment:36 Changed 14 years ago by bennylp

(In [3260]) Misc (re #1068): do not add To tag to the SIP response if the request already has one (thanks Rafael Maia for the suggestion)

comment:37 Changed 14 years ago by bennylp

(In [3262]) Misc (re #1068): fixed various compilation warnings with Visual Studio 6 and 2005

comment:38 Changed 14 years ago by nanang

(In [3264]) Misc (re #1068): set sip_transport_tls_ossl.c to be excluded from build on Windows Mobile build configs (obsoleted by sip_transport_tls.c).

comment:39 Changed 14 years ago by nanang

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.