Commit Graph

753 Commits

Author SHA1 Message Date
Benny Prijono de6f31c45b Missing PJ_DECL in pjsip_tx_data_create() declaration (thanks Tomáš Valenta for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2326 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-27 08:55:16 +00:00
Benny Prijono 247921bdf1 More ticket #643: added setting to disable this ticket (by setting allow_contact_rewrite to 2)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2325 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-26 22:06:11 +00:00
Benny Prijono 7f630433a1 Ticket #643: Do not try to re-register with a new Contact when the REGISTER response contains private IP address
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2316 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-24 16:52:41 +00:00
Benny Prijono 3c5e28b2f6 Ticket #635: Disconnect the other call leg when multiple 2xx/OK responses to INVITE are received due to forking
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2315 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-24 10:10:15 +00:00
Benny Prijono 189195de83 Fixed bug in pjsip_auth_clt_clone(), the cached_auth list is not initialized in the copy
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2314 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-24 09:51:51 +00:00
Nanang Izzuddin d704a8b6b8 Fixed bug missing reinit med_orig when reinit pjsua media transports.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2309 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-23 16:34:07 +00:00
Benny Prijono e6da48a8d8 Ticket #641: Assertion error when late 200/OK is received after call has been disconnected (thanks Dan Åberg for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2306 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-22 14:36:00 +00:00
Benny Prijono 59e9e95ad4 Ticket #640: Crash when receiving ACK with SDP after BYE has been received (thanks Amit Sharma for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2304 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-21 22:55:43 +00:00
Benny Prijono 3c97d9b353 Ticket #639: added torture tests for handling non-ASCII UTF-8 characters in SIP message elements
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2303 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-21 22:01:46 +00:00
Benny Prijono 91d06b6179 Ticket #611: Configuration option to force the route URI to use loose routing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2301 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-20 12:16:56 +00:00
Nanang Izzuddin 4494a48287 Ticket #631:
- Changed rem_rtp/rtcp_addr to src_rtp/rtcp_addr in media transport info
 - Updated behaviour of media transport get info, when the transport hasn't receive any packet src_rtp/rtcp_addr will not be set.
 - Fixed bug in pjsua_call_dump that rem_addr was unset.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2293 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-18 12:58:33 +00:00
Nanang Izzuddin ff2b11076b Ticket #631:
- Added new fields in media transport info: remote address originating RTP & RTCP.
 - Updated transport UDP & ICE to fill above fields in getting transport info.
 - Updated pjsua call dump, instead of showing remote RTP address from SDP, it will show address of RTP originator.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2291 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-17 15:32:06 +00:00
Nanang Izzuddin 4d535bbc36 Ticket #625: Added missing fix of unicode build issues in test-pjsip/uri_test.c.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2287 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-16 18:09:22 +00:00
Nanang Izzuddin 7d1ac29141 Ticket #625: Fixed unicode build issues on Windows platforms (thanks David Parker for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2286 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-16 17:02:48 +00:00
Nanang Izzuddin 0cff128244 Ticket #627: Fixed general compiler warning when building for WinCE (thanks David Parker for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2285 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-16 16:45:29 +00:00
Benny Prijono 0378905e8d Ticket #634: Assertion when rejecting incoming INVITE when the call arrives while pjsip is being shutdown
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2280 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-16 14:30:50 +00:00
Benny Prijono 978de6e88b Ticket #624: Assertion error when pjsua_acc_del() is followed immediately by pjsua_acc_add() (thanks Dan Aberg and Salahuddin Ahmed for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2278 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-15 14:56:05 +00:00
Benny Prijono dbd9d4bbd8 Ticket #623: Assertion when receiving SUBSCRIBE with non presence event (thanks Lucas Rosa Galêgo for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2273 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-11 10:25:51 +00:00
Benny Prijono 2d2cc943bb Ticket #620: PRACK is sent to the wrong UAS when 100rel is used and the dialog forks (thanks Ruud Klaver for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2271 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-11 08:00:47 +00:00
Benny Prijono 27c256ae25 Ticket #613: Added packet discard statistic in pjsua 'dq' output
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2266 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-08 21:31:36 +00:00
Benny Prijono 232759b022 Ticket #615: Error adding new buddy in the on_incoming_subscribe() callback (thanks Joseph Maiquez for reporting the error)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2264 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-08 12:46:29 +00:00
Benny Prijono 40860c373e Ticket #610: Added sample to create a media transport adapter, similar to how SRTP media transport works
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2262 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-04 13:55:33 +00:00
Benny Prijono cf986c441c Ticket #608: Added API to retrieve media transport and session from pjsua call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2259 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-02 11:25:07 +00:00
Nanang Izzuddin 437d77c2ac Ticket #602: fixed assertion of invalid stream index supplied to pjmedia_session_get_stream_stat().
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2245 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-26 18:04:15 +00:00
Nanang Izzuddin a815ceb29b Ticket #602:
- Introduced new API pjmedia_rtp_session_init2() to enable intializing RTP session with non-default initial settings
 - Updated stream so it can be created with non-default initial RTP settings.
 - Updated pjsua-lib to make sure RTP timestamp and sequence contigue when stream session is restarted.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2241 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-26 16:51:28 +00:00
Nanang Izzuddin 6df1d5338e Ticket #583: Fixed preprocessor check in pjsua_media.c on deinit-ing IPP codec.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2235 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-25 13:46:03 +00:00
Nanang Izzuddin 3c1ae63cc7 Fixed pjsua-lib bug that it failed to connect sound device & conference for some audio_frame_ptime settings (thanks Thomas Ramp).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2229 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-21 15:04:20 +00:00
Benny Prijono c671bf86e8 pjsip_endpt_handle_events2() is loosing the error code in MacOS X if pj_ioqueue_poll() returns error. This is because pj_thread_sleep() always set errno to ETIMEDOUT on MacOS X (thanks Ruud Klaver for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2226 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-19 16:18:02 +00:00
Benny Prijono a4e7cddd29 More ticket #583: a bit of tidying up and renamed macro names etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2225 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-19 15:01:48 +00:00
Nanang Izzuddin 7dd3268d96 Ticket #583: Added missing IPP codec deinit and fixed matching #if-#endif in IPP codec encode.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2223 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-19 11:23:33 +00:00
Nanang Izzuddin 493a8db2d7 Ticket #583: Initial source of IPP codecs wrapper.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2216 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-15 13:17:39 +00:00
Benny Prijono 80cae1b9b0 Ticket #592: URI comparison may crash the application (thanks Pedro Gonçalves for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2205 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-12 10:55:28 +00:00
Benny Prijono 551af42ca3 Ticket #586: Added ICE negotiations test to test the scenario when two agents have different number of components
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2196 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-07 09:55:52 +00:00
Benny Prijono a330d4553a Ticket #585: Handle non-SIP URI in Contact header of incoming INVITE and SUBSCRIBE requests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2194 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-05 20:14:39 +00:00
Benny Prijono 984080bd69 Implement ticket #551: Generic URI scheme handler (thanks Juri Glaß for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2193 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-05 19:28:17 +00:00
Nanang Izzuddin 99d69522ac Ticket #563: Updated SDP offer/answer related to call hold scenario to conform to RFC 3264 section 8.4 (before: 'a=inactive' and 'c=0.0.0.0', now: 'a=sendonly' and muted ports).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2191 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 15:01:38 +00:00
Benny Prijono 33c9db0ea3 Fixed compilation warning in test-pjsip
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2189 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 14:30:33 +00:00
Benny Prijono ed3bd6ffa8 Changed SIP transport to use active socket to fix ticket #579: "Data loss with TCP sockets (thanks Helmut Wolf for the report)". Also added SIP more TCP transport tests to reproduce the bug
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2188 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 10:52:51 +00:00
Benny Prijono 7f6ee02164 Fixed ticket #582: Extended presence status is not sent in initial NOTIFY request (thanks Joseph Maiquez for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2186 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-31 08:32:46 +00:00
Benny Prijono b1c620431a Fixed ticket #581: Fixed build dependencies in the makefiles
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2183 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-29 11:42:20 +00:00
Benny Prijono 1523ff9333 Ticket #538: Closed TCP connection should be removed from the hash table immediately
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2180 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-28 20:17:04 +00:00
Benny Prijono 4676455ef0 Ticket #580: Incoming target refresh request does not update the Contact header (thanks Joel Dodson for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2179 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-28 18:57:36 +00:00
Benny Prijono 705e784529 Ticket #576: Added user data in pjsua account and buddy
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2162 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-21 18:12:51 +00:00
Benny Prijono d6e362a2b5 Ticket #571: Coloring for logs in Linux/UNIX, two more spaces in logs and runtime log colors configuration (thanks Ondrej.Sterbak)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2159 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-19 17:53:47 +00:00
Benny Prijono d7e2658d30 Related to ticket #192: crash when shutting down pjsua if buddy pool has been destroyed when presence subscription callback is called
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2157 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-18 23:51:49 +00:00
Nanang Izzuddin 660eee8b32 Added ability to dump extended statistics (RTCP XR) in pjsua.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2152 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-17 14:54:03 +00:00
Benny Prijono 63fba01e16 Ticket #192: Add callback to notify application about incoming SUBSCRIBE request, and add subscription state and termination reason in buddy info
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2150 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-17 14:19:10 +00:00
Benny Prijono 751305783c Ticket #574: Add new API to know why the outgoing subscription request is terminated and added support for delaying subscription acceptance
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2149 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-17 13:53:41 +00:00
Benny Prijono 0c13f3d89e Ticket #573: Handle receiving short version of Event header
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2147 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-16 22:39:45 +00:00
Benny Prijono c4633496dd Ticket #572: New PJSIP pjsip_msg_find_hdr_by_names() API to find SIP header by either header name or the short header name
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2146 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-16 12:31:57 +00:00