Commit Graph

1383 Commits

Author SHA1 Message Date
Nanang Izzuddin 7e5ee37ea5 Misc (re #1630): Added doxygen describing the persistency of message data (custom/additional headers, etc) in pjsua_call_answer().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4463 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-10 05:57:46 +00:00
Nanang Izzuddin 3751fbbdeb Fix #1654: do not cancel SDP offer when transaction state changes from 'completed' to 'terminated', as it have been cancelled before (when tsx state is 'completed').
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4462 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-09 10:12:54 +00:00
Benny Prijono 83bded706b More re #1653: bug in previous checkin, the local_hold flag was released regardless of the flag
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4460 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-03 22:49:43 +00:00
Nanang Izzuddin 8c8ffa38a4 Fix #1811: Set SDP direction attribute to "sendonly" in answering call unhold request after double holds to maintain the local hold status.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4458 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-03 10:04:18 +00:00
Benny Prijono 2342996ebb Fixed #1653: [incompatible] pjsua_call_update() API should not release hold
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4457 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-03 08:21:47 +00:00
Benny Prijono 5ecc79a71f Fixed #1652: Media feature tag "+sip.ice" is not used because of wrong account initialization sequence
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4456 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-03 01:38:22 +00:00
Benny Prijono ddc6ce3575 Fixed #1651: incoming CANCEL request is not reported in any callbacks
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4455 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-03 00:54:37 +00:00
Sauw Ming 67feae74e2 Re #1630 (misc): Added missing destroy of mutexes. This may cause failure to recreate the mutexes in some platforms (such as BB10).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4454 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-29 04:55:43 +00:00
Sauw Ming 8f5b0a5b49 Re #1630 (misc): Fixed compilation problem due to r4275 if PJSIP_CHECK_VIA_SENT_BY is set
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4453 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-29 02:19:27 +00:00
Sauw Ming 6ec1b25285 Fixed #1650: Close sound device when outgoing call fails
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4452 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-28 04:00:28 +00:00
Sauw Ming ba76e9b74b Re #1630: Prevent the update of TCP transport address if the address is zero.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4451 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-27 03:19:51 +00:00
Nanang Izzuddin be038078b2 Fix #1649: Invoke SIP TLS transport callback when transport is shutdown by TLS certificate verification error.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4450 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-22 08:28:42 +00:00
Benny Prijono b3a1ee28ba More on re #1646: added flag to prevent another transmit data from being transmitted while we are waiting for the previous one to be flushed from transport queue
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4448 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-21 11:38:05 +00:00
Nanang Izzuddin 6a2c85188f Close #1647: updated subscription lookup in on_new_transaction() to skip subscription with NO_EVENT_ID and already terminated.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4447 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-21 08:28:21 +00:00
Benny Prijono 8db8aa1dad Part 2, fixed #1646: crash in transaction when it is destroyed while transport operation is in progress
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4446 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-21 06:07:28 +00:00
Nanang Izzuddin 75d41475ef Misc (re #1630): Exported parse_generic_array_hdr() implementation, named pjsip_parse_generic_array_hdr_imp().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4445 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-20 11:29:08 +00:00
Benny Prijono 29c337bcc1 Part 1 of re #1646: fixed the deadlock problem in SIP transaction related to transport event
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4444 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-20 11:02:45 +00:00
Nanang Izzuddin 532f572baf Close #1645: Added run-time setting 'pjsip_cfg()->req_has_via_alias' and compile-time setting 'PJSIP_REQ_HAS_VIA_ALIAS', the default value is PJ_TRUE.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4442 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-19 07:39:25 +00:00
Nanang Izzuddin ff5531dce1 Re #1644: Added run-time setting 'pjsip_cfg()->follow_early_media_fork' and compile-time setting 'PJSIP_FOLLOW_EARLY_MEDIA_FORK', the default value is PJ_TRUE.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4441 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-19 03:51:10 +00:00
Benny Prijono 5d47423d8e Fixed #1642: Media transport may not be cleaned up if call is hung up quickly
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4439 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-13 04:47:19 +00:00
Sauw Ming d0d0214b93 Fixed #1641: Handling transport disconnection when the transaction state is still in null state
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4438 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-12 08:18:12 +00:00
Benny Prijono 3435f2c226 Fixed #1640: Registration is terminated permanently on 480 (Temporarily Not Available) response when it should have been retried
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4436 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-11 10:06:50 +00:00
Sauw Ming 93b3252fb3 Fixed #1637: Crash in pjsua_media_channel_update() if one media gets rejected
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4433 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-08 08:52:40 +00:00
Sauw Ming ef9cffa687 Fixed #1633: Crash if on_redirected() callback is not implemented and UAC receives 422 response
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4425 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-06 09:36:05 +00:00
Sauw Ming 97227d7447 Fixed #1632: Remove Contact header in MESSAGE requests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4424 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-06 06:58:40 +00:00
Sauw Ming dd44fb1ba1 Fixed #1629: Add pjsua_call_set_hold2() API to allow update of Contact header
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4421 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-06 05:55:09 +00:00
Benny Prijono 74f8514333 Implementation of Re #1628: Modify SIP transaction to use group lock to avoid deadlock etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4420 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 11:59:54 +00:00
Riza Sulistyo 152b642843 Misc (re #1559): fixed compile errors/warnings on MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4412 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 03:12:32 +00:00
Nanang Izzuddin 414d34ca74 Misc (re #1559): fixed compile errors/warnings on Symbian platform.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4411 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-04 04:34:38 +00:00
Sauw Ming 8ba9a4101d Fixed #1626: Assertion when remote sends re-INVITE with less media
Included in the fix is sipp testing scenario.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4373 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-27 06:44:44 +00:00
Nanang Izzuddin 581cf335e5 Close #1627: invoke on_tsx_state_changed() callback from on_call_state(DISCONNECTED).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4371 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-26 12:38:27 +00:00
Nanang Izzuddin 05c3eaf39b Close #1615: Fixed bug in URI scheme check macro PJSIP_URI_SCHEME_IS_SIP()/SIPS/TEL.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4370 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-26 05:30:00 +00:00
Nanang Izzuddin 1d66832a6a Close #1625: Introduced new API pjmedia_sdp_validate2() for allowing SDP media without c= line when port is zero, currently it is only applied in validating remote SDP.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4367 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 20:49:19 +00:00
Benny Prijono 7f8625a806 Re #1623: fixed deadlock between conference mutex and ICE. Scenario:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@4363 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 16:43:24 +00:00
Nanang Izzuddin 39a4937dc5 Re #1242: fixed silly mistake unremoved test code.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4356 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19 19:45:45 +00:00
Nanang Izzuddin fdc115fa8a Misc (re #1559): Added INFO into Allow header for PJSUA.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4354 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19 16:22:31 +00:00
Nanang Izzuddin 40329b2174 Re #1242: Fixed overridden media direction and c=0.0.0.0 line in the 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: https://svn.pjsip.org/repos/pjproject/trunk@4353 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19 16:16:37 +00:00
Benny Prijono 2c10892764 Fixed #1619: transport error on re-INVITE should not terminate call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4351 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19 05:18:36 +00:00
Nanang Izzuddin f53a34ecd8 Re #1242: Fixed ICE nego completion check as it always returns FALSE when peer doesn't support ICE.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4350 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-15 03:57:31 +00:00
Nanang Izzuddin 0c662eadf7 Close #1614: Added call redirect option PJSIP_REDIRECT_ACCEPT_REPLACE to accept call redirection with replaced 'To' header.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4347 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-13 10:19:25 +00:00
Nanang Izzuddin 2343c259d5 Re #1568: (PJSIP 2.x) No need to restart media when remote RTP address changed but ICE transport is running.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4345 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-13 07:43:32 +00:00
Nanang Izzuddin a2174066e7 Close #1602: configurable local port range for ICE transport.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4343 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-07 09:35:34 +00:00
Nanang Izzuddin c6c69db96e Close #1242: Single re-INVITE/UPDATE for both lock codec and ICE negotiation updates.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4342 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-06 13:48:45 +00:00
Nanang Izzuddin 544c6db59e Misc (re #1562): pjsua_call_set_vid_strm() should acquire call dialog.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4341 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-05 12:21:30 +00:00
Sauw Ming b3010ae7ee Re #1568: (PJSIP 2.x) Apply pjsua_media_config before detecting media change and fixed encoding name string duplication.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4336 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-29 08:15:02 +00:00
Benny Prijono 88fede97c8 Fixed #1611: Add missing Supported header in UPDATE for Session Timers. Also fixed minor placement error of pjsip_dlg_dec_lock() in pjsip_inv_update(). The dec_lock was called too early before calling pjsip_timer_update_req().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4323 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-17 12:57:46 +00:00
Benny Prijono 2e5b5c63e5 Really fix #1609 after better understanding about the problem. This changeset:
- undo r4320
 - remove the reliance on NULL termination in sip_auth_client.c
 - add the NULL termination when printing tel: URI just in case other components use it



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4322 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-17 10:09:09 +00:00
Benny Prijono c4e8bdcc31 Fixed #1609: Garbage character may be printed after the URI parameter in Authorization/Proxy-Authorization header
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4320 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-17 09:16:10 +00:00
Benny Prijono 23b19389b2 Fixed #1606: Support query-only on registration bindings
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4319 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-16 10:20:55 +00:00
Benny Prijono 3c53b4602a Fixed #1607: Send UDP keep-alive to original request address if response comes from different address
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4318 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-16 09:51:45 +00:00
Nanang Izzuddin 0fdbd978d8 Fix #1605: always re-init media channel for SDP re-offer/answer generation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4315 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-11 08:53:52 +00:00
Sauw Ming 966a1381ff Fixed #1601: Add locking mechanism when ICE transport is in negotiation state
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4313 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-04 07:37:27 +00:00
Sauw Ming 3c89a2529a Fixed #1599: Fixed bug that caused new contact not being used in UPDATE/re-INVITE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4309 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-14 07:49:38 +00:00
Sauw Ming 6abce2c0b8 Re #1559: Fix dependencies when running parallel make (thanks Shaun Ruffell for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4308 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-13 06:37:05 +00:00
Sauw Ming f78362b7ff Re #1595: Restrict the fix in r4300 so it only applies to outgoing call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4307 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-13 03:46:12 +00:00
Sauw Ming 8a3ce34f53 Fixed #1598: Assertion when sip error code is not set (thanks Peter Koletzki for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4306 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-12 06:20:28 +00:00
Benny Prijono 3a05a85db7 Misc (re #1562): Add a protection in med_tp_timer_cb() against call that may 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: https://svn.pjsip.org/repos/pjproject/trunk@4305 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-05 10:40:56 +00:00
Benny Prijono 6ad9a6ed1f Fixed #1597: Handle socket failure in STUN resolution when coming back from iPhone/iOS background mode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4304 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-05 09:48:44 +00:00
Sauw Ming 8f07b96056 Fixes #1596: Fix handling of incoming UPDATE request
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4301 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-26 02:54:17 +00:00
Sauw Ming 0979e8dba3 Fixes #1595: Allow call hangup immediately after outgoing call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4300 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-26 02:04:17 +00:00
Benny Prijono 79eddc4cdd Re #1562: PJSUA-LIB shutdown operation may block for a long time if system time is modified while the shutdown is in progress. Also fixed similar issue in STUN client.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4297 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-13 08:46:42 +00:00
Nanang Izzuddin 4aa539e224 Re #1590: Fixed pjsip_rx_data_clone() when there are multiple instances of a single header type (thanks Mike Evans for the report and the fix).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4295 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-06 05:22:11 +00:00
Nanang Izzuddin c93d4fe56a Misc (re #1562): Fixed Symbian build errors on S60 5th edition SDK.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4294 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-06 05:02:10 +00:00
Nanang Izzuddin d9a37eda25 Re #1590: Fixed compile error 'invalid conversion from `pj_list_type*' to `pjsip_module*' on Symbian (thanks Rubel for the report).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4291 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-01 03:45:40 +00:00
Benny Prijono eed4223f7c Misc (re #1559): Require name-addr to have the quote if display name is given. Previously an URI like this will be accepted: "301 301" sip:301@host
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4288 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-26 09:30:37 +00:00
Nanang Izzuddin 36bdd9cf13 Re #1569: Fixed missing default value setting for pjsip_cfg()->allow_tx_hash_in_uri.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4285 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-19 04:23:57 +00:00
Sauw Ming b6c3f36e97 Fixed #1592: Multithreading issues in PJSIP (fixing pj_timer_heap_poll() and lock order inversion in tcp/tls transport)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4281 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-08 08:13:12 +00:00
Sauw Ming 87d7051e73 Fixed #1591: Fixed dialog locking in acquire_call() when media transport is created asynchronously.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4280 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-08 05:23:34 +00:00
Sauw Ming 460971fc7d Re #1562: Fixed default custom media transport creation callback flag. By default, custom media transport should close its member transport.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4279 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-08 02:55:22 +00:00
Benny Prijono 6c80455c1e Close #1590: APIs to facilitate pending processing of pjsip_rx_data
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4275 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-04 06:11:58 +00:00
Benny Prijono eb98937948 Fixed #1588: State PJSIP_INV_STATE_NULL is called after call has been disconnected
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4273 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-02 02:47:08 +00:00
Nanang Izzuddin 0bcd10fde9 Re #1587: Respond to call replace request with the last provisional response sent in the replaced call.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4269 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-28 10:07:22 +00:00
Nanang Izzuddin 3f74e4bdbf Re #1587:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@4268 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-28 08:56:08 +00:00
Nanang Izzuddin 32709d58d1 Close #1587: Added settings to accept call replace when in early state and as UAS: accept_replace_in_early_state in pjsip_cfg_t and PJSIP_ACCEPT_REPLACE_IN_EARLY_STATE macro.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4267 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-28 06:17:11 +00:00
Benny Prijono e135917e37 Fixed #1585: IPv6 support for SIP TCP and TLS transports and PJSUA-LIB v2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4262 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-20 06:00:23 +00:00
Sauw Ming 28bd76b7ac Re #1583: Removed testing scenario accidentally left in the code
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4260 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-18 09:38:44 +00:00
Sauw Ming 065d554b99 Re #1583: Fixed error propagation that caused the disconnection of the transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4259 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-18 09:35:54 +00:00
Sauw Ming a602fe6ec4 Fixed #1583: Unexpected SIP message transmission after transaction has timed-out
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4258 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-18 08:39:46 +00:00
Nanang Izzuddin f0aabd3362 Close #1568:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@4254 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-14 04:06:29 +00:00
Nanang Izzuddin 3b078ed1dd Fix #1580: Add SDP connection line in disabled or rejected media when there is none (in media/session level).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4245 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-05 03:23:01 +00:00
Nanang Izzuddin eead47497d Fix #1574: Fixed silly mistake in the media channel init condition in pjsua_call_answer2().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4244 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-03 12:27:01 +00:00
Nanang Izzuddin be8ab38d78 Fix #1579: Update Symbian APS/VAS to use new pjmedia_format.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4243 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-31 11:42:17 +00:00
Benny Prijono 164edc0e95 Fixed #1578: Possible deadlock when call is adding new media with ICE and STUN enabled:
svn commit pjsip/src/pjsua-lib/pjsua_media.c -m Fixed

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4242 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-31 10:07:05 +00:00
Nanang Izzuddin 9846a0c606 Misc (re #1562): fixed compile warnings on Win platform (some are reported as compile error on Symbian).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4239 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-31 06:29:13 +00:00
Sauw Ming eba7bdc29f Fixed #1572: duplicate transport attributes when modifying video stream call
Only encode the media transport if changing the direction from NONE to !NONE.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4236 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-24 03:49:15 +00:00
Sauw Ming c27560cda8 Re #1562: Fixed compilation error if PJMEDIA_HAS_PASSTHROUGH_CODECS is enabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4234 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-22 09:07:40 +00:00
Benny Prijono 4b57f582df More #1412: also handle the case for presence subscription, publish, and mwi when the account does not have registration
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4229 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-13 09:15:39 +00:00
Benny Prijono c858d74144 Fixed #1569: Option to allow hash character ('#') to appear in user part of SIP URL
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4228 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-13 07:26:03 +00:00
Benny Prijono 4394029cd8 More re #1412: set default value of PJSIP_CHECK_VIA_SENT_BY to 0, because now account may send requests with different Via sent-by
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4227 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-13 06:32:55 +00:00
Nanang Izzuddin 9ca1c8cdbe Re #1562: Added compile-time setting to enable/disable "c=" line in SDP session level. The default is disabled.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4225 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-09 09:16:31 +00:00
Nanang Izzuddin b2b5f167fb Close #1567: Added option to use STUN2 format for resolving mapped address in pjsua_config.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4224 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-09 05:21:25 +00:00
Nanang Izzuddin 37de76e0dc Fixed #1563: Crash when resolving STUN when there is no network connectivity.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4219 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-07 02:53:03 +00:00
Benny Prijono c7abc1b598 Fixed #1412: Account specific NAT settings: STUN, ICE, and TURN
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4218 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-07 02:18:15 +00:00
Nanang Izzuddin c47362b29e Close #1561: Added new user credentials lookup callback that also passes 'pjsip_rx_data'.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4214 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-25 14:29:28 +00:00
Nanang Izzuddin 5c5220d0c6 Fixed #1560: Added 'timer' in require header in sending 2xx response when session timer refresher is 'uac'.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4213 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-23 13:31:26 +00:00
Sauw Ming b4a4719da1 Re #1559: Add doc about on_incoming_subscribe() to call pjsua_pres_notify() immediately after setting the code to 202
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4212 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-19 08:54:35 +00:00
Sauw Ming 1993a7613a Re #1558: Add URI test entry for this case in pjsip test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4210 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-19 01:00:07 +00:00
Sauw Ming 969227ce0c Fixed #1556: Fix From/To tag and Via branch comparison to be case insensitive
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4208 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-18 07:52:33 +00:00
Sauw Ming 14dfc0e48b Fixed #1555 : Bug with via_rewrite feature when the account gets deleted
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4206 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-16 02:45:09 +00:00
Benny Prijono 1a90f4948e Fixed #1553: Account setting to disable re-INVITE or UPDATE to lock codec
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4204 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-13 07:38:06 +00:00