Commit Graph

635 Commits

Author SHA1 Message Date
Michael Jerris
20c2740c64 set minimum initital sip t1 timer to 1000ms to work around race condition on retry timer firing before all the things that are supposed to be handled by the timer are set. The base resolution on this timer is 500ms, so doubling up makes sure we always hit the initial retry timer on the next run, where everything should be set. The side effect was, 1/2 the time on a request that did not get immediate response, the timer would be fired and cleared, but the action (sending retry) was never done, and a new timer was not set, causing the request to just sit zombied and never retry. A better solution would be to find and correct the race condition so the timer is never set to early and we never hit this condition. 2010-11-03 13:58:12 -04:00
Michael Jerris
fc4d290cb7 add support for NDLB-force-rport=safe param that does force-rport behavior only on endpoints we know are safe to do so on. This is a dirty hack to try to work with certain endpoints behind sonicwall which does not use the same port when it does nat, when the devices do not support rport, while not breaking devices that acutally use different ports that force-rport will break 2010-11-03 11:53:39 -04:00
Anthony Minessale
df52cc0952 fix registration overlap timeout snafu 2010-11-02 17:58:24 -05:00
Michael Jerris
9b14bd5dbd fix file modes in sofia 2010-10-03 05:53:07 -04:00
Jeff Lenk
bcd31ecaf3 correction to last patch 2010-09-29 16:00:09 -05:00
Jeff Lenk
45ecbc2f61 fix warnings on windows x64 builds src and mods projects - only libsofia included on the libs side 2010-09-29 15:47:58 -05:00
Jeff Lenk
46dd24c2e9 SFSIP-220 VS2010 sofia posix problem 2010-08-21 22:39:01 -05:00
Jeff Lenk
ba1546e055 FSBUILD-297 remove strange characters 2010-08-10 22:07:44 -05:00
Anthony Minessale
c15ee980a7 SFSIP-219 2010-08-03 13:43:29 -05:00
Michael Jerris
4add409cbd fix signed/unsigned build error on windows 2010-06-06 21:03:10 -04:00
Anthony Minessale
c1acebdb42 patch incomplete multipart parsing code 2010-06-01 17:13:32 -05:00
Michael Jerris
a7f4892887 sofia-sip: extend timeout for session expires on short timeouts to be 90% of timeout instead of 1/3 to handle devices that do not refresh in time such as polycom (SFSIP-212) 2010-05-31 09:50:44 -04:00
Michael Jerris
f356c5e6f3 sofia-sip: fix null derefernce segfault in soa 2010-05-31 08:55:42 -04:00
Stefan Knoblich
8f2b8388fc [2/3][sofia-sip] gcc-4.5: Fix enum type mismatch. 2010-04-17 11:17:28 +00:00
Michael Jerris
957d92c430 fix openbsd sofia build 2010-04-02 01:15:18 -04:00
Anthony Minessale
b163206358 fix typo in sofia that causes endless loop when you have a challenge with 2 auth headers in it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-26 17:38:00 +00:00
Brian West
4d3dac5b52 FSBUILD-249
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 22:56:54 +00:00
Mathieu Rene
0a2ee53b72 FSCORE-551
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16635 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-13 21:06:56 +00:00
Anthony Minessale
aaa822ba79 SFSIP-197
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16534 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-28 20:35:17 +00:00
Anthony Minessale
2d73aba12b make sofia not auto-respond to SUBSCRIBE refresh requests
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16273 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 15:47:14 +00:00
Michael Jerris
e8a4f39366 attempt fix for race condition
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16064 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-28 19:19:05 +00:00
Michael Jerris
dd62d83517 try that
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15953 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-14 20:44:04 +00:00
Michael Jerris
7d6f7597d8 don't assert then if
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15951 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-14 20:10:01 +00:00
Michael Jerris
8dd6f9c6e0 try to fix different const qualifiers in openssl 1.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15782 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-04 01:41:58 +00:00
Michael Jerris
511132ac1e fix sofia build when -std=c99
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-01 22:42:18 +00:00
Mathieu Rene
57169ef9fb fix sofia build with new openssl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15426 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-11 05:33:59 +00:00
Anthony Minessale
2c94b2a924 fix assert in sofia lib
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15354 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-04 19:49:02 +00:00
Anthony Minessale
516db24b75 SFSIP-180 report hack in sofia lib to pekka for better answer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-21 23:01:37 +00:00
Anthony Minessale
4d9f7de25b FSCORE-471 and any other update related bugs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-21 18:48:28 +00:00
Michael Jerris
6a9ebc5eb5 don't assert when the impossible happens (or did we get an sdp with no m= lines?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14940 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-21 19:38:35 +00:00
Brian West
c5474bcf11 this is generated waiting on mike to confirm
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14506 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-13 14:39:10 +00:00
Brian West
ea95047694 DOH.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14505 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-13 14:32:05 +00:00
Michael Jerris
897bc5abea Wed Jul 8 11:13:42 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: removed unused variable in nta_tport_keepalive()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14194 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:54:36 +00:00
Michael Jerris
780bce83a4 Mon Jun 29 07:52:27 CDT 2009 kai.k.samposalo@nokia.com
* Symbian winscw build fix


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:54:04 +00:00
Michael Jerris
72210971cd Mon Jun 29 04:13:42 CDT 2009 kai.k.samposalo@nokia.com
* Symbian armv5 build fix


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:52:38 +00:00
Michael Jerris
340bdda571 Fri Jun 26 01:50:56 CDT 2009 kai.k.samposalo@nokia.com
* Symbian build fix


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:51:27 +00:00
Michael Jerris
823e2eb338 Wed Jul 8 10:39:37 CDT 2009 Pekka Pessi <first.last@nokia.com>
* auth_client.c: auc_credentials() now accepts realm with quotes or semicolons
  Ignore-this: 945190725010fa3e5ebc833d38f7c578
  
  Initial patch by Jerry Richards.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14188 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:49:35 +00:00
