Benny Prijono
a072abba0a
More re #817 : added logging
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4565 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-17 14:00:26 +00:00
Benny Prijono
369bf91f7c
Misc re #1630 : stop MWI subscription when account is unregistered, because we only start it after acc is registered
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4564 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-16 06:24:54 +00:00
Sauw Ming
b833d2a24f
Re #817 : Initial work for allowing application to respond to re-INVITE manually.
...
Patches integrated in this fix (with some modifications for adjustment to the current trunk):
- sip_inv-on_rx_reinvite.patch
Move the place where to call the callback so the callback will still be called when the re-invite contains no SDP
- sdp_neg_cancel_remote_offer
pjmedia_sdp_neg_cancel_remote_offer() is no longer necessary since pjmedia_sdp_neg_cancel_offer() can already handle that. Only integrate the chart for sdp negotiation doc.
- sip_inv-terminate-reinvite-tsx-on-cancel
- sip_inv-cancel_sdp_neg_on_sending_negative_reply_to_reinvite
- pjsip-allow_cancel_reinvite
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4562 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-15 04:23:31 +00:00
Sauw Ming
6f4a16e32b
Re #1688 : Add fix to check whether msg_data is null
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4561 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-15 01:29:03 +00:00
Sauw Ming
9d99f0f17f
Re #1630 : Fixed crash due to uninitialized dialog variable in pjsua_call_set_vid_strm()
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4560 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-12 13:50:52 +00:00
Sauw Ming
de8f79ce0a
Fixed #1689 : The bound address is not updated when UDP transport is restarted
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4559 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-12 05:01:38 +00:00
Sauw Ming
21b3d5506f
Re #1687 : Add SDP negotiation flags in invite session
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4556 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-10 04:43:52 +00:00
Sauw Ming
77dadeffa3
Closed #1688 : Add support for different To and Target URI in outgoing call and sending IM
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4555 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-10 04:27:05 +00:00
Sauw Ming
f21b037384
Closed #1687 : Allow media type change during SDP negotiation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4554 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-09 07:17:39 +00:00
Nanang Izzuddin
c0db622eea
Re #1686 : avoid cache entry destroy in update_res_cache() when it is being used by callback.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4553 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-08 01:44:48 +00:00
Nanang Izzuddin
2f362934d0
Fix #1686 : release mutex when invoking callback to avoid deadlock. Also a bit memory usage optimization, i.e: avoid bloated pool by unfreed old/expired packet in cache entry.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4552 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-05 08:14:14 +00:00
Nanang Izzuddin
d24fad9ff9
Fix #1685 : When TURN destroy is requested in state RESOLVING, pending the destroy until resolver callback is invoked.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4551 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-05 08:00:06 +00:00
Riza Sulistyo
639f9f6721
Re #1680 :
...
- Win64 Project properties modification, using x64 as target machine.
- Fix incorrect data type which might result in unsafe code.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4550 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-02 11:45:57 +00:00
Benny Prijono
9b5dfe790a
Fixed #1684 (Failed assertion when scheduling timer in the registration client):
...
- There is a potential race condition in pjsip_regc_set_delay_before_refresh() because it calls schedule_registration() without mutex protection
- Check if the timer is active and cancel it in schedule_registration() as precaution
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4548 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-28 09:25:17 +00:00
Benny Prijono
938a804c8e
More re #1683 : added two SIPP scenarios to simulate IP/port change
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4547 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-27 10:08:24 +00:00
Benny Prijono
2a4dc2dee5
More re #1683 :
...
- also update the Via port when only the port has changed AND either the received IP is public OR allow_contact_rewrite is set to 2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4546 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-27 10:07:14 +00:00
Benny Prijono
444216fc04
Re #1630 : fixed bug with via_rewrite feature. The via address is not updated on second IP change
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4545 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-26 08:07:14 +00:00
Benny Prijono
2aa09b28f2
Re #1668 : fixed silly crash in pjsua_media.c:245 caused by r4543
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4544 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-26 01:02:02 +00:00
Benny Prijono
176f2678f9
Closed #1668 : Option to use the IP address found in REGISTER response in the SDP
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4543 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-24 09:53:16 +00:00
Sauw Ming
fd8d5ddf66
Re #1682 : Use account specific variable to keep track of the next rtp port to use.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4542 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-21 07:47:41 +00:00
Sauw Ming
c41c45d17f
Closed #1682 : Configurable local port range for UDP media transport
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4539 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-21 05:12:58 +00:00
Nanang Izzuddin
69498fb477
Close #1681 :
...
- Added compile-time settings PJMEDIA_TRANSPORT_SO_RCVBUF_SIZE and PJMEDIA_TRANSPORT_SO_SNDBUF_SIZE. The default values are both 64 KB when PJMEDIA_HAS_VIDEO is set, otherwise just zero (socket buffer size uses OS default). The settings will be applied to media transport UDP and ICE.
- Also added run-time settings so_sndbuf_size and so_rcvbuf_size into ICE stream transport, STUN socket, and TURN socket. Default values are all zero.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4538 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19 09:06:55 +00:00
Riza Sulistyo
25b575b336
Re #1680 : Add initial support for Win64
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19 06:47:43 +00:00
Sauw Ming
fd3e9ebae2
Closed #1678 : Proper error handling in WAV writer
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4536 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-18 04:08:08 +00:00
Nanang Izzuddin
c6775cc6c7
Fixed #1676 : fixed assertion when SDL initialization fails on library startup.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4535 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-13 09:36:49 +00:00
Nanang Izzuddin
5c4b102f97
Close #1675 : Added callback to allow application to specify account to handle incoming message.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4534 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-13 08:56:51 +00:00
Nanang Izzuddin
590f4e221b
Re #1671 : Destroy tdata_counter only after cleaning up dangling transmit buffer.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4533 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-13 04:53:24 +00:00
Benny Prijono
d074c10c13
Fixed #1673 : Use Request URI when matching incoming request to account if the To URI contains tel: URL
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4532 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-07 07:26:33 +00:00
Sauw Ming
f74a2a2864
Re #1630 (misc): Fixed private ip detection in pjsua_acc
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4531 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-31 13:40:18 +00:00
Nanang Izzuddin
9b63b68ec1
Fixed #1671 :
...
- Transport manager maintains transmit buffer instance list, so any dangling transmit buffer will be freed when transport manager is destroyed. This is configurable via PJSIP_HAS_TX_DATA_LIST, the default is zero/disabled.
- Updated publish client subscription to not use the 'internal' pjsip_tx_data list structure.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4530 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-30 09:27:49 +00:00
Sauw Ming
1483dcd38f
Re #1630 (misc): Fixed various error handling (sip_transport.c and sip_endpoint.c)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4529 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-30 08:32:07 +00:00
Sauw Ming
7178c79099
Re #1664 : Fixed wrong handling of poll error
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4528 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-30 07:01:11 +00:00
Sauw Ming
9559aba831
Re #1630 (misc): Fixed typo and missing include in coreaudio dev
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4527 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-29 03:53:15 +00:00
Riza Sulistyo
82856f1eee
Re #1655 :
...
- Optimize android make file
- Modify android project file to enable native debugging on eclipse
- Add pjsua.cpp to svn ignore
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4526 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-28 12:20:21 +00:00
Riza Sulistyo
35112ebfed
Re #1643 : Restore configuration reset with added modification on app destroy. It was deleted from code to enable cli retain config values when restarted
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4525 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-28 12:03:36 +00:00
Nanang Izzuddin
777e12a15e
Fixed #1670 :
...
- Added 'no_rtcp_sdes_bye' to 'pjsua_media_config'.
- Modified behaviour of video stream in PJSUA to match audio stream behaviour, i.e: always send RTCP SDES when stream starts/stops and send RTCP BYE when stream stops, regardless whether 'no_rtcp_sdes_bye' is set.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4524 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-24 04:27:59 +00:00
Nanang Izzuddin
72845fcc94
Fix #1669 : When (account/global) proxy setting is changed, unregister and reset registration internal state (acc->regc) before performing re-registration. The same mechanism is also applied for any account config changes on transport, credential info, or auth preference.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4523 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-23 07:41:17 +00:00
Riza Sulistyo
ae83879e82
Re #1643 :
...
- Fix duplicate shortcut for video commands
- Fix restart command bug on legacy mode
- Fix restart bug when using add-buddy options
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4522 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-23 03:48:31 +00:00
Benny Prijono
6ce69351d2
Fixed #1667 : Handle incoming UPDATE before 101-199 response is received
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4521 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-18 05:54:22 +00:00
Benny Prijono
aeb4ab91bf
Misc re #1630 : added more error logging to SDL, to print SDL error message when an operation fails
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4520 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-16 11:32:07 +00:00
Benny Prijono
175fc31319
Misc re #1630 : link error on iOS build if LDFLAGS contains -ObjC and PJMEDIA_HAS_VIDEO is disabled
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4519 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-16 10:24:34 +00:00
Sauw Ming
2d24f27cdb
Re #1662 : Clear call descriptor before making call
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4518 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-10 10:49:01 +00:00
Sauw Ming
de7104384b
Fixed #1666 : Handle case when call unhold failed
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4517 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-10 07:41:26 +00:00
Nanang Izzuddin
9731c28d04
Fix #1665 : Added check for tx_data pending state in tsx_send_msg().
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4516 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-06 09:10:56 +00:00
Nanang Izzuddin
f54a4a5282
Fixed #1664 : Fixed the bug of unhandled error events in non-connecting socket state in ioqueue epoll.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4515 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-03 10:32:35 +00:00
Nanang Izzuddin
9ac2bbec75
Fix #1663 : Fixed pj_ioqueue_register_sock2() to avoid access to uninitialized pointer.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4514 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-03 09:07:43 +00:00
Riza Sulistyo
397a2d0bc5
Re #1643 : - Modification to shortcut handling(execution&display).
...
- Add exact match check to the parse input command process.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4513 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-03 08:47:14 +00:00
Benny Prijono
e700ec5c3b
Re #1656 : change back frags_max to 3 from -1
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4512 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-30 09:00:36 +00:00
Riza Sulistyo
f7ff24cfee
Re #1655 : add svn ignore property for pjsua android project
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4511 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-29 09:47:30 +00:00
Sauw Ming
0f9e7c092f
Re #1655 : Removed old ipjsua project and add svn ignore property
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4510 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-29 05:50:41 +00:00