Commit Graph

52 Commits

Author SHA1 Message Date
Benny Prijono 1c1d734e05 Implemented core multipart support and support in the invite session (re #1070)
- incoming multipart message will be handled automatically
 - for testing, enable HAVE_MULTIPART_TEST in pjsua_app.c


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3243 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-01 09:48:51 +00:00
Benny Prijono 07fe230e3d Fixed #1081: Implement ICE option tag (RFC 5678)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3222 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-24 12:33:18 +00:00
Nanang Izzuddin 36dd5b607e Ticket #1044:
- Added initial version of automatic re-registration after registration failure and automatic call disconnection after re-registration attempt fails.
 - Published auto re-registration setting to pjsua app.
 - Updated pjsip_regc_send() to retrieve the transport earlier (was only in tsx_callback()).
 - Fixed TCP and TLS transport to prevent transport deletion in transport disconnection callback.
 - Fixed wrong keep-alive settings used by TLS transport (was using TCP keep-alive settings).



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@3128 74dad513-b988-da41-8d7b-12977e46ad98
2010-03-30 11:13:59 +00:00
Benny Prijono 40d62b6077 Ticket #877: Memory consumption of the invite session grows indefinitely if call is running for long period of time and with many re-INVITES
- introducing flip-flop pools in the pjsip_inv_session. There are two additional pools created, and one of them will be reset everytime SDP negotiation is done to release memory back to the OS


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2869 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12 17:53:47 +00:00
Nanang Izzuddin 65add62e5e Ticket #833:
- Renamed pjsip_timer_default_setting() to pjsip_timer_setting_default().
 - Updated session timer settings in pjsua-lib as whole session timer setting struct (pyhton version remains using se & min_se).
 - Added output param SIP status code in pjsip_timer_process_resp() and pjsip_timer_process_req() to specify the corresponding SIP status code when function returning non-PJ_SUCCESS.
 - Fixed print header functions in sip_timer.c to have buffer check.
 - Added PJSIP_SESS_TIMER_DEF_SE setting to specify the default value of session timer interval.
 - Fixed role reference of the refresher, it is transaction role, not dialog role.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2859 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-11 16:26:20 +00:00
Nanang Izzuddin 59dffb1a5c Ticket #833:
- Initial version of Session Timers (RFC 4028).
 - Added new options in pjsua app to configure Session Timers settings.
 - Added python tests for Session Timers.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2858 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-11 12:42:38 +00:00
Nanang Izzuddin 5af37ffc77 Ticket #930:
- Updated semantic of contact param in functions pjsip_dlg_create_uac(), pjsip_dlg_create_uas(), pjsip_endpt_create_request() and also variable pjsua_acc.contact to be Contact header value (was Contact URI).
 - Updated docs related to above modifications.
 - Fixed pjsua_im_send() in generating contact header, it should use pjsua_acc.contact instead, if it is set.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2855 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-05 18:41:23 +00:00
Benny Prijono 006a4e877d Fixed ticket #506: Behavior when cancelling INVITE before provisional response is received
- do not stop INVITE retransmission
 - updated pjsip_inv_end_session() documentation



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2647 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-26 11:30:22 +00:00
Benny Prijono 844653c1f2 Updated copyright notice in all files to Teluu Inc., and changed the year as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23 17:27:53 +00:00
Benny Prijono 08a48b8ccf More ticket #10: changed to signature of the redirection callbacks to make it more natural to use
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2371 74dad513-b988-da41-8d7b-12977e46ad98
2008-11-27 12:42:07 +00:00
Benny Prijono 5e51a4e1d8 Ticket #10: handle redirection response in the invite session
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2370 74dad513-b988-da41-8d7b-12977e46ad98
2008-11-27 00:06:46 +00:00
Benny Prijono 90cc76e9ac Fixed gcc function is not a prototype warnings
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2121 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-11 00:56:07 +00:00
Benny Prijono 32177c0418 Large changeset to replace all occurences of year 2007 with 2008 in the copyright notice
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2039 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 22:44:47 +00:00
Benny Prijono 5b64b8df4b Updated doxygen documentations
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2037 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 21:39:02 +00:00
Benny Prijono dd742dab2f Ticket #534: Client register/registration support for various registrar brokenness
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1959 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-17 12:45:00 +00:00
Benny Prijono a7b376bc7c Fixed doxygen comments everywhere
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1748 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-25 16:06:33 +00:00
Benny Prijono 87a9021bc0 Related to ticket #61: added new invite session API pjsip_inv_verify_request() which takes additional remote SDP, to avoid parsing SDP multiple times
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1733 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-23 20:29:30 +00:00
Benny Prijono d5f9f42a79 Ticket #416: Allow application to handle sending ACK manually
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1598 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-25 04:40:07 +00:00
Benny Prijono 48ab2b70e3 - Added option to send empty Authorization header in outgoing requests
- When UAS has sent answer in reliable 1xx, do not put SDP in 2xx
- Handle the case when UPDATE is challenged with 401/407
- Obsolete --service-route option in pjsua



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1561 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-08 09:24:30 +00:00
Benny Prijono feb69f445d Ticket #391: Added framework to send and receive arbitrary requests within call in PJSUA-LIB, with samples to send/receive DTMF with INFO in pjsua application
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1477 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-05 09:12:26 +00:00
Benny Prijono 1f7767b66e Ticket 5: Support for SIP UPDATE (RFC 3311) and fix the offer/answer negotiation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1469 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-03 18:28:49 +00:00
Benny Prijono dcfc0bab7a Ticket #385: Support for reliable provisional response (100rel, PRACK)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1463 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-30 16:50:27 +00:00
Benny Prijono 1f61a8f8af Ticket #354: continuing work to port the Symbian libraries to .DSO format
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1417 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-16 10:11:44 +00:00
Benny Prijono 77998ce708 More on ticket #399: a)send full offer on 200/OK response when re-INVITE does not have SDP, b) added on_create_offer() callback, c) handle some error cases
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1379 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-20 10:03:46 +00:00
Benny Prijono 1dc8be06b8 Fixed ticket #302: Behavior in cancelling INVITE session when no provisional response has been received (thanks Esbjörn Dominique)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1319 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-30 04:26:40 +00:00
Benny Prijono 0606e704cd Fixed ticket #284: Failed scenarios with CANCEL requests (thanks Esbjörn Dominique)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1287 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-22 12:21:40 +00:00
Benny Prijono a771a51a61 Ticket #110: HUGE HUGE changeset to replace all occurence of year 2006 with 2007 in copyright notice in all sources
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@974 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19 01:13:53 +00:00
Benny Prijono 720d0a8365 Workaround for ticket #50: added API to lock/bind transaction, dialog, and regc to a specific transport/listener
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@879 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-12 06:37:35 +00:00
Benny Prijono dfc4c48d45 Fixed ticket #36: pjsip_regc_unregister() SHOULD NOT unregister all contacts but rather only contact that was previously sent in the registration. In addition, added function pjsip_regc_unregister_all() to unregister all contacts
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@843 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-02 07:25:29 +00:00
Benny Prijono 8fc6de0270 Add pjsip_regc_add_headers() APi to set headers to be added
to the REGISTER request. This solves the problem where headers
 registered in the initial REGISTER request (such as User-Agent
 header) are not sent in subsequent reregistration request.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@799 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11 21:25:55 +00:00
Benny Prijono 053f522223 Attended call transfer implementation. The changes involves:
- Added support for SIP Replaces extension (RFC 3891)
- Added pjsua_call_xfer_replaces() to perform attended call
  transfer.
- PJSUA checks and process Replaces header in incoming calls
- Added pjsip_ua_find_dialog() API.
- Added pjsip_endpt_has_capability() API.
- Added pjsip_endpt_send_response2() API.
- etc.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@797 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11 16:16:04 +00:00
Benny Prijono 563156189c Small improvements: (1) pjsua now responds to incoming OPTIONS request, which means that some modules (evsub, invite) need to register their capabilities to the endpoint, (2) added command in pjsua to send arbitrary request
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@612 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18 14:39:40 +00:00
Benny Prijono 312aff9600 Modifications all over the place, but mainly only to update Doxygen documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@515 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-17 04:08:30 +00:00
Benny Prijono 0b6340cd04 Added status_text and cause_text in dialog and transaction to capture the real status text in the final response (instead of just the code)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@500 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-13 22:21:23 +00:00
Benny Prijono e8b0d3b0a6 Changed pjsip_inv_send_msg() function
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@324 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-17 17:57:52 +00:00
Benny Prijono d4e0abdfc8 Added API to terminate dialog prematurely. Affect: dialog, invite sessions, evsub, and presence
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@283 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-05 11:53:36 +00:00
Benny Prijono 64f851ea57 Added support for NULL frame in rtp stream, fixed bugs here and there in INVITE (e.g. dont send SDP on 180), and set version to 0.5.1.2
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@223 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-23 13:49:28 +00:00
Benny Prijono 26ff906cfe Implemented major feature: call hold and transfer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@212 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-21 23:47:00 +00:00
Benny Prijono bcaed6ceb1 SIMPLE test with FWD, and added more info in UI
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@201 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-19 15:37:19 +00:00
Benny Prijono f3195075e6 Ported pjsip to WinCE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@184 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-14 21:15:30 +00:00
Benny Prijono e4f2abb073 Added more logging, and fixed bug when ACK is responded!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@175 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-10 14:04:05 +00:00
Benny Prijono 632ce714c0 Updated with new jitter buffer, and statistics in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@169 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-09 14:01:40 +00:00
Benny Prijono 84126abb9b Setting svn:eol-style attribute
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@167 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-09 09:30:09 +00:00
Benny Prijono a66c7156a1 Done media integration in pjsua. Needs to do actual voice testing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@163 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-09 01:26:14 +00:00
Benny Prijono ccf9562ebf Tested initial implementation: basic UAC, client registration, authentication, etc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@141 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-07 18:48:01 +00:00
Benny Prijono 268ca61a02 Initial implementation of invite session abstraction, and updated pjsua for the new framework
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@139 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-07 12:34:11 +00:00
Benny Prijono 40f2f64536 Finished implementation of UA layer (to be tested)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@127 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-30 18:40:05 +00:00
Benny Prijono 728a905193 Complete tsx layer selftest, implemented authentication framework
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@123 74dad513-b988-da41-8d7b-12977e46ad98
2006-01-18 23:34:15 +00:00
Benny Prijono 5dcb38d909 Set svn:eol-style property
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@65 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21 01:55:47 +00:00
Benny Prijono e0312a7f30 Pretty comments
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@51 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-18 00:16:43 +00:00