summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsua-lib
AgeCommit message (Collapse)Author
2012-05-17Fix #1505: pjsua_acc_modify() performs unregistration first when account id, ↵Nanang Izzuddin
registrar, or forced contact is modified. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4127 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-11Fix #1507: Added TLS support in pjsua_transport_get_info().Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4119 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26Fixed #1495: UDP keep-alive is still running even after account is deleted. ↵Benny Prijono
It cannot be updated with pjsua_acc_modify() either git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4095 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-23Re #1417: Fixed error handling if pjsip_timer_init_session() when accepting ↵Liong Sauw Ming
incoming call and fixed typo in assertion in sip_inv.c git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4067 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-21Fixed #1492: The echo options field in the media config and pjsua_set_ec() ↵Benny Prijono
argument are ignored git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4065 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-12Fix #1484: apply and send re-register when registration timeout/expire ↵Nanang Izzuddin
setting is changed in pjsua_modify_acc(). git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4041 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-12Fix #1483: make sure that the CRC calculation of account proxy setting is ↵Nanang Izzuddin
done after proxy URI normalization. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4039 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-11More re #1481: Destroying the regc may lead to dangling binding in the ↵Benny Prijono
register, so instead of destroying the regc, instruct it to release the transport instead git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4037 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-10Fixed #1481: Immediately destroy the registration instance when TCP/TLS ↵Benny Prijono
transport gets disconnected git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4033 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-22Close #1466 (using PJLIB outside PJSUA-LIB context):Nanang Izzuddin
- static reference counter for PJLIB init/shutdown. - implemented atexit() in PJMEDIA and PJSIP level: pjmedia_endpt_atexit() & pjsip_endpt_atexit(). - updated pjmedia/transport_srtp.c, pjsip/sip_timer.c, and pjsip/sip_replaces.c to use the new atexit() functions. - API change: pjmedia_srtp_init_lib() now requires 'pjmedia_endpt' param. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3986 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-15Fix #1464: Only use PJSUA lock in PJSUA implementations of INVITE session ↵Nanang Izzuddin
callbacks when updating 'pjsua_var' is needed, while updating 'pjsua_call' should be enough with call/dialog lock (which is actually being held by the INVITE session layer during invoking its callback). git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3977 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-06Fix #1457: removed check for remote SDP media count before calling ↵Nanang Izzuddin
find_audio_index() in pjsua_media_channel_create_sdp(), so find_audio_index() will also verify the media count in the remote SDP. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3962 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-18Fixed #1452: Wrong call media state is reported if hold request is ↵Benny Prijono
challenged with authentication (thanks Bogdan Krakowski for the fix) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3954 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-19Fixed #1426: Race condition in auto-closing and/or auto-opening of the sound ↵Benny Prijono
device git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3913 74dad513-b988-da41-8d7b-12977e46ad98
2011-11-02More #1415: added protection when calling log, otherwise assertion will be ↵Benny Prijono
raised git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3883 74dad513-b988-da41-8d7b-12977e46ad98
2011-11-02Fixed #1415: Handle potential crash if joining worker thread fails in ↵Benny Prijono
pjsua_destroy() git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3882 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-28Fixed #1407: Deadlock in initial resolution of STUN serverBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3873 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-27Fixed #1341: Handle pjsua_acc_config's newly added fields in pjsua_acc_modify()Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3867 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-19Renamed enum names to comply with the spec in ticket (re #1216)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3830 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-19Fixed #1216: New pjsua_destroy2() API to allow shutting down the library ↵Benny Prijono
without sending any outgoing messages git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3829 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-14Committing re #1388: Support for OpenCORE AMR-NB codec (thank you Dan ↵Benny Prijono
Arrhenius for the contribution!) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3816 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-22Fixed bug in re #1376: pjsua_call_info() could not be called when state is ↵Benny Prijono
disconnected git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3771 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-22More re #1375: fixed bug, the reg_first_retry interval is not copied to ↵Benny Prijono
account config with pjsua_acc_modify()! git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3770 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-22More re #1375: added log showing the interval when scheduling the ↵Benny Prijono
registration retry git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3769 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-22Fixed #1376: Crash if pjsua_call_get_info() is called with disconnected callBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3768 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-21Added option to control first re-registration retry interval. This closes #1375Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3762 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-16Fixed #1371: Soft deadlock when application query call info of other call ↵Benny Prijono
inside a callback. The following APIs should be safe to be called in this situation: - pjsua_call_get_info() - pjsua_call_get_conf_port() git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3751 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-15Fixed #1369: Local state is set to HOLD even if hold operation failsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3749 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-07Always enclose Contact URI with double quote to prevent invalid Contact URI ↵Benny Prijono
if the display part of the AOR contains reserved characters. This fixes #1363 git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3742 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-07Misc (re #1252): prevent assertion caused by bad account when scanning ↵Benny Prijono
accounts for presence timer update. Thanks Matt DiMeo for the patch git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3604 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-22Closed #1313 (Account option to disable registration when account is added) ↵Benny Prijono
and closed #1314 (New callback to notify application when registration or unregistration has been initiated). Thanks Tony Jago Million for the patch git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3594 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-20Fixed #1310:Nanang Izzuddin
- protected the account validation in the registration callback. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3591 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-16Closed #1173: PJSUA callback to allow creation of custom media transports by ↵Liong Sauw Ming
application git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3585 74dad513-b988-da41-8d7b-12977e46ad98
2011-06-16Fixed #1305: Bug in pjsua_call_hangup_all() may cause deadlock (thanks Kees ↵Benny Prijono
van der Bent for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3584 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-27Fixed #1302: Bug in soft deadlock detection may cause program to block ↵Benny Prijono
indefinitely (thanks Attila Magyar for the fix) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3576 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-20Fixed #1291:Nanang Izzuddin
- fixed bug in SIP invite module, SDP negotiator state should be reverted back after an SDP re-offer is rejected by application. - fixed bug in pjsua_call_on_rx_offer(), evaluating call->audio_index should be done after pjsua_media_channel_create_sdp() is successful. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3574 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-19Fixed #1268: Option for automatic/manual sending of RTCP SDES/BYE for the ↵Liong Sauw Ming
stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3571 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-19Fixed #1259: Option to use of 100rel in UAS if UAC supports it (thanks ↵Benny Prijono
Marcus Froeschl for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3570 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-15Fixed #1256: Remove the "ob" parameter if SIP outbound is disabled.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3566 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Updated the year in all copyright texts with 2011!Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-14Fixed #1232: Possible memory corruptions caused by pjsua_acc_modify() ↵Benny Prijono
(thanks Viktor Krikun for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3538 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-29Re #1224: Fixed silly bug in pjsua_acc_modify(): incremented wrong loop ↵Nanang Izzuddin
counter in updating credential info. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3490 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Bug re #1161: the user header list was not cloned properlyBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3474 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Fixed #1209: new enhancement: Option to update Contact URI when sending ↵Benny Prijono
re-INVITE or UPDATE git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3452 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-15Re #1205: If refresh timer is already running, it will be cancelled and ↵Liong Sauw Ming
rescheduled with the new delay. This can be useful if app wants to correct the delay after it checks the timeout in the callback. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3444 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-15Fixed #1205: Configurable delay before registration refresh setting in ↵Liong Sauw Ming
pjsua_acc_config git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3441 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-11Fixed #1204: Support for refreshing audio device list.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3438 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-01Fix #1203: iPhone OS background mode detectionLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3429 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-28Initial implementation for re #1202 (PJILB System Information API) for ↵Benny Prijono
Linux/Unix git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3423 74dad513-b988-da41-8d7b-12977e46ad98
2011-02-11Re #1161: Support for adding custom presence subscription headers.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3412 74dad513-b988-da41-8d7b-12977e46ad98