summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsua-lib
AgeCommit message (Collapse)Author
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
2012-06-26Re #1540: Modify MWI subscription setting on run-timeLiong Sauw Ming
* Add subscription state callback * Terminate subscription when deleting acc git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4180 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-23Re #1526: r4175 missed PJSUA_UNLOCK() on some failure cases in ↵Nanang Izzuddin
pjsua_call_answer2(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4176 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-22Fix #1526:Nanang Izzuddin
- Fix incoming call without SDP by delaying media init in on_incoming_call() until call setting is set i.e: via call answer. Note that there is no need to delay the media init in the case of call replace request, the call setting is already set in the incoming call callback, i.e: via on_call_replace_request2() callback or just the current setting of the replaced call. - Fix processing call replace request when the media init is performed asynchronously. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4175 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-20Fixed #1537: Via rewrite: putting the right IP address in Via sent-by for ↵Liong Sauw Ming
outgoing requests git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4173 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-19Close #1540:Nanang Izzuddin
- added pjsua_acc_config.mwi_expires, also compile-time macro PJSIP_MWI_DEFAULT_EXPIRES - updated pjsua_acc_modify() to update MWI subscription when mwi_expires & mwi_enabled of pjsua_acc_config is modified git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4172 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-12Close #1534: done.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4164 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-11Fixed #1533: Deadlock in processing media transport asynchronous creation ↵Benny Prijono
completion (thank you Itay Bianco for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4163 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-05Re #1527: fixed bug in pjsua-lib, where registration operation may cause ↵Benny Prijono
wrong timer entry (with _timer_id=0) to be cancelled accidentally. This could happen when turning registration ON after it was off. Thanks Itay Bianco for the report git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4155 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-05Re #1527: added debugging facility to the timer heap. By enabling ↵Benny Prijono
PJ_TIMER_DEBUG, application can use pj_timer_heap_dump() or pjsip_endpt_dump() to dump the timer entries along with the source location where it is scheduled from. The macro will also enable dumping the timer heap entries when the SIP endpoint is being destroyed git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4154 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-22Fixed #1515: Sound device is not closed when the call fails to connect ↵Benny Prijono
(thanks Régis Montoya for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4145 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-22Re #1514: fixed the incoming call scenario, and changed disconnection code ↵Benny Prijono
from Precondition Failure to Temporarily Unavailable git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4136 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-22Fixed second problem in re #1514: NULL state is reported instead of ↵Benny Prijono
DISCONNECTED state if call is disconnected due to transport (ICE) initialization error git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4135 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-22Fixed first problem in #1514: assertion when media transport initialization failBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4134 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-21Fix #1511: destroy the media transport of the removed media.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4132 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-17Re #1509: backported r4122-r4129.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4130 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-17Close #1506: Added PJSUA callback for SDP creation.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4128 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-14Re #1509: backported r4112-4121Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4122 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-04Fixed #1504: Crash when trying to answer calls but call has been disconnectedLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4118 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26Fix #1497: reset call->inv to NULL whenever call is terminated prematurely ↵Nanang Izzuddin
(before completely attached to pjsua). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4102 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26Fix #1496: destroying call media transports in pjsua_media_subsys_destroy() ↵Nanang Izzuddin
should be done using pjsua_media_channel_deinit(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4101 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26Misc (re #1446): Fixed compile errors on Symbian S60 5th Ed SDK: ↵Nanang Izzuddin
unrecognized a struct defined inside another struct and 64 bit integer constants suffix. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4099 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26Re #1474: merged r4093:4095Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4096 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26Re #1474: this is supposed to be part of r4082 above, which is the merging ↵Benny Prijono
of r4054 to r4079. Somehow it was left uncommitted! git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4090 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26Re #1446 (misc): Disable SDL by default on iOS and fixed various compiler ↵Liong Sauw Ming
warnings. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4087 74dad513-b988-da41-8d7b-12977e46ad98