summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsua-lib/pjsua_call.c
AgeCommit message (Collapse)Author
2007-11-21Ticket #14: Don't change RTP/RTCP SSRC on re-INVITEBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1591 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-08In pjsua-lib, treat incoming SDP with a=sendonly as hold request, and ↵Benny Prijono
respond with a=inactive git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1562 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-08- Added option to send empty Authorization header in outgoing requestsBenny Prijono
- 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: http://svn.pjsip.org/repos/pjproject/trunk@1561 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-06The NAT type investigation in incoming INVITE caused assertion error when ↵Benny Prijono
the INVITE comes without SDP git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1553 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-05Increment SDP version upon creating subsequent offer inside the call (ref: ↵Benny Prijono
Sipit21/Mon/12:30) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1549 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-01More ticket #385: 100rel support should be enabled by defaultBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1538 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-31More ticket #399: added PJSUA API to retrieve the remote NAT typeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1533 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-05Ticket #391: Added framework to send and receive arbitrary requests within ↵Benny Prijono
call in PJSUA-LIB, with samples to send/receive DTMF with INFO in pjsua application git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1477 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-04Ticket #389: Added new commands in pjsua to change codec priorities and send ↵Benny Prijono
UPDATE git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1471 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-03Ticket 5: Support for SIP UPDATE (RFC 3311) and fix the offer/answer negotiationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1469 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-30Ticket #385: Support for reliable provisional response (100rel, PRACK)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1463 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-25Exported some private pjsua_call.c functions related to call quality statisticsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1452 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-16Ticket #354: continuing work to port the Symbian libraries to .DSO formatBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1417 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-20Fixed ticket #355: Account ID is not initialized in pjsua_call_info for ↵Benny Prijono
outgoing call (thanks Lemmel) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1406 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-20More on ticket #399: a)send full offer on 200/OK response when re-INVITE ↵Benny Prijono
does not have SDP, b) added on_create_offer() callback, c) handle some error cases git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1379 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-23Fixed ticket #288: ICE role error on re-INVITE and ICE auth error when ↵Benny Prijono
sending 487 (Role Conflict) response git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1291 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11HUGE changeset to make the rest of the libraries compile with C++ modeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1266 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11Added IP bandwidth output in pjsua dq reportBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1264 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02PJSUA-LIB was ported to Symbian and added simple Symbian app. Testing followsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1242 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02When STUN is used with ICE, SDP media line should show the public IP addressBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1134 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02Fixed hold/re-INVITE bug when ICE is usedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1133 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-28Fixed pjnath build warnings/errors on LinuxBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1112 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-27Fixed ticket #203: Fix error when telephone-event is set as the first format ↵Benny Prijono
in SDP (thanks Chris Hamilton) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1109 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23ICE (work in progress): integration with PJSUABenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1098 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19Ticket #110: HUGE HUGE changeset to replace all occurence of year 2006 with ↵Benny Prijono
2007 in copyright notice in all sources git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@974 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-29Some simple call testing to py_pjsua and bug fixesBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@916 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-13More work on ticket #50: binding of PJSUA-API account to specific transport, ↵Benny Prijono
and minor fixes in PJSIP core implementation. Tested okay. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@881 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-04Just updated and improved the doxygen documentations all over the placeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@875 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26Added DTMF callback support all the way to PJSUA API (ticket #48)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@863 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-07Fixed ticket #38: misleading error message when destination URI is not valid ↵Benny Prijono
when making outgoing call git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@847 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-25Print media statistic when call is disconnected in pjsua, to assist tracing ↵Benny Prijono
media problems git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@831 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21Added jitter buffer settings in PJSUA-API media configBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@813 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11Attended call transfer implementation. The changes involves:Benny Prijono
- 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: http://svn.pjsip.org/repos/pjproject/trunk@797 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19Fixed miscellaneous warnings with gcc compilationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@782 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18Some changes to REFER handling in PJSUA-LIB:Benny Prijono
- added callback to report call transfer progress - changed the call transfer request callback name in pjsua - added "--norefersub" option in pjsua. - fixed bug when call transfer is done more than once in the same dialog (dialog usage can not be added) Also removed 7xx status from the SIP status codes. And added pjsip_parse_status_line() to parse sipfrag. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@780 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-25Tests with other user agents revealed some bugs whichBenny Prijono
have been fixed below: - some UAs sends "telephone-event/8000/1" instead of "telephone-event/8000", which caused SDP negotiation to fail. Fixed in sdp_neg.c. - codec name was (incorrectly) compared case-sensitively, causing negotiation to fail. Fixed in sdp_neg.c. - Also improved error reporting in SDP negotiation by introducing few more error codes. - Added Warning header in Not Acceptable response sent by pjsip_inv_session when SDP negotiation fails. - PJSUA-LIB will try to negotiate both SDPs before sending 100 response. - Fixed bug in iLBC codec when setting the mode to 30. Also: - Echo cancellation by default is disabled now since it doesn't seem to work. Further investigation needed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@738 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-24Fixed several bugs in PJSUA-API:Benny Prijono
- in some condition, when outgoing call fails, call count incorrectly decremented to -1 - introduce account priority in pjsua_acc_config, and improve the account searching for incoming calls - pjsua will hangup call after sending transfer/REFER request. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@737 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22Fixed few bugs that seem to have been introduced by new dialog Benny Prijono
locking algorithm: - Fixed crash in PJSUA-API when initiating client subscription - Fixed another crash in PJSUA-API when hanging-up call Also fixed SDP negotiator: - add a=inactive when rejecting media line Also increase maximum log size from 1500 to 2000 since some SIP packet is quite large. A little bit of Warning: ** THIS MAY AFFECT APPLICATION'S STACK USAGE ** git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@734 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22In pjsua, outgoing REFER now always put Refer-Sub: falseBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@733 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-19Fixed race-condition/deadlock problems in the dialog/user agent layer Benny Prijono
all the way up to PJSUA-API: - standardized locking order: dialog then user agent, and dialog then PJSUA - any threads that attempt to acquire mutexes in different order than above MUST employ retry mechanism (for an example, see acquire_call() in pjsua_call.c). This retry mechanism has also been used in the UA layer (sip_ua_layer.c) since it needs to lock user agent layer first before the dialog. - introduced pjsip_dlg_try_inc_lock() and PJSUA_TRY_LOCK() to accomodate above. - pjsua tested on Quad Xeon with 4 threads and 200 cps, so far so good. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@729 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14Added account ID in pjsua_call_info.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@719 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-20Added initial "norefersub" (RFC 4488) implementation in PJSUA-LIB, and also ↵Benny Prijono
properly register all supported SIP method, accepted content type, and supported extensions to endpoint. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@688 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07Added Ctrl-C handler for pjsua Windows, and added average bps in media ↵Benny Prijono
statistic. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@660 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-05AEC and sound backend fixes:Benny Prijono
- Changed default sound backend in Windows to PortAudio - Finalizing AEC settings on Windows: - default tail is 256 msec - write AEC configuration with "dc" git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@651 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-31- Added iLBC codec (experimental) with the following features:Benny Prijono
- configurable default decoder mode (20 or 30), - encoder mode follows the mode specified in SDP fmtp from the remote's SDP, - silence detector uses pjmedia's, - PLC uses iLBC's PLC, - perceptual enhancement (penh) is configurable via codec param, as usual. - iLBC mode is configurable in pjsua with --ilbc-mode option. - Added packet lost simulation in pjmedia's UDP transport and in pjsua (with --rx-drop-pct and --tx-drop-pct options). - Increase default buffer count in DirectSound to 32 frames to make it more resilient to CPU disruption. - Specify and parse fmtp mode in SDP for codecs that need it. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@637 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-29Another take at fixing 64bit problems. PJ_MAX_OBJ_NAME is increased to 32 ↵Benny Prijono
chars (from 16), and check all those sprintf's especially the ones with "%p" format. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@635 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-26Added --ptime and --no-vad option in pjsuaBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@629 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18More intelligent PJSUA-LIB in selecting the appropriate address for Contact ↵Benny Prijono
header git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@611 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-10Fixed bug in PJSUA API re: account selection and Contact header for accountsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@597 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03Change all pj_memset to pj_bzero(), where applicableBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@582 74dad513-b988-da41-8d7b-12977e46ad98