Benny Prijono
a6992c53ae
Fixed ticket #319 : assertion in pjsua when adding buddy with invalid or unreachable host (thanks Paul Levin)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1341 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-05 22:58:32 +00:00
Benny Prijono
f433a5ee6d
Ticket #318 : CSeq generation may produce negative number on Blackfin/VisualDSP++ (thanks Jarek Szymkowski)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1340 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-05 21:36:54 +00:00
Benny Prijono
3fe034a629
Fixed ticket #316 : Crash in registration session when transport returns error on sending authentication retry
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1335 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-01 12:51:07 +00:00
Benny Prijono
47e4669361
Added assertion in regc to check if application has called pjsip_regc_destroy() while transaction was in progress
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1332 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-01 07:25:30 +00:00
Benny Prijono
12efe5bda2
Fixed ticket #313 : Error resolving host in PJSIP resolver when DNS response contains CNAME (thanks Esbjörn Dominique)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1326 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-30 16:23:43 +00:00
Benny Prijono
1103222feb
Fixed ticket #311 : PJSIP resolver is not destroyed on shutdown (thanks Martin Peterzon)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1323 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-30 15:20:56 +00:00
Benny Prijono
1dc8be06b8
Fixed ticket #302 : Behavior in cancelling INVITE session when no provisional response has been received (thanks Esbjörn Dominique)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1319 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-30 04:26:40 +00:00
Benny Prijono
d17a5e9b7b
Fixed Symbian (aka C++ mode) compilation error because of recent change in transport key in ticket #306 (thanks Esbjorn Dominique)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1317 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-29 11:51:45 +00:00
Benny Prijono
a13314ab8d
Fixed ticket #307 : Fail to parse fully qualified PIDF document (thanks Cool_Zer0)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1313 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-29 04:09:51 +00:00
Benny Prijono
7a5f5106af
Fixed ticket #91 : timer to re-subscribe buddy's presence when subscription failed
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1311 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-29 00:33:09 +00:00
Benny Prijono
b6e8bd4e90
Fixed ticket #306 : Error in SIP transport lookup because of memory alignment problem (thanks Samuel Vinson)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1310 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-28 12:58:57 +00:00
Benny Prijono
17e58ed63a
Fixed ticket #304 : Memory alignment error for hash entry buffer causing crash on ARM (thanks ChenHuan)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1307 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-28 11:49:46 +00:00
Benny Prijono
f9b56ecc4a
Fixed ticket #293 : Uninitialized memory read reported by Purify in SIP authentication
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1294 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-23 14:21:53 +00:00
Benny Prijono
da1e0635b0
Fixed ticket #291 : Free memory read in PUBLISH session
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1292 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-23 14:12:35 +00:00
Benny Prijono
c9f6ea7052
Fixed ticket #288 : ICE role error on re-INVITE and ICE auth error when sending 487 (Role Conflict) response
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1291 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-23 07:12:23 +00:00
Benny Prijono
0606e704cd
Fixed ticket #284 : Failed scenarios with CANCEL requests (thanks Esbjörn Dominique)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1287 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-22 12:21:40 +00:00
Benny Prijono
bbeb3999fe
Ticket #283 : Added another pjsua IM callback with the message passed as argument (thanks Paul Levin)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1285 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-21 13:48:35 +00:00
Benny Prijono
48da92eec9
Fixed ticket #100 : Assertion failure when terminating subscription with PJSUA-API (thanks Edward Tian)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1281 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-16 08:56:30 +00:00
Benny Prijono
318f38471c
Fixed ticket #276 : Error creating resolver on Win32 release mode (thanks Frank Wiersma)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1278 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-15 20:27:08 +00:00
Benny Prijono
3850740014
Fixed Symbian compilation error for pjsua_im.c
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1276 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-15 11:15:58 +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
a1e6968900
HUGE changeset to make the rest of the libraries compile with C++ mode
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1266 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11 15:14:34 +00:00
Benny Prijono
427af7d94a
Added IP bandwidth output in pjsua dq report
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1264 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11 10:36:40 +00:00
Benny Prijono
55e8235c21
Fixed crash when incoming call is received while application is starting
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1262 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-10 20:49:08 +00:00
Benny Prijono
54f6d8d442
Fixed more bugs caused by ticket #221
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1250 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-04 10:49:54 +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
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
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
9d4469d3f2
Ported PJSIP and PJSIP-SIMPLE to Symbian
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1241 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 05:14:29 +00:00
Benny Prijono
5feee2eb30
PJSDP port to Symbian
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1240 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-01 16:54:54 +00:00
Benny Prijono
64898b54ea
Fixed build error on Linux
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1236 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-01 06:36:15 +00:00
Benny Prijono
94aee45a94
Related to ticket #240 : fixed URI test because of changes in parsing quoted parameter
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1231 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-29 18:29:14 +00:00
Benny Prijono
8fcbe2dc7e
Continuing ticket #240 : Error parsing quoted URI parameters
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1228 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-29 18:07:53 +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
8aea0d97d3
Fixed ticket #240 : error parsing/printing quoted parameters, and also added header tests in pjsip-test
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1221 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-29 06:23:11 +00:00
Benny Prijono
4cf8d1c0f3
Undo ticket #238
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1220 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-28 15:37:49 +00:00
Benny Prijono
83186e09b9
Fixed ticket #238 : allow colon in Via parameters
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1217 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-28 13:00:33 +00:00
Benny Prijono
ca1447ff25
Fixed typo in PUBLISH documentation (thanks Klaus Darilion)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1214 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-28 04:13:11 +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
d962784580
Fixed the legacy build system
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1202 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-18 09:24:31 +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
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
d639efaafd
Fixed ticket #214 : Error opening sound device is not propagated to application (thanks Paul Levin)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1156 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-05 22:45:06 +00:00
Benny Prijono
e1a10cbab8
Ticket #212 : IM typing indication request is missing route set (thanks Nicholas Xu)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1148 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-04 10:45:44 +00:00
Benny Prijono
9db591ae44
Ticket #209 : Added XMLNS for attribute for PIDF document (thanks Tory Patnoe)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1146 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-04 10:17:10 +00:00
Benny Prijono
980ca0af08
Undo ticket #185 : removed pj_file_flush() from pjsua-lib since it slows down the application alot!
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1136 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-03 17:55:08 +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
617c5bc8df
When STUN is used with ICE, SDP media line should show the public IP address
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1134 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 19:51:21 +00:00
Benny Prijono
667952ed96
Fixed hold/re-INVITE bug when ICE is used
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1133 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 19:27:54 +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
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
dbce2cf75c
Fixed pjnath build warnings/errors on Linux
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1112 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-28 16:24:00 +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
fed7f4ce70
Fixed ticket #203 : Fix error when telephone-event is set as the first format in SDP (thanks Chris Hamilton)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1109 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-27 11:01:45 +00:00
Benny Prijono
fd70c9b526
ICE: added media index in pjmedia when handling SDP containing ICE candidates
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1108 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-27 11:00:38 +00:00
Benny Prijono
7e0d52c06e
ICE: implement RTCP component and cancelling check in progress
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1106 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-26 13:25:07 +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
ec92134367
ICE (work in progress): implement error codes
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1101 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-24 13:00:30 +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
f75ecebb3f
ICE (work in progress): implemented server reflexive candidate
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1099 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 19:09:54 +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
d377f7b57f
Fixed compilation error in TLS transport because of recent changes in pj_sockaddr (thanks Alain Totouom)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1088 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-20 11:50:37 +00:00
Benny Prijono
703b7d7f7c
Fixed ticket #191 : PUBLISH request in pjsua is not initialized with account's route set (thanks Nicholas Xu)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1087 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-20 09:13:24 +00:00
Benny Prijono
93e9deda7d
Fixed ticket #189 : Error parsing compact form of SIP header (thanks Tobias Söreling)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1084 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-19 13:06:32 +00:00
Benny Prijono
69f73fe489
Fixed ticket #189 : Error parsing compact form of Via header (thanks Tobias Söreling)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1082 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-19 10:27:13 +00:00
Benny Prijono
b01897b505
Changed pj_sockaddr structure and added pjnath project for ICE/STUN stuffs
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1080 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-18 17:39:27 +00:00
Benny Prijono
71804f57b3
Fixed ticket #187 : Bug with destination address calculation for strict route set (thanks Hoi-Ho Chan)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1079 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-18 09:29:45 +00:00
Benny Prijono
ee73871ef3
Implemented ticket #185 : Added pj_file_flush() to file I/O API to flush file buffers
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1074 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-16 09:25:47 +00:00
Benny Prijono
de47956784
Fixed ticket #177 : RTP port number is not reset in pjsua media (thanks Binu KS)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1066 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-15 10:23:55 +00:00
Benny Prijono
914754490a
Fixed DNS test error because of recent changes
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1035 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-03 02:13:55 +00:00
Benny Prijono
cc3a9a9b0e
Fixed ticket #156 : Not enough memory to parse DNS packets in resolver (thanks Frank Wiersma)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1031 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-02 14:35:57 +00:00
Benny Prijono
7e17074b6b
Fixed ticket #153 : UAC dialog doesn't update route_set when calling RFC 2543 UAS (thanks Binu K S)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1026 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-01 18:39:37 +00:00
Benny Prijono
23be3382f0
Fixed ticket #145 : pj_ioqueue_poll() blocks forever because of invalid timeout value (thanks Igor S)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1017 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-28 15:36:19 +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
8c6e884046
Fixed ticket #136 : Invalid presence entity ID when URI is specified in name-addr format
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1000 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-24 15:33:54 +00:00
Benny Prijono
8b6834fd00
Fixed ticket #90 : PUBLISH is rejected with 404 when REGISTER is challenged with 401/407
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@998 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-24 13:29:22 +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
14c2b8609d
Merged the ICE branch into the trunk
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@992 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-21 00:40:05 +00:00
Benny Prijono
392983fb7d
Fixed (and tested) ticket #112 : Workaround for forking
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@989 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-20 18:53:14 +00:00
Benny Prijono
4624994b03
Fixed ticket #114 : INVITE transaction is not destroyed immediately when ACK has the same branch as the INVITE
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@982 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19 22:23:14 +00:00
Benny Prijono
c111069d16
Fixed ticket #111 : workaround for forking dialog
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@979 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19 16:55:42 +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
8c7a6176a7
Fixed invalid URI typecasting in Contact header generation in PJSUA-LIB
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@971 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18 21:17:46 +00:00
Benny Prijono
fc49359549
Check for non-SIP URI in buddy URL
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@969 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18 20:56:32 +00:00
Benny Prijono
f4721ca8b9
Fixed test.h to include all tests in pjsip test
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@962 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-17 19:40:06 +00:00
Benny Prijono
53cfa71562
Fixed ticket #104 : pjsip_ctype_hdr_clone() doesn't duplicate media subtype
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@952 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-16 11:29:16 +00:00
Benny Prijono
cba59d9d05
Ticket #102 : use PJSUA_MAX_PLAYERS and PJSUA_MAX_RECORDERS instead of hardcoded value in pjsua
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@949 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-16 09:22:56 +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
f5443b2e7e
Implement ticket #99 : a more generic mechanism to implement UAC transaction timeout after provisional response is received
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@942 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-13 02:52:37 +00:00
Benny Prijono
f90ef4ffcd
Fixed ticket #98 : Error binding transports to specific interface in PJSUA-API
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@941 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-12 14:59:57 +00:00
Benny Prijono
9c1528fadb
Related to ticket #97 : make name_addr handling more robust against possibility of bugs that someone may put another name_addr inside a name_addr
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@939 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-10 19:22:25 +00:00
Benny Prijono
c2daf784d5
Fixed ticket #97 : bug with URI/name-addr copying in strict route handling routine
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@938 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-10 18:56:52 +00:00
Benny Prijono
0f35f91aec
Fixed ticket #89 : implement transaction timeout in REGISTER request (thanks Frank Wiersma for reporting the problem)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@932 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-05 18:59:31 +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
Benny Prijono
5ff6187f32
Fixed ticket #84 : pjsua_transport_close() doesn't properly close transport (especially TLS)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@923 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-01 03:37:11 +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
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
f265180088
Fixed ticket #81 : registration refresh crashed when NIC is plugged-off
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@908 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-26 17:13:56 +00:00
Benny Prijono
403e24c7cb
Ticket #78 : increased PTIME in pjsua_media.c to 20ms (from 10ms) because of the noisy audio problem
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@906 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-25 17:13:34 +00:00
Benny Prijono
e80cdf0b87
Updated doxygen documentation to version 0.5.10
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@905 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-25 01:38:03 +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
a66c331766
Implement ticket #67 : added WAV playlist feature to PJMEDIA
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@895 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 23:12:40 +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
922933b3c1
Fixed ticket #68 : pjsua account is not completely invalidated
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@892 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 16:23:56 +00:00
Benny Prijono
5899023486
Fixed ticket #73 : regc does not respond to 401/407 challenge after it has been marked for deletion
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@891 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 16:11:18 +00:00
Benny Prijono
df2b71e7e5
Fixed ticket #65 : broken pjsip-test compilation because of recent changes in transport
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@890 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20 19:17:47 +00:00
Benny Prijono
b43bad7147
Fix ticket #71 : When host doesn't have any NIC interfaces, pj_gethostip() should return 127.0.0.1 instead of error
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@885 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-20 05:11:08 +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
62c5c5b23b
More work on ticket #50 : binding of PJSUA-API account to specific transport, and minor fixes in PJSIP core implementation. Tested okay.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@881 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-13 23:22:40 +00:00
Benny Prijono
c505570c58
Removed trailing space for invite's CONFIRMED state name
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@880 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-13 23:20:18 +00:00
Benny Prijono
720d0a8365
Workaround for ticket #50 : added API to lock/bind transaction, dialog, and regc to a specific transport/listener
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@879 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-12 06:37:35 +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
b5388cfa9c
Just updated and improved the doxygen documentations all over the place
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@875 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-04 22:45:08 +00:00
Benny Prijono
4b96675fa2
Fixed TLS transport when IOCP is used
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@872 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-29 02:25:03 +00:00
Benny Prijono
7e8ef1cbc3
Fixed ticket #25 : Authentication loops forever when server keeps rejecting request with stale=true
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@871 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-29 00:13:10 +00:00
Benny Prijono
e18574cdce
Fixed ticket #42 : duplicate hash entry when TCP/TLS connection is created while previous one is shutting down
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@866 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 03:56:29 +00:00
Benny Prijono
469b1522a8
(Ticket #52 ) Added functions to retrieve media port of player and recorder in PJSUA-API
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@865 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 03:05:17 +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
7e0d75ff3d
Added TLS support in Makefiles (see ticket #3 )
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@862 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-25 20:34:14 +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
ba4aedb0c8
More TLS fixes (ticket #3 ), it should work now in blocking mode
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@858 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-24 04:34:50 +00:00
Benny Prijono
95df86abfe
Fixed ticket #45 : Accept, Allow, and Supported header may contain empty sequence
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@854 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-15 11:33:34 +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
52cf013a3c
More testing with TLS implementation (ticket #3 ), we can send outgoing request but somehow connection gets closed by server after the request is sent
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@852 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-11 09:32:57 +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
320fa4d35f
Fixed ticket #38 : misleading error message when destination URI is not valid when making outgoing call
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@847 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-07 10:09:16 +00:00
Benny Prijono
dfc4c48d45
Fixed ticket #36 : pjsip_regc_unregister() SHOULD NOT unregister all contacts but rather only contact that was previously sent in the registration. In addition, added function pjsip_regc_unregister_all() to unregister all contacts
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@843 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-02 07:25:29 +00:00
Benny Prijono
25a86c7225
Fixed ticket #34 : unable to send REGISTER in the registration callback
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@841 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-01 20:50:01 +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
75862ec87a
Fixed ticket #28 : bug in Replaces header parsing
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@834 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-27 11:10:52 +00:00
Benny Prijono
c53c6d706e
Display actual sound device name in conference bridge port zero
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@833 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-27 09:54:03 +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
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
d2990b9b96
Updated Speex to their latest SVN (1.2-beta). AEC seems
...
to work much better now and take less CPU, so I increased
default tail length in PJSUA to 800ms.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@823 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23 10:19:46 +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
1f7cf1500b
Fixed mutex leak in SIP endpoint: timer heap was not destroyed
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@818 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 18:41:47 +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
1d0ca0ca86
Added jitter buffer settings in PJSUA-API media config
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@813 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 09:06:47 +00:00
Benny Prijono
094d3adb7f
Fixed sound device ID bug: application was unable to use device ID zero because this caused pasound.c to autodetect default device
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@812 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 08:41:00 +00:00
Benny Prijono
07113c97a4
Fixed compilation error if C++ application tries to include pjsua_internal.h
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@811 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 08:38:00 +00:00
Benny Prijono
19993c6af6
Fixed handles leak in SIP endpoint: ioqueue is not freed, causing PJ_IOQUEUE_MAX_HANDLES mutex to leak during program exits
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@810 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 08:37:17 +00:00
Benny Prijono
45c206fadb
Fixed minor memory leak in SIP TCP transport
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@808 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-19 21:46:29 +00:00
Benny Prijono
f538d2d77f
Fixed bug in parser: clone_data member of message body is not set.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@801 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-15 14:38:55 +00:00
Benny Prijono
8fc6de0270
Add pjsip_regc_add_headers() APi to set headers to be added
...
to the REGISTER request. This solves the problem where headers
registered in the initial REGISTER request (such as User-Agent
header) are not sent in subsequent reregistration request.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@799 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11 21:25:55 +00:00
Benny Prijono
053f522223
Attended call transfer implementation. The changes involves:
...
- 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: https://svn.pjsip.org/repos/pjproject/trunk@797 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11 16:16:04 +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
eba441ad84
Removed multiple Via headers checking in transport, as
...
proxies will receive multiple Via headers.
Thanks Aldo <acampi at deis.unibo.it>.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@792 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-06 13:19:20 +00:00
Benny Prijono
8f31052c5a
Changed the processing of mp3 _options in mp3 writer with regard to bit_rate and quality to comply with LAME, also changed the pjsua_recorder_create() parameter to allow specifying mp3 options in one of the parameter
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@785 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-20 11:08:49 +00:00
Benny Prijono
b3cdb2bdb7
Support for MP3 recording for Win32 target. Also added "--rec-file" and "--auto-rec" option in pjsua to record voice conversion. The "--rec-file" option will record to either .WAV or .MP3 depending on the file extension.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@783 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19 15:49:47 +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
dfb7d48871
Changed temporary buffer size for duplicating contact info in pjsua-lib to 1024 from 512
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@781 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18 20:35:14 +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
197cabf52b
Fixed bug in client registration when pjsip_endpt_send_request() returns immediate error
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@776 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 20:05:27 +00:00
Benny Prijono
e1a8badcde
Fixed possible small memory leak in PJSUA registration
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@769 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-13 17:45:38 +00:00
Benny Prijono
658a1c5681
Fixed bug in pjsua_media.c: when sound device is created with different sampling rate than the clock rate configuration, resampling port needs to be created.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@765 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11 21:56:16 +00:00
Benny Prijono
26056d8883
Changed pjsua_media.c to try different clock rates when opening sound device
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@763 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11 16:03:41 +00:00
Benny Prijono
84864dac96
Modify sip_transaction.c to send ACK first before notifying upper layer about the failure (so that ACK is transmitted first before next INVITE is sent).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@756 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-08 16:59:38 +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
1d9b9a4996
Tests with other user agents revealed some bugs which
...
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: https://svn.pjsip.org/repos/pjproject/trunk@738 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-25 13:40:12 +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
e74a941e40
Handle incoming empty packets sent by some user agents (to refresh NAT)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@735 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 18:42:09 +00:00
Benny Prijono
dc752ca112
Fixed few bugs that seem to have been introduced by new dialog
...
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: https://svn.pjsip.org/repos/pjproject/trunk@734 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 16:55:42 +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
669643c95c
Automatically suspend AEC when nothing is connected to the sound port in the bridge, and resume as soon as frames are transmitted.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@731 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-20 20:02: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
bc331ca8dc
Fixed misc compilation warnings (mostly about unused variables)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@728 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-19 13:32:05 +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
2461a14b2e
Added pjsip_transport_register_type() API to register new transport type.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@720 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 16:07:49 +00:00
Benny Prijono
903155197a
Added account ID in pjsua_call_info.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@719 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 16:05:16 +00:00
Benny Prijono
afcd6cce11
Updated the doxygen comments for PJSIP_EFAILEDCREDENTIAL and PJSIP_ENOCREDENTIAL, since these are queried often.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@718 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 16:03:42 +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
4093f7c448
Fixed bug in client REGISTER: crashed when application calls pjsip_regc_register()/pjsip_regc_send() while previous REGISTER request has not been answered with final response. This occurs for example when pjsip_regc_register() is called in quick successions.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@714 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13 23:48:45 +00:00
Benny Prijono
ea4296c385
SIP methods are now compared case-sensitively (previously it was case-insensitive) because the standard says so. There's no ill effect of the old behavior, but it's still important that we do things according to what the standard says.
...
Also a little change in string implementation (use memcmp() instead of strncmp()), an increase the version number from 0.5.7.6 to 0.5.7.7.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@713 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13 22:48:37 +00:00
Benny Prijono
736d0f7f16
Fixed bug in event subscription: for event subscriptions established by non-SUBSCRIBE method (such as REFER), the method to refresh/unsubscribe subscription would still be SUBSCRIBE, not the initial method to establish subscription. There's no known ill effect of this bug (that I know of), but it's still important that this one has been fixed.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@712 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13 22:45:38 +00:00
Benny Prijono
033d7f6efe
Fixed authentication with qop: nc is not printed, and set nc length to 8 bytes (sipcenter proxy server complained about this). It's now working fine with or without qop. Default caching and auto_send still set to disabled.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@696 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-09 16:34:30 +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
a3cbb1c4bb
Yet another documentation/doxygen update
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@691 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-25 12:41:05 +00:00
Benny Prijono
97b87175bc
Just updated doxygen documentation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@690 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-24 14:25:14 +00:00
Benny Prijono
c4c61d0216
Finishing autoconf work, also fixed compilation error in publish.h
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@689 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-20 20:47:34 +00:00
Benny Prijono
c8141a834a
Added initial "norefersub" (RFC 4488) implementation in PJSUA-LIB, and also properly register all supported SIP method, accepted content type, and supported extensions to endpoint.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@688 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-20 09:12:19 +00:00
Benny Prijono
3a5e1ab170
Support for PUBLISH (RFC 3903):
...
- API BREAK: pjsua_pres_create_uac() API CHANGED!! Added
options in the function, to allow creating SUBSCRIBE without
";id=" parameter in the Event header.
- the generic event publication in pjsip-simple/publish.[hc]
- split PIDF and X-PIDF body generation and parsing into
pjsip-simple/presence_body.c.
- allow NULL in module parameter in pjsip_endpt_add_capability()
- added "--publish" option in PJSUA.
- by default, PJSUA-LIB will not add ";id=" parameter in Event
header in the SUBSCRIBE request since lots of server and
user agents don't support this correctly.
- Set version to 0.5.7.6.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@685 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15 20:26:34 +00:00
Benny Prijono
21b9ad9ea5
Added initial PUBLISH client support, and also default account selection in pjsua/pjsua-lib
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@683 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15 13:11:22 +00:00
Benny Prijono
f862897cb8
Improved logging consistency and added more logging info in verbosity 6
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@675 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-12 13:58:56 +00:00
Benny Prijono
e9db7003c3
Fixed bugs in previous deadlock workaround
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@673 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-11 12:42:50 +00:00
Benny Prijono
8eae838588
Attempt to fix the race condition in dialog locking.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@671 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-10 21:44:26 +00:00
Benny Prijono
2704258752
Fixed bugs in client registration (sip_regc.c): when re-registration failed to send the request, application callback is not called.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@663 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-08 14:04:21 +00:00
Benny Prijono
5b656872cf
Added logging in sip_regc.c to report the error when pjsip_regc_send() fails (because no error will be logged when re-registration fails).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@662 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-08 00:41:00 +00:00
Benny Prijono
80019eb11f
Added Ctrl-C handler for pjsua Windows, and added average bps in media statistic.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@660 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 13:22:23 +00:00