Commit Graph

145 Commits

Author SHA1 Message Date
Nanang Izzuddin e2c7e85a43 Ticket #930:
- Changed semantic of pjsua_acc_config.contact_params, it is now used for specifying Contact header parameters (it was used for specifying Contact URI parameters).
 - Added a new field pjsua_acc_config.contact_uri_params, for specifying Contact URI parameters.
 - Added fields pjsua_acc_config.contact_params and pjsua_acc_config.contact_uri_params into python pjsua.
 - Updated/added option in pjsua app to specify Contact header parameters and Contact URI parameters.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2852 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-04 14:36:17 +00:00
Benny Prijono d06d8c505f Related to #911:
- added subscription state name string in pjsua_buddy_info and display this in pjsua


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2824 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30 13:53:47 +00:00
Benny Prijono 329d638568 Integration of Sipit24 branch, many tickets involved:
- #793: AMR encoder should regard 'mode-set' param specified by remote decoder.
 - #831: Automatically switch to TCP transport when sending large request
 - #832: Support for outbound proxy setting without using Route header
 - #849: Modify conference audio switch behavior in connecting ports.
 - #850: Remove 'Require=replaces' param in 'Refer-To' header (in call transfer with replaces).
 - #851: Support for regular nomination in ICE
 - #852: --ip-addr support for IPv6 for media transport in pjsua
 - #854: Adding SOFTWARE attribute in all outgoing requests may cause compatibility problem with older STUN server (thanks Alexei Kuznetsov for the report)
 - #855: Bug in digit map frequencies for DTMF digits (thanks FCCH for the report)
 - #856: Put back the ICE candidate priority values according to the default values in the draft-mmusic-ice
 - #857: Support for ICE keep-alive with Binding indication
 - #858: Do not authenticate STUN 438 response
 - #859: AMR-WB format param in the SDP is not negotiated correctly.
 - #867: Return error instead of asserting when PJSUA-LIB fails to open log file




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2724 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-29 13:04:03 +00:00
Benny Prijono 7efa2d60cc Ticket #798: UAC disconnect call when receiving BYE in early state (thanks 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: https://svn.pjsip.org/repos/pjproject/trunk@2650 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-27 12:50:16 +00:00
Benny Prijono 8972bf0c3b Ticket #776: IPv6 option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2568 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-05 18:30:45 +00:00
Benny Prijono 45f2f35792 Misc (ticket #772): bug in pjsua application when reading the URL from the buddy list, causing corrupt/invalid URI to be returned
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2566 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-02 12:15:23 +00:00
Nanang Izzuddin 11951c3997 Ticket #716 (app misc): fixed info of ilbc default mode in pjsua app menu.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2507 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12 23:04:21 +00:00
Benny Prijono 9920dc304b (Major) Task #737 and #738: integration of APS-Direct and Audiodev from aps-direct branch to trunk.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2506 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12 18:11:37 +00:00
Benny Prijono d9e8dfea2d Initial fixes for ticket #747: bugs in parsing SIP torture messages (RFC 4475):
- SIP version components may be separated by whitespaces (e.g. "SIP / 2.0")
 - parsing of mangled header when for unknown/generic header
 - Via parameters were parsed with paramchar rather than token
 - handling NULL character inside quoted string

Some torture messages have been added in the Python test.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2505 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12 11:25:11 +00:00
Benny Prijono 10454dc424 Updated libraries and applications to use the new Audio Device API
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2468 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-21 14:21:59 +00:00
Nanang Izzuddin fe02a0684d - Added APS-direct sound device management into pjsua-lib (and removed it from apps).
- Fixed bug in conf_switch.c to always update ts_rx (even if port is not transmitting).
- Minor updates: 'fmt_id' to 'id', added transmitter_Cnt in conf port info, explicit mapping in Symbian audio APS impl from pjmedia_format_id to Symbian APS fourcc.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2460 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-18 14:28:49 +00:00
Benny Prijono f863ca3f77 Added bitrate and vad info in pjmedia_format, and changed audio route to use enumeration rather than boolean
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2457 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-17 15:19:45 +00:00
Benny Prijono b995a38a75 Bug in APS-Direct emulation in sound_port causing crash and tick noise, and handle wideband audio in APS-Direct emulation in pjsua_app.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2454 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-13 15:57:46 +00:00
Benny Prijono b7dfc9ce09 Added APS-Direct emulation to sound port and pjsua_app.c, also fixed miscellaneous compilation warnings
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2452 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-13 11:53:12 +00:00
Benny Prijono 98d8c95902 Ticket #716 (miscellaneous): write nameserver settings in dump config in pjsua_app.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2441 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-06 08:13:43 +00:00
Benny Prijono 32d267bb67 Fixed gcc-4.3.2 warnings with the warn_unused_result flag in some APIs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2408 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01 22:08:21 +00:00
Benny Prijono 844653c1f2 Updated copyright notice in all files to Teluu Inc., and changed the year as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23 17:27:53 +00:00
Benny Prijono 2285e7e24a Ticket 684: protect the memory allocation for TX packet with try/catch, and fixed various transmit data buffer leaks when transmission fails immediately
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2380 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-17 14:28:18 +00:00
Benny Prijono 30fe485f6f Ticket #672: Option to add custom parameters in the account Contact URI
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2373 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-10 16:54:16 +00:00
Benny Prijono 08a48b8ccf More ticket #10: changed to signature of the redirection callbacks to make it more natural to use
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2371 74dad513-b988-da41-8d7b-12977e46ad98
2008-11-27 12:42:07 +00:00
Benny Prijono 5e51a4e1d8 Ticket #10: handle redirection response in the invite session
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2370 74dad513-b988-da41-8d7b-12977e46ad98
2008-11-27 00:06:46 +00:00
Benny Prijono 7f630433a1 Ticket #643: Do not try to re-register with a new Contact when the REGISTER response contains private IP address
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2316 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-24 16:52:41 +00:00
Benny Prijono 91d06b6179 Ticket #611: Configuration option to force the route URI to use loose routing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2301 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-20 12:16:56 +00:00
Benny Prijono 40860c373e Ticket #610: Added sample to create a media transport adapter, similar to how SRTP media transport works
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2262 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-04 13:55:33 +00:00
Benny Prijono 563cd7a06a Added on_incoming_subscribe() handler in pjsua, just to demonstrate that this callback exists
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2227 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-19 20:02:15 +00:00
Benny Prijono f6c77f4312 Fixed bug in --auto-rec option handling in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2209 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-13 13:52:19 +00:00
Benny Prijono 59b3ffe52f Related to ticket #590: added command line option in pjsua to select the echo canceller algorithm to use
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2204 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-11 18:10:42 +00:00
Benny Prijono 551af42ca3 Ticket #586: Added ICE negotiations test to test the scenario when two agents have different number of components
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2196 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-07 09:55:52 +00:00
Nanang Izzuddin 99d69522ac Ticket #563: Updated SDP offer/answer related to call hold scenario to conform to RFC 3264 section 8.4 (before: 'a=inactive' and 'c=0.0.0.0', now: 'a=sendonly' and muted ports).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2191 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 15:01:38 +00:00
Benny Prijono 251e02af61 Fixed invalid configuration generation in pjsua for auto-update-nat option (thanks Ondrej Sterbak)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2176 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-25 10:05:55 +00:00
Benny Prijono b7944865e1 Added pjsua option to set the logging color scheme for terminal with light background (thanks Ondrej Sterbak)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2161 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-19 20:53:49 +00:00
Benny Prijono d6e362a2b5 Ticket #571: Coloring for logs in Linux/UNIX, two more spaces in logs and runtime log colors configuration (thanks Ondrej.Sterbak)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2159 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-19 17:53:47 +00:00
Nanang Izzuddin c985354e68 Added pjsua command line option '--jb-max-size' to set jitter buffer max frames
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2154 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-17 16:59:07 +00:00
Nanang Izzuddin 660eee8b32 Added ability to dump extended statistics (RTCP XR) in pjsua.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2152 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-17 14:54:03 +00:00
Benny Prijono c91ed8dba4 Ticket #518: some fixes for growing memory usage in PJSUA-LIB, by using temporary pools for temporary variables and by having separate pool for each account and buddy
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2130 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-13 12:24:55 +00:00
Benny Prijono e10db84646 Ticket #552: Added TLS server name extension to support connecting to multi-hosted SIP TLS server (thanks Klaus Darilion for the suggestion)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2094 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-01 15:31:59 +00:00
Nanang Izzuddin 81e9bd52cd Fixed minor bug on ptime calculation on player creation; Updated pjsua-app info on ports ptime and default capture latency
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2074 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 12:52:51 +00:00
Benny Prijono ddd02de5b5 echo command in pjsua can be used to print any text, and this is used to better synchronize stdout in Python test apps
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2069 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 22:20:11 +00:00
Benny Prijono 4d0da3aa38 Added option to disable stdout buffering in pjsua, and adjust the python tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2067 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 20:23:47 +00:00
Benny Prijono 88accae905 Specifying star in codec selection will select all codecs. Fixed the codec selection in codec.c to select all codecs when empty string is given.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2061 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 15:48:14 +00:00
Benny Prijono 32177c0418 Large changeset to replace all occurences of year 2007 with 2008 in the copyright notice
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2039 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 22:44:47 +00:00
Nanang Izzuddin b6133fb805 More ticket #543: added PESQ test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2038 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 21:45:50 +00:00
Benny Prijono 4f96689a0a Changed tonegen to use native clock rate, and other minor changes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2024 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-14 22:43:56 +00:00
Benny Prijono e28cec89fa Refine the tone feature implementation in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2023 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-14 20:40:53 +00:00
Benny Prijono 91d20f460b Added ringback/alert tones in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2021 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-14 19:42:37 +00:00
Nanang Izzuddin 68559c3dac Ticket #540: Added pjsua-lib feature auto-close sound device on idle and new pjsua option --snd-auto-close=N
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2018 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-13 17:01:46 +00:00
Benny Prijono ebc32c312b Added echo option and stdout refresh in pjsua to assist automated test scripts
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2008 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-12 13:30:39 +00:00
Nanang Izzuddin d7fefd72b7 Ticket #542: added new API and macro for sound device latency settings, also added new param for this in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2007 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-12 12:48:59 +00:00
Benny Prijono f76e1396d7 More ticket #485: added TURN support in PJSUA-LIB API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1990 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 14:51:48 +00:00
Benny Prijono 5dfac8fb25 Increase clock rate limit in pjsua to 192000 (from 48000)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1976 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-02 14:06:19 +00:00