summaryrefslogtreecommitdiff
path: root/pjsip
AgeCommit message (Collapse)Author
2012-10-08Fixed #1592: Multithreading issues in PJSIP (fixing pj_timer_heap_poll() and ↵Liong Sauw Ming
lock order inversion in tcp/tls transport) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4281 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-04Close #1590: APIs to facilitate pending processing of pjsip_rx_dataBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4275 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-28Close #1587: Added settings to accept call replace when in early state and ↵Nanang Izzuddin
as UAS: accept_replace_in_early_state in pjsip_cfg_t and PJSIP_ACCEPT_REPLACE_IN_EARLY_STATE macro. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4267 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-18Re #1583: Removed testing scenario accidentally left in the codeLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4260 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-18Re #1583: Fixed error propagation that caused the disconnection of the transportLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4259 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-18Fixed #1583: Unexpected SIP message transmission after transaction has timed-outLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4258 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-31Misc (re #1562): fixed compile warnings on Win platform (some are reported ↵Nanang Izzuddin
as compile error on Symbian). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4239 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-13Fixed #1569: Option to allow hash character ('#') to appear in user part of ↵Benny Prijono
SIP URL git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4228 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-13More re #1412: set default value of PJSIP_CHECK_VIA_SENT_BY to 0, because ↵Benny Prijono
now account may send requests with different Via sent-by git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4227 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-25Close #1561: Added new user credentials lookup callback that also passes ↵Nanang Izzuddin
'pjsip_rx_data'. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4214 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-23Fixed #1560: Added 'timer' in require header in sending 2xx response when ↵Nanang Izzuddin
session timer refresher is 'uac'. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4213 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-19Re #1559: Add doc about on_incoming_subscribe() to call pjsua_pres_notify() ↵Liong Sauw Ming
immediately after setting the code to 202 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4212 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-19Re #1558: Add URI test entry for this case in pjsip testLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4210 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-18Fixed #1556: Fix From/To tag and Via branch comparison to be case insensitiveLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4208 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-16Fixed #1555 : Bug with via_rewrite feature when the account gets deletedLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4206 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-19Fix #1539: Applied non-strict update of remote capability info after ↵Nanang Izzuddin
receiving the first 2xx response. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4171 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-18Re #1535: Added check if module "mod-stateful-util" has been unregistered.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4169 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-14Fixed #1535: Pending outgoing TCP transmission may cause crash if the ↵Benny Prijono
library is shutdown git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4165 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