Commit Graph

439 Commits

Author SHA1 Message Date
Anthony Minessale
b30ee92003 force a sofia rebuild 2011-08-22 12:33:33 -05:00
Anthony Minessale
bc177a4b28 FS-3475 --resolve 2011-08-02 13:51:57 -05:00
Anthony Minessale
ed23847574 fix mac build 2011-08-01 10:01:50 -05:00
Anthony Minessale
3e029f0dfb add capture hooks to libsofia 2011-07-31 18:36:05 -05:00
Anthony Minessale
c9cab41620 tweak debug code 2011-07-14 00:12:53 -05:00
Anthony Minessale
f761241325 use individual pools instead of sub-pools for nua handles to avoid pool swell 2011-07-11 21:27:36 -05:00
Anthony Minessale
56a82812d6 update 2011-07-06 15:11:47 -05:00
Anthony Minessale
36262e117f ping .update to force sofia rebuild 2011-04-27 11:50:32 -05:00
Anthony Minessale
257bc9ff41 lower stack and boost priority of sofia schedule thread 2011-03-22 15:02:10 -05:00
Anthony Minessale
564046412d FS-3133 --comment-only this looks like a bad assert, can you update and try again, part 2 2011-03-08 12:40:58 -06:00
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
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
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
Anthony Minessale
38bb497133 make sofia not auto-respond to SUBSCRIBE refresh requests
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16275 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 15:48:34 +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
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
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
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
Michael Jerris
a01ac9a899 Wed Jul 8 11:14:36 CDT 2009 Pekka Pessi <first.last@nokia.com>
* su_source.c: silenced warning in su_source_check()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14195 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:55:28 +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
f0eb6c1c97 Fri Jun 26 07:32:30 CDT 2009 kai.k.samposalo@nokia.com
* Symbian build fix: disable test_nua.mmp


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14191 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:52:04 +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
ebbbc6da8c Thu Jun 25 06:53:16 CDT 2009 kai.k.samposalo@nokia.com
* Symbian: autoconf-all.cmd added and mmp update


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:50:12 +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
bb0cb5eba9 Tue Jul 7 19:19:07 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tests/test_basic_call.c: do not use INFO to terminate session usage


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14187 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:48:37 +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
d0612e0cac Tue Jul 7 17:09:01 CDT 2009 Pekka Pessi <first.last@nokia.com>
* test_basic_call.c: fixed timing problem in test_basic_call_7() (NUA-3.7.1)


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14184 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:45:13 +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
Michael Jerris
29997399f3 Mon Jul 6 14:29:40 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_simple: more checks from terminating subscription


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-09 16:04:14 +00:00
Michael Jerris
275bef5b98 Tue Jul 7 15:41:36 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_session.c: testcase for INVITE forked with 100rel terminating properly



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14168 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-09 16:01:56 +00:00
Michael Jerris
5dabbe8635 Tue Jul 7 12:50:57 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: handling of forked transactions getting CANCELed and timing out
  Ignore-this: 30a92f1c8721f9d3fa22b9611ac9e7b1
  
  Fixes freeswitch.org bug FSCORE-338.
  
  Thanks for Gabriel Kuri for reporting the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-09 16:00:36 +00:00
Michael Jerris
fd8106afcf Thu Jun 25 12:34:42 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_server.c: replying 200 OK to BYE left unreplied upon nua_handle_destroy



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13986 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-26 19:56:10 +00:00
Michael Jerris
fac4ab6d5d Wed Jun 3 12:25:35 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport_type_tls.c: added field names to tport_vtable_t initialization



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13985 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-26 19:54:39 +00:00
Michael Jerris
8c45434ae7 Thu Jun 25 12:35:25 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_session.c: test for 200 response to BYE left unreplied by application



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-25 18:47:15 +00:00