summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsua-lib
AgeCommit message (Collapse)Author
2013-02-27Fixed #1626: Assertion when remote sends re-INVITE with less mediaLiong Sauw Ming
Included in the fix is sipp testing scenario. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4373 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-26Close #1627: invoke on_tsx_state_changed() callback from ↵Nanang Izzuddin
on_call_state(DISCONNECTED). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4371 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-26Close #1615: Fixed bug in URI scheme check macro ↵Nanang Izzuddin
PJSIP_URI_SCHEME_IS_SIP()/SIPS/TEL. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4370 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21Re #1623: fixed deadlock between conference mutex and ICE. Scenario: Benny Prijono
- sound device thread calls put_frame() which gets the conf mutex, and is calling transport sendto() to send RTP packet which requires ICE mutex. - The worker thread finished ICE negotiation and notifies PJSUA-LIB and application while holding ICE group lock, app then do conf_connect() which causes deadlock. This fix defer the callback to a timer. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4363 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19Re #1242: fixed silly mistake unremoved test code.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4356 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19Misc (re #1559): Added INFO into Allow header for PJSUA.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4354 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19Re #1242: Fixed overridden media direction and c=0.0.0.0 line in the ↵Nanang Izzuddin
re-invite. For example when sending call hold and remote answers with multiple codecs, re-invite of lock codec is sent with SDP a=sendrecv line. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4353 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-15Re #1242: Fixed ICE nego completion check as it always returns FALSE when ↵Nanang Izzuddin
peer doesn't support ICE. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4350 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-13Re #1568: (PJSIP 2.x) No need to restart media when remote RTP address ↵Nanang Izzuddin
changed but ICE transport is running. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4345 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-07Close #1602: configurable local port range for ICE transport.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4343 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-06Close #1242: Single re-INVITE/UPDATE for both lock codec and ICE negotiation ↵Nanang Izzuddin
updates. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4342 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-05Misc (re #1562): pjsua_call_set_vid_strm() should acquire call dialog.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4341 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-29Re #1568: (PJSIP 2.x) Apply pjsua_media_config before detecting media change ↵Liong Sauw Ming
and fixed encoding name string duplication. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4336 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-16Fixed #1607: Send UDP keep-alive to original request address if response ↵Benny Prijono
comes from different address git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4318 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-11Fix #1605: always re-init media channel for SDP re-offer/answer generation.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4315 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-04Fixed #1601: Add locking mechanism when ICE transport is in negotiation stateLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4313 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-14Fixed #1599: Fixed bug that caused new contact not being used in ↵Liong Sauw Ming
UPDATE/re-INVITE git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4309 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-13Re #1595: Restrict the fix in r4300 so it only applies to outgoing callLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4307 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-12Fixed #1598: Assertion when sip error code is not set (thanks Peter Koletzki ↵Liong Sauw Ming
for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4306 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-05Misc (re #1562): Add a protection in med_tp_timer_cb() against call that may ↵Benny Prijono
have been terminated before ICE callback is called. It has been reported that this has caused a crash, but we cannot reproduce it. Thanks Karina for the report. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4305 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-05Fixed #1597: Handle socket failure in STUN resolution when coming back from ↵Benny Prijono
iPhone/iOS background mode git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4304 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-26Fixes #1595: Allow call hangup immediately after outgoing callLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4300 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-13Re #1562: PJSUA-LIB shutdown operation may block for a long time if system ↵Benny Prijono
time is modified while the shutdown is in progress. Also fixed similar issue in STUN client. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4297 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-06Misc (re #1562): Fixed Symbian build errors on S60 5th edition SDK.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4294 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-08Fixed #1591: Fixed dialog locking in acquire_call() when media transport is ↵Liong Sauw Ming
created asynchronously. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4280 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-08Re #1562: Fixed default custom media transport creation callback flag. By ↵Liong Sauw Ming
default, custom media transport should close its member transport. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4279 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-02Fixed #1588: State PJSIP_INV_STATE_NULL is called after call has been ↵Benny Prijono
disconnected git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4273 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-28Re #1587: Respond to call replace request with the last provisional response ↵Nanang Izzuddin
sent in the replaced call. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4269 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-28Re #1587:Nanang Izzuddin
- Don't answer call replace request with 200 if the replaced call hasn't reach confirmed state and has UAS role. - Only apply accept_replace_in_early_state when call is in early state. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4268 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-20Fixed #1585: IPv6 support for SIP TCP and TLS transports and PJSUA-LIB v2Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4262 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-14Close #1568:Nanang Izzuddin
- Added media change detection based on SDP negotiation result and local codec param settings, the detection result will decide whether the media should be re-initialized after the SDP negotiation. - Fixed stream to keep the duplicate of codec param for the stream info (was only copying the pointer). - Introduced macro PJSUA_THIRD_PARTY_STREAM_HAS_GET_INFO & PJSUA_THIRD_PARTY_STREAM_HAS_GET_STAT. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4254 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-05Fix #1580: Add SDP connection line in disabled or rejected media when there ↵Nanang Izzuddin
is none (in media/session level). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4245 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-03Fix #1574: Fixed silly mistake in the media channel init condition in ↵Nanang Izzuddin
pjsua_call_answer2(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4244 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-31Fix #1579: Update Symbian APS/VAS to use new pjmedia_format.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4243 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-31Fixed #1578: Possible deadlock when call is adding new media with ICE and ↵Benny Prijono
STUN enabled: svn commit pjsip/src/pjsua-lib/pjsua_media.c -m Fixed git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4242 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-24Fixed #1572: duplicate transport attributes when modifying video stream callLiong Sauw Ming
Only encode the media transport if changing the direction from NONE to !NONE. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4236 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-22Re #1562: Fixed compilation error if PJMEDIA_HAS_PASSTHROUGH_CODECS is enabledLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4234 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-13More #1412: also handle the case for presence subscription, publish, and mwi ↵Benny Prijono
when the account does not have registration git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4229 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-09Re #1562: Added compile-time setting to enable/disable "c=" line in SDP ↵Nanang Izzuddin
session level. The default is disabled. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4225 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-09Close #1567: Added option to use STUN2 format for resolving mapped address ↵Nanang Izzuddin
in pjsua_config. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4224 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-07Fixed #1563: Crash when resolving STUN when there is no network connectivity.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4219 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-07Fixed #1412: Account specific NAT settings: STUN, ICE, and TURNBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4218 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-13Fixed #1553: Account setting to disable re-INVITE or UPDATE to lock codecBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4204 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-09Fix #1550: Auto re-registration does not work if application does not set ↵Nanang Izzuddin
on_transport_state(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4200 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-05Fix #1547:Nanang Izzuddin
- Added PJMEDIA_MAX_MRU to specify maximum packet size in receiving direction. - Added max_pkt_size into pj_turn_sock_cfg, default is PJ_TURN_MAX_PKT_LEN. - Fixed hardcoded MTU settings in media transport SRTP. - Added MIN_CHUNKS_PER_FRM constant in video stream. Notes: - PJMEDIA_MAX_MTU & PJMEDIA_MAX_MRU to specify max packet size for TX and RX dir. - For ICE media transport, TURN session limits outgoing packet size to PJ_TURN_MAX_PKT_LEN (the size of internal buffer for inserting TURN overheads). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4197 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-05Re #1548: Crash due to racing condition in timer when call is disconnected ↵Benny Prijono
quickly (thanks Joshua Colp for the report!) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4196 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-29Re #1540: Fixed assertion when terminating MWI subscriptionLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4186 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-28Re #1537: Modify NAT detection to no longer update the transport address.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4185 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-27Re #1524: Added call to pjmedia_transport_simulate_lost() for async media ↵Liong Sauw Ming
transport creation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4182 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-27Re #1537: Fixed bug that does not update via_sent_by upon NAT address update.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4181 74dad513-b988-da41-8d7b-12977e46ad98