summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsua-lib/pjsua_acc.c
AgeCommit message (Collapse)Author
2015-04-08Re #1782 (misc): (trivial)Fixed typo in logLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5053 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-19Re #1825: Implement new on_reg_started2 callbackRiza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4999 74dad513-b988-da41-8d7b-12977e46ad98
2015-01-19Fixed #1811: contact_use_src_port and TLS server certificate verification ↵Liong Sauw Ming
issue (thanks to Viktor Krikun for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4974 74dad513-b988-da41-8d7b-12977e46ad98
2014-11-28Misc (re #1782): Fixed bug of missing SIP header "Supported: outbound, path" ↵Nanang Izzuddin
after a registration failure (thanks Mateusz Olejnik for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4965 74dad513-b988-da41-8d7b-12977e46ad98
2014-11-04Close #1802: Configurable randomized value range for auto re-registration ↵Nanang Izzuddin
interval. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4957 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-27Fix #1801:Nanang Izzuddin
- put error check in re-registration attempt in pjsua_acc_modify(), - updated pjsua_acc_modify() docs about its behavior regarding unregistration and re-registration. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4955 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-16Misc (re #1782): Fixed unregistration sent twice when calling ↵Riza Sulistyo
pjsua_acc_modify with reg_uri is blank. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4947 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-10Fixed #1796: Avoid infinite registration loop caused by contact rewrite.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4944 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-09Misc (re #1782): Avoid assertion when updating keep alive. Assert scenario: ↵Riza Sulistyo
register, switchoff network adapter and immediately request unregister. This issue is intermittent. (Thanks to Alexander Fotyanov for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4942 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-03Re #1782 (misc): Only perform unregistration in pjsua_acc_modify() if the ↵Liong Sauw Ming
reg_uri is valid git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4938 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-01Re #1782 (misc): Do not copy the public address and bound address if ↵Liong Sauw Ming
pjsua_acc_modify()'s new setting doesn't change those git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4935 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-21Misc (re #1751): Fixed miscellaneous MSVC warnings.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4897 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-18More re #1677:Benny Prijono
- renamed the option to contact_use_src_port - added the missing pjsua2 API implementation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4889 74dad513-b988-da41-8d7b-12977e46ad98
2014-08-18Closed #1677: Contact uses source port in initial registration.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4888 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23Misc (re #1630): Fixed symbols that should not be exported (thanks Tzafrir ↵Nanang Izzuddin
Cohen for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4713 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08Re #1703: fixing general bugs. First installment: correct handling of ↵Benny Prijono
snprintf return value git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4613 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-06Fixed #1698: Follow account config in generating contact's secure scheme and ↵Nanang Izzuddin
deprecate PJSUA_SECURE_SCHEME. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4592 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-04Closed #1696: IP change detection (Contact rewrite method) based on REGISTER ↵Liong Sauw Ming
final response git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4586 74dad513-b988-da41-8d7b-12977e46ad98
2013-08-06Fixed #1693: Pay attention to reg_hdr_list and sub_hdr_list in ↵Benny Prijono
pjsua_acc_modify(), and also fixed pjsua_acc_get_config() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4580 74dad513-b988-da41-8d7b-12977e46ad98
2013-08-06Re #1669: fixed bug introduced by r4523 which caused pjsua_acc_modify() to ↵Benny Prijono
always reregister regardless of whether there is change or not git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4579 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-27More re #1683:Benny Prijono
- 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: http://svn.pjsip.org/repos/pjproject/trunk@4546 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-26Re #1630: fixed bug with via_rewrite feature. The via address is not updated ↵Benny Prijono
on second IP change git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4545 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-24Closed #1668: Option to use the IP address found in REGISTER response in the SDPBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4543 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-21Re #1682: Use account specific variable to keep track of the next rtp port ↵Liong Sauw Ming
to use. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4542 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19Re #1680: Add initial support for Win64Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-13Close #1675: Added callback to allow application to specify account to ↵Nanang Izzuddin
handle incoming message. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4534 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-07Fixed #1673: Use Request URI when matching incoming request to account if ↵Benny Prijono
the To URI contains tel: URL git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4532 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-31Re #1630 (misc): Fixed private ip detection in pjsua_accLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4531 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-23Fix #1669: When (account/global) proxy setting is changed, unregister and ↵Nanang Izzuddin
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: http://svn.pjsip.org/repos/pjproject/trunk@4523 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-03Fixed #1652: Media feature tag "+sip.ice" is not used because of wrong ↵Benny Prijono
account initialization sequence git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4456 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-11Fixed #1640: Registration is terminated permanently on 480 (Temporarily Not ↵Benny Prijono
Available) response when it should have been retried git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4436 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-16Fixed #1607: Send UDP keep-alive to original request address if response ↵Benny Prijono
comes from different address git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4318 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-06Misc (re #1562): Fixed Symbian build errors on S60 5th edition SDK.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4294 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-20Fixed #1585: IPv6 support for SIP TCP and TLS transports and PJSUA-LIB v2Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4262 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-13More #1412: also handle the case for presence subscription, publish, and mwi ↵Benny Prijono
when the account does not have registration git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4229 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-07Fixed #1412: Account specific NAT settings: STUN, ICE, and TURNBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4218 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-28Re #1537: Modify NAT detection to no longer update the transport address.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4185 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-27Re #1537: Fixed bug that does not update via_sent_by upon NAT address update.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4181 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-26Re #1540: Modify MWI subscription setting on run-timeLiong Sauw Ming
* Add subscription state callback * Terminate subscription when deleting acc git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4180 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-20Fixed #1537: Via rewrite: putting the right IP address in Via sent-by for ↵Liong Sauw Ming
outgoing requests git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4173 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-19Close #1540:Nanang Izzuddin
- added pjsua_acc_config.mwi_expires, also compile-time macro PJSIP_MWI_DEFAULT_EXPIRES - updated pjsua_acc_modify() to update MWI subscription when mwi_expires & mwi_enabled of pjsua_acc_config is modified git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4172 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-05Re #1527: fixed bug in pjsua-lib, where registration operation may cause ↵Benny Prijono
wrong timer entry (with _timer_id=0) to be cancelled accidentally. This could happen when turning registration ON after it was off. Thanks Itay Bianco for the report git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4155 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-17Re #1509: backported r4122-r4129.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4130 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26Re #1474: merged r4093:4095Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4096 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-12Re #1474: merged r4041Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4042 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-12Re #1474: merged r4039Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4040 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-11Re #1474: merged r4031-r4037Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4038 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-01Re #1419, implement media count manipulation per call basis:Nanang Izzuddin
- moved the media count setting from account setting to call setting - introduced pjsua_call_setting, to be used by pjsua_call_make_call() and some new APIs: pjsua_call_answer2(), pjsua_call_reinvite2(), pjsua_call_update2() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3891 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-31Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3833:r3877 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3878 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-26Fixed #1401: Add support for video device's window flagsLiong Sauw Ming
Now support flags PJMEDIA_VID_DEV_WND_BORDER and PJMEDIA_VID_DEV_WND_RESIZABLE. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3864 74dad513-b988-da41-8d7b-12977e46ad98