Michael Jerris
aefcb7d0a0 Tue Jul 7 19:00:00 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: made INFO a general-purpose method


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:48:06 +00:00
Michael Jerris
919d20d9d7 Tue Jul 7 18:41:48 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: only explicitly copying fields into tagged transaction when forking
  Ignore-this: 6a60a9da78188823a70d5dfe05e5d060
  
  Removed extra fields from outgoing transaction.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14185 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:46:07 +00:00
Michael Jerris
9460e5dc90 Tue Jul 7 15:33:55 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_nta_client.c: check that nta tries to use TCP even if NAPTR points to UDP


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14183 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:44:40 +00:00
Michael Jerris
6b9f57d494 Tue Jul 7 13:47:10 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_nta_client.c: fixed test tags


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:43:59 +00:00
Michael Jerris
aae0726b64 Tue Jul 7 13:46:51 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta: added test for sf.net bug #1292657


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:43:25 +00:00
Michael Jerris
1eb6218be2 Mon May 25 10:32:56 CDT 2009 Pekka Pessi <first.last@nokia.com>
* test_nta.c: use s2_fast_forward()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:42:37 +00:00
Michael Jerris
34fd0d3205 Mon May 25 10:31:02 CDT 2009 Pekka Pessi <first.last@nokia.com>
* test_nta_api.c: whitespace fixes



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14179 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:41:42 +00:00
Michael Jerris
42445d70bb Mon Jul 6 15:36:25 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_notifier.c: more logging


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14178 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:40:54 +00:00
Michael Jerris
e8ee4c18ff Tue Jul 7 15:29:27 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: if NAPTRs has protocols with same preference, select one preferred locally



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14177 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:39:58 +00:00
Michael Jerris
c263e61639 Tue Jul 7 13:49:23 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta: fixing old resolver bugs
  Ignore-this: 6e9bb9dadc0b08e6436655b6d4ea322
  
  - Resolving NAPTR records for SIPS (sf.net #1292657)
  - Selecting single transport when resolving



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-09 16:17:07 +00:00
Michael Jerris
b24218957b Tue Jul 7 13:08:02 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta: treat user-via and previously-added via differently



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14172 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-09 16:15:06 +00:00
Michael Jerris
2cb29fd42b Tue Jul 7 16:39:23 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_register.c: not setting receive_natted


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14171 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-09 16:06:08 +00:00
Brian West
a8e700ae5f Tue Jul 7 16:37:28 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_register: added test case register_1_3_3_2 for PING/PONG
  Ignore-this: 8290679900c21df47071f26f2de60625
  
  Disabled test case 1_3_3_1 for now.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14170 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-09 16:04:59 +00:00