summaryrefslogtreecommitdiff
path: root/pjsip
AgeCommit message (Collapse)Author
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-19Fixed #1374: Assertion when CANCEL and INVITE final response "crosses the wire"Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3755 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-09Fixed #1367: Crash if presence PIDF body is missing <basic> element (thanks ↵Benny Prijono
Matt DiMeo for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3747 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-08Fixed Symbian build error due to re #1364Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3746 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-08Added support for forking of reliable provisional response (100rel):Benny Prijono
- maintain 100rel state for each call leg (To tag) - added SIPp scenario - note that multiple SDP negotiation in 100rel response from different call leg is not supported. Especially the case when multple offers are sent in the responses are not supported (we're supposed to send answers in PRACKs, but currently we only respond to the first 100rel with SDP). This closes #1364 git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3743 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-22Fixed #1336 make doc now creates version specific docsPerry Ismangil
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3677 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-24Fixed #1318: Prevent PJSIP_INV_STATE_CALLING from being reported more than ↵Benny Prijono
once (thanks Sam Yasin for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3598 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-16Re #1306:Nanang Izzuddin
- Moved PJSIP_TSX_1XX_RETRANS_DELAY definition to sip_config.h. - Updated retransmission mechanism to skip retransmission rescheduling when the interval is zero. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3586 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-15Fixed #1255: Unable to parse the short version of Event header (thanks ↵Benny Prijono
Marcus Froeschl for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3565 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-27Fix #1248: Reset destination info in the INVITE message/tdata before ↵Nanang Izzuddin
resending it to force re-resolving destination info. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3546 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-27Fixed #1247: Deadlock potential in sip_regc.c if sending fails (thank you ↵Benny Prijono
Alejandro Orellana for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3545 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-26Re #1245: bad last commit caused everything to be treated as unregistrations!Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3544 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-25Fixed #1245: Assertion may be raised if iPhone app woken up to perform ↵Benny Prijono
registration and the server is down (thanks Alejandro Orellana for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3542 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-23Fix #1223: Bug in initializing message body's media type from incoming ↵Benny Prijono
message (thanks Gang Liu for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3482 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Fix #1222: Assertion if BYE is received while callee is still in early stateBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3481 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Re #1221: Move setting the socket option to pjlib level (sock_bsd) instead ↵Liong Sauw Ming
of in the SIP transport. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3480 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Re #1221: Fix variable name error.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3479 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Fixed #1221: Crash when SIP transport tried to write to a broken pipe.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3478 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-16Fix #1212:Nanang Izzuddin
- Updated pj_register_strerror() to just return PJ_SUCCESS when the same range and handler is being re-registered. - Removed the usage of static flag of error string handler registration in some modules, which prevent the re-registration of the handler, e.g: in restarting pjsua, as such flags never got reseted. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3455 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-16Re #1209: clarified in the comment that PJSUA_CALL_UNHOLD is only valid for ↵Benny Prijono
pjsua_call_reinvite() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3453 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-15Misc (re #1175) (thanks to Seth Hinze for the patch):Liong Sauw Ming
* uri_test: Fixes a divide by zero error when the benchmark is run on a really fast machine. * presence: Fixes a compiler warning about potential referencing of an uninitialized variable. * echo_speex: Allow for compilation when PJMEDIA_HAS_SPEEX_AEC is not defined. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3443 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
2011-01-21Re #1197: also increase MAX_IMMEDIATE_PACKET from 10 to 50 to make it more ↵Benny Prijono
resilient against errors git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3409 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-15Fixed #1190: Remote dialog info is not updated if 100 (Trying) response ↵Benny Prijono
contains To tag parameter (thanks Marcus Froeschl for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3397 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-02Misc (re #1151): respond incoming re-INVITE with 491 instead of 500 if we ↵Benny Prijono
are waiting for response for our outgoing re-INVITE. If we are currently processing another incoming re-INVITE, then respond with 500, as it is now git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3385 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-02Fixed #1170 (Assertion when receiving updated SDP offer with all media lines ↵Benny Prijono
removed): - pjsua_media.c checks if audio media is present in the offer; if not, do not set any answer - sip_inv.c checks if app has supplied an answer after on_rx_offer() callback is called, and returnd 488 (Not Acceptable) if not (previously, it will return 200/OK without SDP!) - added a SIPp scenario file to reproduce this git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3383 74dad513-b988-da41-8d7b-12977e46ad98