Commit graph

397 commits

Author SHA1 Message Date
Benny Prijono
df91208a02 Fixed route set bug in simpleua.c (thanks Raquie Rawq)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1530 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-30 16:41:45 +00:00
Benny Prijono
aecabfc658 More ticket #399: pj_sock_close() is called more than once. Also implemented NAT detection callback for Symbian UA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1526 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-26 05:35:42 +00:00
Benny Prijono
2a67ea43f8 Continuing ticket #400: Only process Service-Route header if enable_service_route (--service-route option in pjsua) is set
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1520 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-25 02:51:33 +00:00
Benny Prijono
3808af1d42 Updated VS2005 and eVC projects with new base64 and AKA files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1505 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-18 01:40:44 +00:00
Benny Prijono
19a351710a Fixed build warnings/errors for Symbian target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1504 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-17 06:21:44 +00:00
Benny Prijono
6ba8c54950 More ticket #399: added callback to report NAT detection result, and sends NAT type in SDP
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1501 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-16 01:34:14 +00:00
Benny Prijono
28f673a1d4 Continuing ticket #396: tested digest AKAv1, implemented AKAv2, and some works in the authentication framework to support it
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1500 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-15 07:04:59 +00:00
Benny Prijono
f4e03a7ffd Related to ticket #399: added comments etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1497 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-12 23:29:27 +00:00
Benny Prijono
4ab9fbbd57 Ticket #399: Initial implementation of tool to perform NAT type detection/classification
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1495 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-12 12:14:27 +00:00
Benny Prijono
b071a7897d Fixed build warnings/error on Linux
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1490 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-10 13:12:37 +00:00
Benny Prijono
7977f9f7eb Ticket #396: initial implementation of digest AKA (akav1-md5) authentication for IMS/3GPP
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1488 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-10 11:37:56 +00:00
Benny Prijono
ee7276b6f5 Force svn eol-style for WinCE project files to CRLF
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1478 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-05 12:28:11 +00:00
Benny Prijono
feb69f445d Ticket #391: Added framework to send and receive arbitrary requests within call in PJSUA-LIB, with samples to send/receive DTMF with INFO in pjsua application
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1477 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-05 09:12:26 +00:00
Benny Prijono
c08682eddc Ticket #389: Added new commands in pjsua to change codec priorities and send UPDATE
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1471 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-04 06:17:58 +00:00
Benny Prijono
dcfc0bab7a Ticket #385: Support for reliable provisional response (100rel, PRACK)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1463 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-30 16:50:27 +00:00
Benny Prijono
fe81cfac75 Ticket #377: Support for sending RTCP RR
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1444 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-20 11:30:59 +00:00
Benny Prijono
6be3c73f5d Added VS 2005 project for Python module, and silenced the annoying VS 2005's deprecated CRT functions
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1442 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-19 18:51:39 +00:00
Benny Prijono
d7ea605849 Updated pjsua_app.py Python sample application to the new changes in Python module (thanks Gideon Klompje)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1438 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-17 15:44:47 +00:00
Benny Prijono
6e374780c5 Fixed broken Python module build script
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1437 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-17 12:55:05 +00:00
Benny Prijono
096c56c1a5 Ticket #370: Implemented callback notification to application when ICE negotiation fails (via on_call_media_state callback)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1435 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-15 08:30:16 +00:00
Benny Prijono
1f63cc4b58 Updated Python module to pjsip-0.7 (inc. custom presence test)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1430 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-10 16:54:22 +00:00
Benny Prijono
96811bf878 Continuing ticket #2: initial test with Symbian sound device implementation. Callback works, but not in full duplex
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1428 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-31 15:04:52 +00:00
Benny Prijono
106f5b7c54 More Symbian works:
- changed PJ_VERSION to pj_get_version() in pjsua-lib
 - added .mmp file for symbian_sound.cpp
 - allow pj_gethostip() in Symbian to return 127.0.0.1



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1426 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-30 13:49:33 +00:00
Benny Prijono
4461c7d500 Implement ticket #336: custom presence status in NOTIFY/PUBLISH, supporting subset of RPID elements
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1424 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-25 13:36:15 +00:00
Benny Prijono
1f61a8f8af Ticket #354: continuing work to port the Symbian libraries to .DSO format
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1417 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-16 10:11:44 +00:00
Benny Prijono
251fd78cd7 Fixed ticket #360: More support for strict routed requests in proxy sample (thanks Helmut Wolf)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1412 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-02 14:58:19 +00:00
Benny Prijono
3af35838c8 Fixed ticket #359: Wrong Via branch generation in proxy causing the same branch value to be generated for RFC 2543 clients (thanks Helmut Wolf)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1411 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-01 11:38:14 +00:00
Benny Prijono
8ab968fd0d Ticket #354: build PJLIB as dynamic libraries (.DSO) in Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1405 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-20 08:08:30 +00:00
Benny Prijono
d5696da5e6 Ticket #353: memory leak with pjsua WAV file player/recorder
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1403 74dad513-b988-da41-8d7b-12977e46ad98
2007-07-17 16:25:45 +00:00
Benny Prijono
fb2b3658e8 Added command to add new account in pjsua application
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1400 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-28 07:15:03 +00:00
Benny Prijono
bf5b469ac1 Ticket #350: Support for parsing quoted arguments in pjsua config file (thanks Scott M Ober)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1399 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-28 03:20:17 +00:00
Benny Prijono
5583a8074f Ticket #345: Option to select random start port in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1394 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-26 12:20:37 +00:00
Benny Prijono
19586cab76 Ticket #342: added configuration to control whether SDP rtpmap should be included for static payload types (default still yes)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1391 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-26 08:59:49 +00:00
Benny Prijono
5b918afe47 Ticket #342: added configuration to send compact form of SIP headers
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1389 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-26 00:25:11 +00:00
Benny Prijono
dfc15beb2e Committed ticket #337: Ability to restart PJSIP UDP transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1382 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-22 11:32:49 +00:00
Benny Prijono
77998ce708 More on ticket #399: a)send full offer on 200/OK response when re-INVITE does not have SDP, b) added on_create_offer() callback, c) handle some error cases
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1379 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-20 10:03:46 +00:00
Benny Prijono
1e2dbe6bdb Handle negative number in my_atoi() in pjsua_app.c (thanks Scott M Ober)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1369 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-15 04:15:16 +00:00
Benny Prijono
2208491f62 Fixed missing dependency to pjnath in sample_debug Visual Studio project
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1368 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-14 02:33:07 +00:00
Benny Prijono
6d9d5deb9f Updated the footprint generation script to include PJNATH
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1352 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-08 01:41:25 +00:00
Benny Prijono
6869dc9917 Add configuration with no thread (receive only) in siprtp
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1337 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-03 00:37:30 +00:00
Benny Prijono
478cf7c934 Fixed assertion error caused by different samples_per_frame settings in stereo_demo() in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1336 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-02 00:12:29 +00:00
Benny Prijono
f4b538db4d Ticket #274: the From parameter on_pager() callback contains Contact instead (thanks Nicholas Xu), and also allow non-text/plain IM messages
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1272 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-14 16:45:20 +00:00
Benny Prijono
a0c8b5cef4 Symbian fixes to compile on GCCE (nested callbacks etc)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1269 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-12 15:03:23 +00:00
Benny Prijono
2adfe29558 Added missing ptime when writing config in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1263 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11 10:36:08 +00:00
Benny Prijono
8a7444542f Added registration and other settings in WinCE sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1260 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-10 20:40:57 +00:00
Benny Prijono
c71ad43666 Added comments for Symbian sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1249 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-04 07:25:19 +00:00
Benny Prijono
897f9f8889 Misc Symbian fixes, looks good
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1248 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-03 19:56:21 +00:00
Benny Prijono
b2c9682de8 Implemented ticket #246, #247, #261, #268, #250 for Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1246 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-03 13:31:21 +00:00
Benny Prijono
72a81aad63 More Symbian fixes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1245 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 23:06:11 +00:00
Benny Prijono
5d54264893 Errno and memory size tweaking for Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1244 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 18:54:19 +00:00
Benny Prijono
5bb94225d0 Fixed nullsound in Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1243 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 13:19:33 +00:00
Benny Prijono
ba5926a822 PJSUA-LIB was ported to Symbian and added simple Symbian app. Testing follows
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1242 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 11:29:37 +00:00
Benny Prijono
ad2e0cadf4 Fixed ticket #242: Crash on Windows when no sound device is available
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1224 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-29 12:31:51 +00:00
Benny Prijono
af09dc3ba9 Merged changes from the trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1210 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-22 12:48:30 +00:00
Benny Prijono
25dfd1dfa1 Fixed build system for third_party
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1201 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-17 16:16:01 +00:00
Benny Prijono
4f093d2250 Updated EVC project files with new directory layout
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1179 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-09 08:54:32 +00:00
Benny Prijono
c95a0f0c33 Fixed all VS6 and VS8 projects with new third party projects layout
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1177 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-09 07:06:08 +00:00
Benny Prijono
230c2f91fa Added missing NULL getopt sentitel in stateful/stateless proxy samples
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1161 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-06 10:35:41 +00:00
Benny Prijono
3569c0d5a7 Fixed ticket #216: Build error when PJ_HAS_TCP is set to zero (thanks ChenHuan)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1159 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-06 10:29:20 +00:00
Benny Prijono
da9785b8c3 Added pjsua_dump(), and fix STUN DNS SRV resolution error in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1135 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 20:43:06 +00:00
Benny Prijono
64ac31bced Fixed couple of compilation warnings in STUN and new proxy samples with gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1131 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 19:11:41 +00:00
Benny Prijono
2225d01c96 Updated project dependencies to pjnath
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1130 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 18:46:06 +00:00
Benny Prijono
fbec997d1e Fixed Python module because of recent ICE changes in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1128 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 16:56:20 +00:00
Benny Prijono
fff245c591 Ticket #205: merged proxy functionalities from stable to trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1127 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 11:44:47 +00:00
Benny Prijono
54826a3955 Make simpleua work without threads
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1120 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-30 18:57:01 +00:00
Benny Prijono
a6bd758a9d Updated projects and Makefiles with the new pjnath library
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1111 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-28 15:49:48 +00:00
Benny Prijono
b681a2f671 ICE (work in progress): use single socket for all candidates in component, and implemented IP interface enumeration on Win32
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1104 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-25 18:44:51 +00:00
Benny Prijono
ebbf68973c Added generic DNS SRV resolution in pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1102 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-24 17:37:25 +00:00
Benny Prijono
c27512bd35 Added/updated VS8 projects for pjnath
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1100 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 20:12:45 +00:00
Benny Prijono
c97608ee7f ICE (work in progress): integration with PJSUA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1098 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 16:34:20 +00:00
Benny Prijono
4e5d551edb Ticket #159: allow sound device selection in pjsua (thanks Michael Smith)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1044 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-06 18:11:30 +00:00
Benny Prijono
015cbfdfec Updated VS8 and EVC4 project with new STUN files and added SHA1, HMAC-MD5, and HMAC-SHA1 encryption
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1001 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-25 15:38:32 +00:00
Benny Prijono
20d3672c3f Fixed ticket #132: dialog automatically insert Contact header when sending 3xx response (thanks Hozjan Vladimir for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@995 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-22 14:52:24 +00:00
Benny Prijono
a771a51a61 Ticket #110: HUGE HUGE changeset to replace all occurence of year 2006 with 2007 in copyright notice in all sources
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@974 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19 01:13:53 +00:00
Benny Prijono
da275f6360 Fixed various bugs in Python module
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@972 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18 23:49:14 +00:00
Benny Prijono
b67eaac592 Tidy up the output of pjsua help screen
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@968 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18 20:56:00 +00:00
Benny Prijono
a2914f2bbb Added TCP transport in sipstateless sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@967 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18 01:50:01 +00:00
Benny Prijono
1febfdf6e6 Fixed bug in pjsua: account config not initialized using acc_default()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@966 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18 01:35:04 +00:00
Benny Prijono
72c04d2efc Fixed broken --auto-play command in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@964 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-17 22:20:58 +00:00
Benny Prijono
0eef2c7c47 Updated documentation and sample for media conference with regard to maximum value for audio level adjustment
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@961 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-17 19:38:21 +00:00
Benny Prijono
4abeb9be2e Added sleep() before destroying sound device in playfile and playsine to prevent audio stutters
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@959 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-17 19:34:46 +00:00
Benny Prijono
0deef106f1 sipstateless now takes an argument for the response code to be sent
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@956 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-17 00:12:15 +00:00
Benny Prijono
afc47be5d9 Still on ticket #101: set TLS port to TCP port + 1
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@948 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-14 14:44:55 +00:00
Benny Prijono
e347cb07fc Fixed ticket #101: PJSUA transport is not updated with correct port number if application specifies port is zero
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@947 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-14 14:36:13 +00:00
Benny Prijono
4759f9ca08 Fixed ticket #93: Python readline() blocks/hang because C module running on different thread is calling a blocking OS call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@945 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-14 02:15:19 +00:00
Benny Prijono
40d2cc7aff Fixed bug in Python module's normalize_stun_config(), and added Makefile for building Python module
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@944 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-14 01:45:08 +00:00
Benny Prijono
53932c05aa Fixed bug in simpleua sample: shouldn't respond to ACK request!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@943 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-13 18:51:44 +00:00
Benny Prijono
63da4ff0d4 Fixed hardcoded Linux build in Python module's setup.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@936 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-07 10:09:19 +00:00
Benny Prijono
8148cda903 Fixed ticket #92: undefined symbols when running Python application
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@935 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-07 09:36:37 +00:00
Fahris
89ea3d0297 py pjsua updated @ 070207
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@934 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-07 08:18:35 +00:00
Benny Prijono
aa28604980 Added various PJSIP constants to Python module and bugfix in call_hangup()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@928 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-03 17:23:22 +00:00
Fahris
e314b8856d py_pjsuaupdated 020207
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@926 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-02 10:52:04 +00:00
Benny Prijono
ebdf87742d Implement the missing pjsua_get_snd_dev() function
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@925 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-01 19:25:50 +00:00
Fahris
6f35cb8549 py_pjsua update 010207
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@924 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-01 07:41:26 +00:00
Benny Prijono
39ac70ae80 Fixed ticket #85: build errors when building samples with VS6/VS8
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@922 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-01 03:01:01 +00:00
Benny Prijono
e6ead5425d Updated PJSUA-API docs for Python and some bug fixes in Python module
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@918 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-31 20:53:31 +00:00
Benny Prijono
ed7a5a7be3 Some simple call testing to py_pjsua and bug fixes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@916 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-29 18:36:38 +00:00
Fahris
17d9181e1e update py_pjsua.c 290107
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@915 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-29 12:09:33 +00:00
Fahris
b721aa3c04 revisi py_pjsua.c 290107
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@914 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-29 05:07:41 +00:00
Benny Prijono
fc24e6929d Fixed various gcc warnings especially related to ticket #82 when particular codecs are disabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@911 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-27 18:31:51 +00:00
Benny Prijono
06d1d0ed00 Fixed ticket #82: link error when codec(s) are disabled from configure script (thanks Thomas Reitmayr)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@910 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-27 18:09:28 +00:00
Benny Prijono
4af234b591 Implement ticket #62: option to play tones continuously, and added --play-tone option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@904 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-24 02:02:09 +00:00
Benny Prijono
32e4f4910c Implement ticket #77: allow specifying multiple files in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@903 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-24 00:44:26 +00:00
Benny Prijono
fbce9d0c06 Support for Visual Studio 2005 workspace
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@898 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-23 05:35:36 +00:00
Benny Prijono
990042e6ef Added ability to feed text file containing commands (on Windows) and sleep command to pjsua. Thanks Steven Halerman.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@894 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 19:36:00 +00:00
Benny Prijono
e960bb54f9 Fixed gcc warnings, especially about dereferencing type-punned pointer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@893 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 17:53:39 +00:00
Benny Prijono
87ef89a592 Continuing work on ticket #50: make explicit transport selection works for sending response
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@882 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-14 00:39:45 +00:00
Benny Prijono
f77ba882da Added simple_pjsua example
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@876 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-08 01:20:07 +00:00
Benny Prijono
1ef52e46e5 Fix eol-style in pjsua.py/py_pjsua.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@870 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-28 15:56:06 +00:00
Fahris
dcf8fa4beb py_pjsua.c and pjsua.py updated until lib call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@869 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-28 03:13:48 +00:00
Benny Prijono
6dd967c9ac Ticket #51: Added audio level adjustment to PJSUA-API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@864 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 02:27:14 +00:00
Benny Prijono
0875ae8c4e Added DTMF callback support all the way to PJSUA API (ticket #48)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@863 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 00:11:48 +00:00
Benny Prijono
f3bbc139b5 Major TLS work (ticket #3): asynchronous socket, rather complete TLS options, and pjsua integration. The TLS support should work in both client and server mode.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@861 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-25 06:43:59 +00:00
Benny Prijono
0d510786fa Ticket #46: added recording capability in streamutil sample application
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@856 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-22 15:24:11 +00:00
Benny Prijono
6f0a3d717a Added debugging info setting in Visual Studio project in Release mode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@853 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-11 09:52:20 +00:00
Benny Prijono
dc308700f8 First update on buddy API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@851 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-09 00:39:42 +00:00
Benny Prijono
6e0e54bff3 Initial implementation of TLS transport for ticket #3 (still not working at all)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@849 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-08 21:58:31 +00:00
Benny Prijono
987935985d Updated Python abstraction with transport and account API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@845 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-04 08:33:20 +00:00
Benny Prijono
f762ee7376 Fixed ticket #29: calling pjsua_init() to reinitialize the whole libraries after pjsua_destroy() is called
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@839 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-01 11:14:37 +00:00
Benny Prijono
bc96847e46 Implement task #26: integrate table based Alaw/Ulaw/linear conversion into pjmedia (thanks Toni Rutar for the original contribution)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@838 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-30 01:35:00 +00:00
Benny Prijono
5807f2c60e Fixed sndtest bug (ticket #32): it doesn't display the correct device being tested when default device is used.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@837 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-29 23:12:26 +00:00
Benny Prijono
2b6ec1a259 Added 'cc x y' and 'cd x y' command in pjsua as shortcut commands for the normal cc and cd command
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@832 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-26 10:49:58 +00:00
Benny Prijono
4be63b5a58 Print media statistic when call is disconnected in pjsua, to assist tracing media problems
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@831 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-25 14:50:25 +00:00
Benny Prijono
5b1e14d2f3 Fixed bug in siprtp: media transport was incorrectly NULL-ed after end of call, causing next call to fail
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@829 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-25 08:46:48 +00:00
Benny Prijono
4a92299d8e Updated footprint script to include new stuffs such as echo canceller and tone generator
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@826 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-24 09:31:22 +00:00
Benny Prijono
9872573227 Fixed footprint calculation script
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@825 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-24 09:02:19 +00:00
Benny Prijono
572d485316 Updated Python project with base PJSUA API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@824 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23 21:50:02 +00:00
Benny Prijono
12a669c7a6 Worked on the AEC. Apply constant delay bufferring for the AEC,
and also consider sound device latency when applying EC. It
sounds like working although it still doesn't perfectly cancel
the echo.

EC is now by default enabled in PJSUA.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@822 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23 07:32:13 +00:00
Benny Prijono
af1bb1e09f Fixed handles leak upon program exit, by introducing pj_shutdown() and pj_atexit(). Also fixed handle leaks in SIP transaction layer and SIP endpoint.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@815 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 12:39:31 +00:00
Benny Prijono
8b8b9974cc Added initial Python module
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@803 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-16 11:18:03 +00:00
Benny Prijono
5a9e2041ee Fixed transport detachment when there's no thread being used in siprtp.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@800 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-14 13:35:20 +00:00
Benny Prijono
f7b1c39e34 Committed what seems like what left uncommitted in previous commit (pjsua_app.c and pj/config.c)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@798 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11 16:46:34 +00:00
Benny Prijono
3647cbd05c Changed svn:eol-style to CRLF for Visual Studio projects
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@794 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-08 09:08:02 +00:00
Benny Prijono
d95abb4ede Fixed bug in siprtp in SDP generation because of recent change in SDP attribute value
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@784 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-20 10:18:44 +00:00
Benny Prijono
1ebd614540 Fixed miscellaneous warnings with gcc compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@782 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19 15:48:02 +00:00
Benny Prijono
4ddad2c1fc Some changes to REFER handling in PJSUA-LIB:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@780 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18 17:16:34 +00:00
Benny Prijono
27f01ddebf FIXED BUG: pjsip_endpt_send_request() SHOULD DELETE THE REQUEST REGARDLESS OF THE STATUS!!!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@777 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 21:07:19 +00:00
Benny Prijono
4e05b47e23 Added logging in pjsua wince
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@774 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 15:52:31 +00:00
Benny Prijono
41c96f37fb Changed siprtp to bind to specific address (instead of 0.0.0.0) when -i option is specified in the command line
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@771 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 11:39:07 +00:00
Benny Prijono
fa9e5b1a6c Major addition to support DNS SRV resolution in PJSIP:
- added DNS asynchronous/caching resolver engine in
  PJLIB-UTIL (resolver.[hc])
- modified SIP resolver (sip_resolve.c) to properly
  perform DNS SRV/A resolution when DNS resolution is
  enabled.
- added dns_test.c in PJSIP-TEST for testing the SIP
  resolver.
- added nameserver configuration in PJSUA-LIB
- added "--nameserver" option in PJSUA.
- updated project/Makefiles and doxygen documentation.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@753 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-08 12:39:34 +00:00
Benny Prijono
0a5cad8dec Added support for specifying IP address in PJSUA-LIB/pjsua.
This option can be used for example to select the IP 
interface of SIP/RTP/RTCP transports, or to specify the
public IP address of NAT/router in case port forwarding is
used.

For SIP transports, this feature works for both UDP and 
TCP transports.

Changes:
 - added public_ip field in pjsua_transport_config, and
   change SIP and media transport creation to consider this
   option.
 - added --ip-addr option in pjsua
 - added pjsip_tcp_transport_start2() which allows 
   specifying alternate TCP published address when creating
   TCP transports.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@742 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-26 13:21:02 +00:00
Benny Prijono
093d3022e3 Fixed several bugs in PJSUA-API:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@737 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-24 00:07:11 +00:00
Benny Prijono
5ee1f2eb96 Updated doxygen documentation for the website
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@736 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 20:43:00 +00:00
Benny Prijono
d524e82949 In pjsua, outgoing REFER now always put Refer-Sub: false
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@733 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 12:48:18 +00:00
Benny Prijono
148c9dd37a Fixed race-condition/deadlock problems in the dialog/user agent layer
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: https://svn.pjsip.org/repos/pjproject/trunk@729 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-19 13:37:53 +00:00
Benny Prijono
594e4c5f29 Fix the local IP address resolution issue in PJSIP, PJMEDIA, and PJSUA, by adding a new API pj_gethostip() to resolve the default local IP address of local host. This new function will work even when local hostname resolution is not set correctly, by detecting the default IP interface in the system.
Also fix compile warnings in iLBC.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@721 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 18:51:01 +00:00
Benny Prijono
39ea7f0e32 Fixed WinCE compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@717 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 13:52:29 +00:00
Benny Prijono
804ff0aa0c Added --duration option in PJSUA to limit the maximum duration of calls. Also added pjsip_generic_string_hdr_init2() to initialize temporary SIP header that is allocated in the stack.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@715 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 11:17:48 +00:00
Benny Prijono
d6388acc29 Fix compilation error when PJSIP_AUTH_HEADER_CACHING and PJSIP_AUTH_AUTO_SEND_NEXT is disabled, and set the default for both to disabled. Also fixed the error message in pjsua when invalid arguments are specified.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@695 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-09 13:23:09 +00:00
Benny Prijono
7f5c12cb57 Added multi-purpose tone generator in PJMEDIA (tonegen.[hc])
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@693 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-02 23:45:18 +00:00