Age | Commit message (Collapse) | Author |
|
- incoming multipart message will be handled automatically
- for testing, enable HAVE_MULTIPART_TEST in pjsua_app.c
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3243 74dad513-b988-da41-8d7b-12977e46ad98
|
|
pjsip_media_type from a simple string to pjsip_param, to support a more complex use of this field
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3241 74dad513-b988-da41-8d7b-12977e46ad98
|
|
Anens for the info)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3223 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3222 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- fixed unterminated negotiation if our media transport rejects incoming offer (e.g. due to mismatch SRTP transport) with 488.
- to fix the above, modified the SDP negotiator (sdp_neg.[hc])'s pjmedia_sdp_neg_cancel_offer() to also be able to cancel in remote offer state
- also fixed the bug introduced previous Session Timer fix (Re: #1047), which cause SDP negotiator's state to be cleared after failed UAC UPDATE transaction is terminated, which means UPDATE can only be sent 5 seconds after the last UPDATE if the last UPDATE failed.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3217 74dad513-b988-da41-8d7b-12977e46ad98
|
|
Krakowski for the report)) and fixes #1097 (Support sending UPDATE without SDP). Details:
- Session timer fixes:
- will look at remote capability in Allow header
- if UPDATE is supported, will send UPDATE without SDP first.
If this fails, will send UPDATE with SDP
- otherwise will send re-INVITE
- PJSUA-LIB will look at dialog's remote capability to determine
whether re-INVITE or UPDATE should be sent to change default
addresses after ICE negotiation.
- pjsip_inv_update() now allows NULL offer, in which case the
UPDATE will be sent without SDP.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3215 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Fixed invite module to reset SDP negotiator state after incomplete SDP offer-answer in re-INVITE/UPDATE.
- Added some SIPp test scenarios.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3208 74dad513-b988-da41-8d7b-12977e46ad98
|
|
format)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3190 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- 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: http://svn.pjsip.org/repos/pjproject/trunk@3128 74dad513-b988-da41-8d7b-12977e46ad98
|
|
registration (thanks Tomáš Valenta for the suggestion)
- implemented in sip_reg.c instead of in PJSUA-LIB, so that the functionality can be reused by non-PJSUA-LIB applications
- also added several Python test scripts
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3105 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3094 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3091 74dad513-b988-da41-8d7b-12977e46ad98
|
|
mod_inv state handlers (was in mod_inv_on_rx_response()).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2951 74dad513-b988-da41-8d7b-12977e46ad98
|
|
than local Min-SE) should also update local Min-SE.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2934 74dad513-b988-da41-8d7b-12977e46ad98
|
|
specified in request) in 2xx response.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2933 74dad513-b988-da41-8d7b-12977e46ad98
|
|
library is restarted, by adding deinit module function and register it into atexit.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2894 74dad513-b988-da41-8d7b-12977e46ad98
|
|
restarted, by adding deinit module function for session timer and register the deinit function into atexit.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2893 74dad513-b988-da41-8d7b-12977e46ad98
|
|
pending INVITE is in progress), instead of just quitting the callback, it may be better to reschedule the timer (for five seconds).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2890 74dad513-b988-da41-8d7b-12977e46ad98
|
|
re-INVITE or BYE when there is pending INVITE.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2889 74dad513-b988-da41-8d7b-12977e46ad98
|
|
negotiation fails.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2879 74dad513-b988-da41-8d7b-12977e46ad98
|
|
any refreshes, by timer or manual.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2870 74dad513-b988-da41-8d7b-12977e46ad98
|
|
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: http://svn.pjsip.org/repos/pjproject/trunk@2869 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2865 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- Updated build config for VS6, Symbian, and Makefile for Session Timer.
- Fixed C/C++ cross-linking problem on some compilers (e.g: Symbian GCCE).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2861 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- 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: http://svn.pjsip.org/repos/pjproject/trunk@2859 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- 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: http://svn.pjsip.org/repos/pjproject/trunk@2858 74dad513-b988-da41-8d7b-12977e46ad98
|
|
extensions (via pjsip_endpt_add_capability()).
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2856 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- 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: http://svn.pjsip.org/repos/pjproject/trunk@2855 74dad513-b988-da41-8d7b-12977e46ad98
|
|
- will send SUBSCRIBE to refresh REFER subscription (not REFER!), only when required (such as when call transfer is running for longer than REFER subscription expiration, hence need to be refreshed)
- replaced hardcoded REFER subscription duration (600s) with a macro, {{{PJSIP_XFER_EXPIRES}}}.
- when NOTIFY with "200 OK" sipfrag body is received and subscription state is not terminated, send SUBSCRIBE with Expires=0 to terminate the REFER subscription
- for transferee, terminate the subscription in CONNECTING state and not in CONFIRMED state. Terminating the subscription in CONFIRMED state causes redundant NOTIFYs with "200 OK" sipfrag body to be sent, one with active subscription and another with terminated state.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2750 74dad513-b988-da41-8d7b-12977e46ad98
|
|
code 502 from 503 (thanks Robert Cichielo for the report)
- also fixed client registration to use the reason phrase of the transaction rather than to retrieve the default reason phrase for the status code
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2732 74dad513-b988-da41-8d7b-12977e46ad98
|
|
(thanks Gang Liu for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2697 74dad513-b988-da41-8d7b-12977e46ad98
|
|
failed final response is received, causing application to unable to send subsequent re-INVITE (thanks Ruud Klaver for the patch)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2670 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2665 74dad513-b988-da41-8d7b-12977e46ad98
|
|
Gang Liu for the suggestion)
- UAC now handles the BYE, and treat it as out-of-order disconnect request, meaning that it will disconnect the call
- it will also activate timer to terminate the INVITE transaction, in case final response never arrives
- added SIPp UAS scenario to test this
- also added forked 200/OK response SIPp scenario,
- and fixed the prack_fork.xml SIPp scenario
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2650 74dad513-b988-da41-8d7b-12977e46ad98
|
|
response is received
- do not stop INVITE retransmission
- updated pjsip_inv_end_session() documentation
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2647 74dad513-b988-da41-8d7b-12977e46ad98
|
|
487 is not sent
- added new API pjsip_tsx_set_timeout()
- set 64*T1 timeout after CANCEL is initiated
- also added SIPp scenario to simulate the UAS
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2646 74dad513-b988-da41-8d7b-12977e46ad98
|
|
Joel Dodson for the report)
- the INVITE session now correctly uses the SDP offer "fixed" by the negotiator, hence it will have the correct origin fields.
- removed update_sdp_version() from PJSUA-LIB
- the negotiator now also fixes the session ID of subsequent answer so that it's identical to the previous SDP
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2643 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2594 74dad513-b988-da41-8d7b-12977e46ad98
|
|
well
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2385 74dad513-b988-da41-8d7b-12977e46ad98
|
|
fixed various transmit data buffer leaks when transmission fails immediately
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2380 74dad513-b988-da41-8d7b-12977e46ad98
|
|
it more natural to use
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2371 74dad513-b988-da41-8d7b-12977e46ad98
|
|
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2370 74dad513-b988-da41-8d7b-12977e46ad98
|
|
receiving forked 2xx response after 183 is received
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2362 74dad513-b988-da41-8d7b-12977e46ad98
|
|
been disconnected (thanks Dan Åberg for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2306 74dad513-b988-da41-8d7b-12977e46ad98
|
|
(thanks Amit Sharma for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2304 74dad513-b988-da41-8d7b-12977e46ad98
|
|
dialog forks (thanks Ruud Klaver for the report)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2271 74dad513-b988-da41-8d7b-12977e46ad98
|
|
dialog. Also clears up inv->invite_tsx if re-INVITE fails with authentication error, otherwise it will not be able to send further re-INVITEs
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2058 74dad513-b988-da41-8d7b-12977e46ad98
|
|
401/407, and also fixed error when the invite session is not retrying the BYE request when it is challenged with 401/407
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2053 74dad513-b988-da41-8d7b-12977e46ad98
|
|
Benson)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2049 74dad513-b988-da41-8d7b-12977e46ad98
|