Commit Graph

1037 Commits

Author SHA1 Message Date
Jeff Lenk 130e1c8774 fix windows compile 2011-07-16 19:13:27 -05:00
Anthony Minessale b0e076a74f FS-3386 add some more debug defines to sofia and avoid double destroy in nh 2011-07-16 01:03:01 -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 d68605f5ae FS-3394 --resolve edge case in the 3rd party sofia sip stack library when dealing with a malformed contact and missing ack. Will push upstream to sofia devs 2011-07-06 15:11:26 -05:00
Jeff Lenk 7adaceb87a Fix for issue reported on the mailing list with a Chinese locale and windows. This commit removes a hidden char that should not have been there anyway. 2011-05-04 16:54:45 -05:00
Anthony Minessale 36262e117f ping .update to force sofia rebuild 2011-04-27 11:50:32 -05:00
Marc Olivier Chouinard bc19d28310 Fix regression to dns resolve in sofia. It will make sofia and compiler happy 2011-04-25 15:53:54 -04:00
Marc Olivier Chouinard 626a99f994 sofia-lib: More Fix for -Wunused-but-set-variable required compiler. (Might need to be ported back to sofia) 2011-04-23 20:33:19 -04:00
Jeff Lenk 5bcf487df9 fix for last commit 2011-04-22 21:30:42 -05:00
Marc Olivier Chouinard 92cd095006 sofia-lib: Fix for -Wunused-but-set-variable required compiler. (Might need to be ported back to sofia) 2011-04-22 22:11:34 -04: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
Anthony Minessale 0be456565b FS-3133 --comment-only this looks like a bad assert, can you update and try again 2011-03-08 12:39:07 -06:00
Anthony Minessale 91a5e77650 FS-2803 2011-02-18 18:53:40 -06:00
Anthony Minessale e4bff56765 fix seg in sofia merged from upstream 2011-02-18 18:50:50 -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 9b14bd5dbd fix file modes in sofia 2010-10-03 05:53:07 -04:00
Michael Jerris ad0298f7f9 FS-234: add missing AM_PROG_CC_C_O to sofia configure 2010-10-03 04:59:25 -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 6626211ab6 MODSOFIA-92 step 3 - now hooked to build 2010-08-17 11:33:40 -06: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
Michael Jerris 9f5bf3b592 fix openbsd sofia build -- don't ask -- (FSBUILD-256)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17072 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-23 01:20:48 +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 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
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 49d2fecc48 a slightly more annoying yet more sane way to fix snow cat
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15868 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 04:19:49 +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
Michael Jerris e3ea76dd47 fix calling of sub configure.gnu files during --srcdir build (FSBUILD-211)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-24 23:04:21 +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 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
Michael Jerris ebccde01bd Thu Jun 25 12:25:56 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_session.c: check correct non-support for 100rel

Thu Jun 25 12:26:46 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * nua_session.c: if 100rel is not supported by nua, do not Require it in response
  
Thu Jun 25 12:33:45 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * check_session.c: cleaned test for SFSIP-125

  Fixes SFSIP-125



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13960 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-25 18:46:14 +00:00
Michael Jerris 1fbee17a16 Thu Jun 25 12:13:32 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_nta_client.c: silenced check for bug #2531152



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13957 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-25 18:44:31 +00:00
Michael Jerris dd22cf6876 Wed Jun 3 12:25:19 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport_type_udp.c: added field names to tport_vtable_t initialization

Wed Jun  3 12:25:52 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * tport_type_tcp.c: added field names to tport_vtable_t initialization

Wed Jun  3 12:29:13 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * tport_threadpool.c: added field names to tport_vtable_t initialization

Wed Jun  3 12:29:41 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * tport_type_connect.c: added field names to tport_vtable_t initialization

Wed Jun  3 12:30:01 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * tport_type_stun.c: added field names to tport_vtable_t initialization

Wed Jun  3 12:30:17 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * tport_type_sctp.c: added field names to tport_vtable_t initialization



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13956 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-25 18:43:54 +00:00
Michael Jerris 41dc9097b1 Tue Jun 23 10:07:20 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_nta_client: test case for sf.net bug #2531152



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13923 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:49:44 +00:00
Michael Jerris 9036ed0809 Tue Jun 23 09:58:14 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sres.c: use original query with callback when doing CNAME recurse



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13922 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:49:03 +00:00
Michael Jerris 7b8332d2d4 Tue Jun 23 08:41:35 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* sresolv/sres.c: a comment to clarify code



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13921 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:48:28 +00:00
Michael Jerris 1467688ed2 Tue Jun 23 08:38:48 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* sresolv/sres.c: Refactored the query ID generation



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13920 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:47:59 +00:00
Michael Jerris 848e8f726c Tue Jun 23 08:18:24 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* sresolv/sres.c: implemented automatic CNAME resolution
  Ignore-this: 1483f6b65deb976e372921ef7ff1b0a0
  
  Fixes sf.net bug #2531152
  
  Behavioral change: intermediate CNAME results are not retrieved to the client.
  The only cases where CNAME results are retrieved are queries for
  sres_type_cname and sres_qtype_any, meaning no CNAME resolution is performed.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13919 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:47:23 +00:00
Michael Jerris 9f80035304 Tue Jun 23 06:56:48 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* Fixed an s2 state breakage when running tests unforked



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13918 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:46:28 +00:00
Michael Jerris 10d1f60ca1 Mon Jun 22 10:10:16 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* sresolv/sres.c: Untangle error record injection in case of a non-matching response
  Ignore-this: 5df64ab26151ac8e9da396aca83120cd
  
  errorcount == 0 in this branch anyway, no need to be obscure about it.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13917 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:45:42 +00:00
Michael Jerris 40ce9aeac4 Tue Jun 23 10:01:36 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_sres_sip: fixed records used in check_cname



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13916 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:44:54 +00:00
Michael Jerris e92f8e4657 Tue Jun 23 09:59:55 CDT 2009 Pekka Pessi <first.last@nokia.com>
* s2dns.c: return CNAME as answer
  Ignore-this: 1beaf31e2a72f2841a097a8d2dea317
  
  Previously, CNAME was returned as an extra record, not as an answer.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13915 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:44:22 +00:00
Andrew Thompson 219a2ecc4b Use sofia's openssl configure checks in the toplevel configure script (OKed by MikeJ)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13814 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-17 16:11:53 +00:00
Michael Jerris acd67cb318 libsofia: handle mid-line comments in resolv.conf patch from Lee Verberne (SFSIP-152)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 15:24:34 +00:00
Brian West ab721a5d4b pass 302 and 305 to callback
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13732 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 18:22:48 +00:00
Michael Jerris 0f13336971 use addres, id, and version from user sdp if they exist
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13621 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 21:11:29 +00:00
Michael Jerris 59080b8d49 Thu May 14 13:05:11 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta_outgoing_tcreate(): log offending tag



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13542 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-01 22:51:27 +00:00
Michael Jerris 0c164384e6 Thu May 14 09:05:13 CDT 2009 Aleksander Morgado <aleksander@es.gnu.org>
* extra_100 parameter at transaction level



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13541 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-01 22:50:59 +00:00
Michael Jerris d073879155 Tue May 19 12:03:18 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport_tls.c: removed global tls_ex_data_idx, using static one



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13540 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-01 22:50:03 +00:00
Michael Jerris d90b97bc24 Thu May 14 13:01:25 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: sanity checks for fork()ed cases
  Ignore-this: f384a65929393f36012f433292a73a91



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13539 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-01 22:49:18 +00:00
Michael Jerris 99f6627380 sofia-sip: subscription-state subexp-params missing (SFSIP-148)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13439 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-26 22:27:10 +00:00
Michael Jerris 85317633dc build: fix gcc-4.4.0 build failures (FSCORE-355)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13395 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 20:25:59 +00:00
Michael Jerris ed9ddb3c56 Tue May 19 12:00:30 CDT 2009 Pekka Pessi <first.last@nokia.com>
* su_uniqueid.c: Solaris misdefines PTHREAD_ONCE_INIT 
  Ignore-this: 9fe2247164d572901ed4a30b009353db
  
  Solaris defines pthread_once_t as a struct containing an array. The
  initializer PTHREAD_ONCE_INIT needs two levels of brackets it but only has
  one. Original patch from Mike Jerris <mike@jerris.com>.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13388 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 17:25:08 +00:00
Michael Jerris c60535e7a8 Tue May 19 12:00:30 CDT 2009 Pekka Pessi <first.last@nokia.com>
* su_uniqueid.c: Solaris misdefines PTHREAD_ONCE_INIT 
  Ignore-this: 9fe2247164d572901ed4a30b009353db
  
  Solaris defines pthread_once_t as a struct containing an array. The
  initializer PTHREAD_ONCE_INIT needs two levels of brackets it but only has
  one. Original patch from Mike Jerris <mike@jerris.com>.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13387 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 17:23:16 +00:00
Michael Jerris 09b2fd335a Fri May 15 11:31:44 CDT 2009 Michael Jerris <mike@jerris.com>
* sdp_print.c: build errors fix



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13383 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 14:46:38 +00:00
Michael Jerris 420e92a6f3 silence solaris warning from missing braces (SFSIP-132)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 21:21:06 +00:00
Michael Jerris 1d4861c982 fix typos
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13355 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:27:26 +00:00
Michael Jerris 0dbb31daab Thu May 14 13:05:43 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta: clarify outgoing_ack() logic
  Ignore-this: a745b3e7df63835d9768ec9dc3d5c5b2
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13354 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:19:19 +00:00
Michael Jerris 61c23ee5d1 Wed May 13 13:39:29 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_stack_ack(), nua_invite_client_ack(): cleaned code
  Ignore-this: 9edf1594e20f27f4e2effb43c83858ea
    
  Fixed clean-up after ACK.
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13353 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:18:10 +00:00
Michael Jerris d15df2001d Wed May 13 13:33:21 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sres.c: use unsigned lenghts with m_get_string() and m_get_domain()
  Ignore-this: 7b09dd7d26a10dabb645156563c0cd6c
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13352 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:17:09 +00:00
Michael Jerris 9aac7fc9c0 Wed May 13 13:21:12 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sip-date.c: not using uninit data.
  Ignore-this: 48751cc510886e42e23e48c535a869bc
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13351 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:16:35 +00:00
Michael Jerris 5f5732c0aa Wed May 13 13:20:54 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sip-dig.c: fixed crash on bad param
  Ignore-this: 9e73dd7095a51d15e5bc6f00e8aab98c
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13350 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:15:58 +00:00
Michael Jerris 28af3accb9 Wed May 13 13:18:14 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg_mclass_insert_header(): not using uninit data
  Ignore-this: 40a6993391b5f2993af8ee01c407c0c7
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13349 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:15:28 +00:00
Michael Jerris 6774ad7083 Wed May 13 13:08:11 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sres_resolver_new_with_cache_va(): added missing va_end()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:14:33 +00:00
Michael Jerris 966e462e8c Wed May 13 13:07:25 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nea_server.c: check params in nea_event_tcreate()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:14:01 +00:00
Michael Jerris 935a1433d6 Wed May 13 13:02:06 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg_parser_util.c: fixed msg_unquoted_e()
  Ignore-this: 78b9afb6e97ff730d7924d860ef33921
  
  Now accepts NULL buffer with nonzero size.
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:13:20 +00:00
Michael Jerris be1650e4ea Wed May 13 12:35:38 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta_incoming_create_response(): sanitized oom check


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13345 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:12:41 +00:00
Michael Jerris 469bc4789a Wed May 13 12:14:18 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_event_server.c: free temp strings
  Ignore-this: 18b592f7d6ae942a48cd117f7a6f3c31
    
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:11:57 +00:00
Michael Jerris 71f7c7ff11 Wed May 13 12:04:15 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_update_server_report(): fix bugs checking pending INVITEs in fake precondition handling
  Ignore-this: dc67f6287bf48aa8e2a39e2ece96821
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:10:38 +00:00
Michael Jerris af88f6c68d Wed May 13 12:03:01 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sdp_print(): correctly handle NULL session
  Ignore-this: 206a9027d6dfb73371d7f0ddac5f640b
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13342 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:09:49 +00:00
Michael Jerris 8937b3a4e1 Wed May 13 11:37:19 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg: unobfuscated casts of msg_header_t



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13341 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:09:12 +00:00
Michael Jerris ae9f6cc6d1 Wed May 13 11:18:27 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg_header_copy.c: unobfuscated msg_default_dup_one()
  Ignore-this: 1fda1941baecad1f6397de453e606f1c
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13340 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:07:59 +00:00
Michael Jerris 6e1af87d26 Wed May 13 11:09:06 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sip_parser.c: fixed overrrun in sip_method_name()
  Ignore-this: efe0fc0935451b1b0ee403befac5df40
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13339 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:07:05 +00:00
Michael Jerris 763c520d49 Wed May 13 11:07:04 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sip-dig.c: fixed buffer overrun
  Ignore-this: d8776bd28ef951602449e87d80dc20e7
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13338 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:06:43 +00:00
Michael Jerris 52bcb7b396 Wed May 13 11:00:40 CDT 2009 Pekka Pessi <first.last@nokia.com>
* auth_client.c: removed leak in auc_digest_authorization()
  Ignore-this: 9b0297083b6c6ce1bf9ef3d723b01f3b
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:05:59 +00:00
Michael Jerris 4c3b2bc4b5 Wed May 13 10:50:41 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg: fixed possible leak in msg_params_d() with more than 16 params
  Ignore-this: a45ef326def7b1bcd14de4850f3c24ab
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13336 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:05:15 +00:00
Michael Jerris 6f7641f94a Wed May 13 05:14:56 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport.c: better checking of IP6 addresses
  Ignore-this: 49f502ccaaf771abed1e5b2d00eaa8b8
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13335 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:04:28 +00:00
Michael Jerris de69d8ea95 Wed May 13 04:19:01 CDT 2009 Pekka Pessi <first.last@nokia.com>
* outbound.c: logging string after freeing it.
  Ignore-this: 78c744681a08302beaa01b3752bd5f43
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:03:45 +00:00
Michael Jerris 0c6a2d6105 Tue May 12 14:58:43 CDT 2009 Pekka Pessi <first.last@nokia.com>
* test_soa: check larger sessions
  Ignore-this: fac46a2328bc0db501cd98e7a67309c0


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13333 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:03:07 +00:00
Michael Jerris 4d2219a4c2 Tue May 12 14:57:48 CDT 2009 Pekka Pessi <first.last@nokia.com>
* soa_static.c: avoid overrun of arrays in soa_sdp_upgrade()
  Ignore-this: 9f7eae37e7d97c509a2797363b03c54a
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13332 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:02:34 +00:00
Michael Jerris 61c7a110b2 Tue May 12 13:23:33 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport.c: do not use out-of-scope array in tport_deliver()
  Ignore-this: a651d5eb213850d9dfd317102a432f8e
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13331 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:01:31 +00:00
Michael Jerris 9a38d3da7d Tue May 12 13:17:07 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: check input in nta_leg_by_uri()
  Ignore-this: f149ac04b5e1bf078c3b00e837738301
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13330 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:00:17 +00:00
Michael Jerris 1a9705a7b6 Tue May 12 13:13:16 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_client.c: removed extra NULL check from nua_client_request_complete()
  Ignore-this: cc1f1fb7bf8e4ae07f965846418410a
  
  Coverity issue 7310.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13329 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:59:02 +00:00
Michael Jerris a0b8810d89 Tue May 12 13:07:45 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: check dialog usage before using it in nua_update_server_respond()
  Ignore-this: 543e8d6d999a5a4d54600f1dbdfb1444
  
  Coverity issue 7312.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:57:37 +00:00
Michael Jerris 0106f699e6 Tue May 12 13:04:33 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport_type_udp.c: tport_check_trunc() cleaned code
  Ignore-this: b39558360afb657325a4615d0919baaa
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13327 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:54:54 +00:00
Michael Jerris 27c334d8e0 Tue May 12 13:00:40 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: removed dead code from process_prack()
  Ignore-this: 325e40cbba4e6933aa1681d6862533f
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13326 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:53:31 +00:00
Michael Jerris 584ae7db64 Tue May 12 11:57:49 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: doublecheck invite client transaction
  Ignore-this: 4236b668c99e6e0d72a7889ce6cdf671
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13325 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:52:14 +00:00
Michael Jerris 672e48f8c8 Tue May 12 11:52:32 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: always clean and remove INVITE client request in nua_invite_client_ack()
  Ignore-this: bdace77be7b43629b591f5adf7315341
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13324 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:50:43 +00:00
Michael Jerris 25fe8c3a4b Tue May 12 11:38:36 CDT 2009 Pekka Pessi <first.last@nokia.com>
* auth_common.c::auth_get_params(): added missing va_end()
  Ignore-this: 43f33c9e069f4b80c35bab09bec7f925
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13323 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:49:34 +00:00
Michael Jerris ca2c46d4bf Tue May 12 11:08:07 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta: do not free transaction in reliable_timeout() if caused by failure to send final response
  Ignore-this: 8e32f83925b6f2a3629afbb8b20ba693
  
  Issue detected by Coverity.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13322 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:47:55 +00:00
Michael Jerris f05ec55879 Tue May 12 14:59:28 CDT 2009 Pekka Pessi <first.last@nokia.com>
* soa_static.c: include media formats in rejected m= line



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13321 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:46:27 +00:00
Michael Jerris 0e45cc850f Tue May 12 11:05:19 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua: NUTAG_AUTOACK(0) is now obeyed always when media is disabled
  Ignore-this: c5960a8330904eae5a1428158e4498c7
  
  If media is enabled, stack autoacks 2XX responses to re-INVITEs unless
  NUTAG_AUTOACK(0) is set on handle.
  
  Also documenting NUTAG_AUTOACK() behaviour with re-INVITEs.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13320 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:45:39 +00:00
Michael Jerris 7e1d02d8a9 Tue May 12 12:08:51 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_session.c: ensure that re-INVITEs have correct Session-Expires parameters



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:44:40 +00:00
Michael Jerris 0d3db88c5b Tue May 12 12:08:13 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: include Session-Expires to session refresh requests
  
  Thanks for Linus Surguy for reporting the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:43:28 +00:00
Michael Jerris 3f4f728974 Wed Apr 29 13:03:20 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport: close half-closed idle connections on windows, too



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:42:25 +00:00
Anthony Minessale 7585c4fafc add checks to find issue in FSCORE-338
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-14 18:30:50 +00:00
Anthony Minessale 52630045aa temp solution to assert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13307 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-14 17:36:44 +00:00
Anthony Minessale 0ecd61aaca comment out assert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-14 16:16:03 +00:00
Anthony Minessale a1bca1e12e make info work out of dialog
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13087 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-20 19:00:03 +00:00
Michael Jerris 646666faec revert temporary hack
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13064 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 19:08:31 +00:00
Michael Jerris 0ed0ef9e5e Thu Apr 16 12:11:33 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_session.c: added yet another test case for re-INVITE glare

  S2_CASE("2.6.5", "Re-INVITE glare and 500 Retry-After",
         "NUA receives re-INVITE, replies with 200, "
         "sends re-INVITE, gets 500, gets ACK, retrys INVITE,"
         "sends BYE.");

test case for SFSIP-135 and SFSIP-137



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13063 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 17:21:54 +00:00
Michael Jerris 59478dd599 Thu Apr 16 12:04:08 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_client, nua_session: avoid restarting in-progress transactions
  
  This is supposed to fix bugs #SFSIP-135 and #SFSIP-137. Thanks for Tamas
  Jalsovszky and kawarod for reporting the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13062 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 17:18:56 +00:00
Michael Jerris 5278050e61 Wed Apr 8 16:37:43 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: do not restart CANCEL requests
  Ignore-this: 2c9d51bbafca2256630a0ea73982abea
  
  Fixes FreesWitch bug SFSIP-134, reported by vile, initial patch by Mike
  Jerris.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13061 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 15:00:42 +00:00
Michael Jerris 568baaeef7 Tue Mar 24 07:39:57 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* nua/check_register.c: fixed up value setting for NAT-imitating received parameters



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13059 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 14:59:59 +00:00
Michael Jerris 3e1b921f8f temporary hack to avoid segfaults on 503 w/ retry-after and 423 responses to CANCEL (and maybe others) (SFSIP-134)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12942 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-07 21:34:31 +00:00
Michael Jerris 54be7df9ff temporary hack to ignore retry-after so we can avoid segfault (SFSIP-134)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12941 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-07 20:53:42 +00:00
Michael Jerris eaf0c7c8b5 libsofiasip: fix buffer overrun (SFSIP-136)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12914 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-03 23:04:42 +00:00
Michael Jerris b23c86a1bf revert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12857 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-31 20:54:31 +00:00
Michael Jerris 9b42edc319 linux... how did that not crash every time
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-31 20:51:35 +00:00
Michael Jerris ca02dec1c7 move library checks to the end to keep from incorrect -lz added to LIBS from pkg-config to openssl on 64 bit when only 32 bit zlib-devel is installed. This was causing other checks to fail.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12779 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-25 16:44:16 +00:00
Michael Jerris a26400fc4c Tue Mar 3 12:23:35 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
* su_uniqueid.c: srand() must be called per-thread on windows
  Ignore-this: ee98b86faadc4a39186ba4991b073c40

Mon Mar 23 12:41:53 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * su_uniqueid.c: simple threadsafe implementation
  Ignore-this: b3597fb6032b79a61b63f004f121188b
  
  Using /dev/urandom where available, simple 64-bit prng elsewhere.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12756 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:54:18 +00:00
Michael Jerris 4faa0ed664 Mon Mar 23 12:27:27 CDT 2009 Pekka Pessi <first.last@nokia.com>
* RELEASE: urandom is no more public
  Ignore-this: 353234331d627b77c66841036c9d77f7


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12755 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:49:03 +00:00
Michael Jerris 79081a2faa Mon Mar 23 12:22:50 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: use random key when generating tags
  Ignore-this: 3e989f42549acbdbc259383b1b64e74d


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12754 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:48:19 +00:00
Michael Jerris db6542b516 Mon Mar 23 10:41:29 CDT 2009 Pekka Pessi <first.last@nokia.com>
* configure.ac: check for dlopen in -ldl
  Ignore-this: e1fa8a4bf30eb9023e54264dbe8c42bd


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12753 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:47:43 +00:00
Michael Jerris dc27ee5271 Mon Mar 23 10:41:08 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tests: added check_dlopen_sofia.c
  Ignore-this: 1f3a1a6dc3e9099c6488a637e5f06e9a


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12752 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:46:59 +00:00
Michael Jerris 123153d843 Wed Mar 11 11:52:58 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport.c: silence VC warnings
  Ignore-this: b81c43b73fcefa2dd58dd3366dd60368


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12751 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:46:13 +00:00
Michael Jerris bfb14992f1 Wed Mar 11 11:51:43 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sres_sip.c: silence VC warnings
  Ignore-this: dd9d4b774716430cdf429ed86664b109


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12750 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:45:45 +00:00
Michael Jerris 52f03208c9 Wed Mar 11 11:50:44 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg_mime.c: explicit cast when assigning to mp_len
  Ignore-this: ca5b8291eb84d8b166ab7f659bcf69f8



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:45:13 +00:00
Michael Jerris 4d643bccc1 Wed Mar 11 11:58:14 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sofia-sip/su_config.h: include extern in SOFIAPUBVAR
  Ignore-this: 7cccd45776e8452a8e404aaf01eaeadf


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12748 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:44:33 +00:00
Michael Jerris 91f349d5ed Wed Mar 11 09:50:20 CDT 2009 Pekka Pessi <first.last@nokia.com>
* s2check: added exit77.c to EXTRA_DIST
  Ignore-this: ae3403c0bd1b4596c24bc7304916fa85


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12747 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:44:04 +00:00
Michael Jerris 1dda329079 Wed Mar 11 09:49:37 CDT 2009 Pekka Pessi <first.last@nokia.com>
* s2base.c: use struct timeval with gettimeofday()
  Ignore-this: 1ca4ea3c958573a1fa845d8b66b7d6ad


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:43:28 +00:00
Michael Jerris 596a0b60cb Mon Mar 9 12:44:03 CDT 2009 Pekka Pessi <first.last@nokia.com>
* su_alloc: shorten race on _su_deinit()
  Ignore-this: 6d4e6edb434a96e66c9bb018a201a3c6
  
  Make home object unusable earlier during denitialization.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12745 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:42:53 +00:00
Michael Jerris 39ed058e2a Mon Mar 9 12:42:48 CDT 2009 Pekka Pessi <first.last@nokia.com>
* packages/sofia-sip-ua.pc.in: silenced warning from configure
  Ignore-this: dcf6a0fed627e267f5128af5508bcb8f


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:42:16 +00:00
Michael Jerris 19ec89ae6b Mon Mar 9 12:42:00 CDT 2009 Pekka Pessi <first.last@nokia.com>
* test_nua_api.c: nua_i_none is no more unknown
  Ignore-this: b7232be3e3956337161266c1814ddd37


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12743 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:41:38 +00:00
Michael Jerris 06dfd6b602 Mon Mar 9 12:32:13 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua: added nua_i_none to nua_event_name()
  Ignore-this: 5d262decadfc28b82ab7292330e20530


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12742 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:41:03 +00:00
Michael Jerris 21fcb16428 Thu Mar 5 13:20:53 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2util.h, s2time.c: added s2_timed_logger()
  Ignore-this: 504e7e5c1201b0b2d5c345c31d5d4b71


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12741 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:40:31 +00:00
Michael Jerris 3c9cb00a4b Thu Mar 5 13:09:53 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: #include <sofia-sip/htable.h> here
  Ignore-this: bab8054edc65e3defbed6db325e1deba


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:39:08 +00:00
Michael Jerris 93aa2e4ac7 Thu Mar 5 13:08:22 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: nta_leg_tag(leg, NULL) now always returns the tag (old or new)
  Ignore-this: f5a7d67ed90e2c284f6696d6b5b89326



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12739 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:38:33 +00:00
Michael Jerris 0bafa3b1cd Thu Mar 5 13:06:59 CST 2009 Pekka Pessi <first.last@nokia.com>
* run_test_nta: fixed bashism with exec
  Ignore-this: 6d034eb8fd66f6a903e3219589f62eef



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:37:43 +00:00
Michael Jerris 22dae2b9fa Thu Mar 5 13:21:25 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_sres_sip.c: use S2_CASE()
  Ignore-this: da194ea35fa98a73f3da3b4b5257aa8f



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12737 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:37:01 +00:00
Michael Jerris 277137cf8e Thu Mar 5 13:06:15 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nta: use S2_CASE()
  Ignore-this: c94d4219b0882f1343bcfc56f975ea48



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12736 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:36:03 +00:00
Michael Jerris 676d7c5b75 Thu Mar 5 13:04:56 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: use S2_CASE()
  Ignore-this: 85691a39065d7ad3da57f45fe87c1da



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12735 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:34:23 +00:00
Michael Jerris 113da462f1 Thu Mar 5 12:29:30 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2base.h: added S2_CASE(), added test function name to s2_case() parameters
  Ignore-this: c9ceff2812044e2643c21548be29233e


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12734 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:33:33 +00:00
Michael Jerris 840735200e Thu Mar 5 11:44:15 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2check.h: redefine tcase_add_loop_test, too
  Ignore-this: 149c19e8d089b60e8ddcb98da54c9d88



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12733 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:32:49 +00:00
Michael Jerris 70ddbdd6d6 Thu Mar 5 10:20:11 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: s2_setup_logs() now turns on transport logging, too
  Ignore-this: 4ad4dc1efaf76c34a46038586a00e084



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12732 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:32:08 +00:00
Brian West fe71e492c7 Thu Mar 5 10:19:35 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: using fail_unless_event() macro
  Ignore-this: b03dc7431e8fea9835322bd8f825a803



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12731 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:30:45 +00:00
Michael Jerris 51a8cb2827 Wed Mar 4 12:24:57 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta_incoming_magic(): if callback is NULL, return any magic



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12557 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:58:34 +00:00
Michael Jerris c4c67ac090 Wed Mar 4 12:22:52 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta: add nta_outgoing_magic()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12556 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:57:32 +00:00
Michael Jerris 90d44abb5d Thu Mar 5 08:22:19 CST 2009 Pekka Pessi <first.last@nokia.com>
* configure.ac: added AC_CONFIG_MACRO_DIR([m4])



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12555 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:56:27 +00:00
Michael Jerris 2a0b960efb Thu Mar 5 08:00:45 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta: added check-based test program check_nta



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12554 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:55:00 +00:00
Michael Jerris 20719ebf88 Thu Mar 5 07:59:34 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2check/exit77.c: added



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12553 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:53:44 +00:00
Michael Jerris 1bb6e48c63 Wed Mar 4 12:27:36 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta: added nta_agent_tports()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12552 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:52:52 +00:00
Michael Jerris b4a57d3300 Wed Mar 4 12:27:19 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: removed spurios SOFIAPUBFUNs



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12551 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:52:07 +00:00
Michael Jerris 2b572ee523 Wed Mar 4 13:35:37 CST 2009 Fabio Margarido <fabiomargarido AT gmail DOT com>
* msg: allow compact headers inside multipart payload



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12550 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:50:46 +00:00
Michael Jerris b51e4533d5 Wed Mar 4 13:12:17 CST 2009 Pekka Pessi <first.last@nokia.com>
* configure: SOFIA_GLIB_CFLAGS added
  Ignore-this: f70baad5a9f61b6fcbe44ec1aa4c2c22
  
  GLib behaves badly with -Wall -Werror.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12423 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:42:53 +00:00
Michael Jerris 4357c2aca4 Wed Mar 4 12:37:47 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua: moved contents of test_s2.[hc] to check_nua.[hc]
  Ignore-this: f53929b29092e2d62e661fc40397492e



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12422 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:41:38 +00:00
Michael Jerris a0fb5045a8 Wed Mar 4 12:31:26 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2base: removed s2_setup_logs()
  Ignore-this: ea4848902b3be9c966b4f7e114f2a5b6



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12421 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:40:06 +00:00
Michael Jerris f7d903c8fb Wed Mar 4 12:29:06 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2sip: removed nua dependency
  Ignore-this: d32f68be34d4628129aff2afad3c99f1
  
  Fixed CK_FORK=no case.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12420 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:39:24 +00:00
Michael Jerris 980957e967 Wed Mar 4 12:31:05 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2_dns_domain(): more flexible selection of transports by URI parameters


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:37:55 +00:00
Michael Jerris 721612aa82 Wed Mar 4 12:28:12 CST 2009 Pekka Pessi <first.last@nokia.com>
* run_test_nta: run tests without named if named refuses to start



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:37:00 +00:00
Michael Jerris 3446ae280f Wed Mar 4 12:22:20 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta: fix timer N3
  Ignore-this: 4018f3a32723692153389c2109b72296
  
  Try UDP instead of TCP if TCP server does not respond quick enough.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:35:51 +00:00
Mathieu Rene b342ff1b2a Revert 12400
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12406 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 14:21:51 +00:00
Michael Jerris eb218a9656 Tue Mar 3 12:23:35 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
* su_uniqueid.c: srand() must be called per-thread on windows



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 22:02:55 +00:00
Michael Jerris 83e087e162 Tue Mar 3 12:18:30 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_session.c: more CANCEL timeout cases



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12399 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 22:01:25 +00:00
Michael Jerris 522b3c4858 Tue Mar 3 12:15:01 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua: check_nua now uses s2base.h and s2sip.h



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12398 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 22:00:56 +00:00
Michael Jerris 76f57d02bb Tue Mar 3 11:30:32 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: added test case for CANCELed INVITE timing out



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12397 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 22:00:18 +00:00
Michael Jerris 24c198c098 fix merge conflict
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12389 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:41:06 +00:00
Michael Jerris fe74d31573 Tue Mar 3 10:37:30 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2check: added s2base.[hc], s2sip.[hc]
  Ignore-this: 6a32b36a47a6f9dd2b5fec7c7375c564
  
  Moved nua/test_s2 code here.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12388 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:27:41 +00:00
Michael Jerris ba34225301 Tue Mar 3 07:47:19 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta: calculate timer D correctly
  Ignore-this: f43d9dcc11fb6a19c3674a6da35ee7ec
  
  Timer D is either 32 seconds or 64 times T1, whichever is larger.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12387 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:26:13 +00:00
Michael Jerris b6f8748e09 Tue Mar 3 11:04:23 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2check/Makefile.am: more clue about name



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12386 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:25:39 +00:00
Michael Jerris 48d656c21c Tue Mar 3 11:03:53 CST 2009 Pekka Pessi <first.last@nokia.com>
* RELEASE: describe nta changes with forking, timer C, timer D, and CANCEL



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:25:03 +00:00
Michael Jerris 721735cd90 Tue Mar 3 10:56:34 CST 2009 Pekka Pessi <first.last@nokia.com>
* test_soa.c: ignore fgets() return value. really.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12384 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:24:01 +00:00
Michael Jerris 82a42fc678 Tue Mar 3 10:49:51 CST 2009 Pekka Pessi <first.last@nokia.com>
* test_nta.c: timer C now CANCELs INVITE transaction
  Ignore-this: 8de2e5747e7ae0e62e2d8ad9aeb0cbed
  
  408 response is not generated (unless CANCEL times out, too.)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12383 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:23:31 +00:00
Michael Jerris b38b9edd99 Tue Mar 3 10:47:40 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta_tag.c: fixed NTATAG_TIMER_C() documentation



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12382 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:23:03 +00:00
Michael Jerris 9cac599609 Tue Mar 3 10:47:00 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta: timeout CANCELed INVITE transactions properly
  Ignore-this: 4e7fdc56065dba617352443a9310bb28
  
  Use timer D (instead of timer C) to timeout CANCELed INVITE transactions.
  
  Also, generate 408 Request Timeout to all forks that have not received a
  final response.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12381 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:22:35 +00:00
Michael Jerris 742d765b53 Tue Mar 3 10:40:57 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta: nta_agent_set_params() now returns correct value for tport parameters set



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12380 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:22:01 +00:00
Michael Jerris 62fdae5055 Mon Mar 2 11:58:01 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: use already-resolved transport for CANCEL/ACK to [3456]XX



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12379 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:21:26 +00:00
Michael Jerris 0862be8103 Thu Feb 26 16:28:28 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua/check_session.c: added test cases for REFER



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12377 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:20:55 +00:00
Michael Jerris b5ea56318d Thu Feb 26 15:39:37 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua/check_simple.c: removed extra debug logging, fixed 6.3.4 name



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12376 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:20:24 +00:00
Michael Jerris 97c72d0a46 Mon Mar 2 11:21:17 CST 2009 Pekka Pessi <first.last@nokia.com>
* sl_utils_print.c: propagate error from fwrite()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12375 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:19:58 +00:00
Michael Jerris 094de86372 Tue Mar 3 07:56:30 CST 2009 Pekka Pessi <first.last@nokia.com>
* tport.c: add TPTAG_LOG() and TPTAG_DUMP() to tport_get_params()
  
  Fixed return value from tport_set_params(), too.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12374 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:19:09 +00:00
Michael Jerris 024c64420f sync to darcs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12313 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 19:29:50 +00:00
Michael Jerris b161d3f93d sync file to darcs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12312 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 19:21:46 +00:00
Michael Jerris 12c4ce0e17 resync file to darcs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12310 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:47:54 +00:00
Michael Jerris f4cb78ce18 resync file to darcs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12309 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:44:49 +00:00
Michael Jerris 6f5b4b5a36 Thu Feb 26 11:05:33 CST 2009 Pekka Pessi <first.last@nokia.com>
* open_c: added sres_sip.[hc]
  Ignore-this: 61c5ac3ce4149b23ff98faedb412cec7



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:43:04 +00:00
Michael Jerris 4e9ad5adfd Thu Feb 26 11:04:18 CST 2009 Pekka Pessi <first.last@nokia.com>
* win32: added sres_sip.[hc]


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12307 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:42:31 +00:00
Michael Jerris 209da8b0fd Thu Feb 26 09:47:46 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_sres_sip.c: more test cases for naptr



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12306 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:41:11 +00:00
Michael Jerris ae27bdd5f2 Thu Feb 26 09:39:43 CST 2009 Michael Jerris <mike@jerris.com>
* sres_sip.c: fix warnings



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12305 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:40:20 +00:00
Michael Jerris 72aff5e8ab Thu Feb 26 09:31:51 CST 2009 Michael Jerris <mike@jerris.com>
* su_localinfo.c: fix build on non-ipv6 hosts



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:38:34 +00:00
Michael Jerris 11bfd760fe Thu Feb 26 09:18:43 CST 2009 Michael Jerris <mike@jerris.com>
* soa.c: fix build on non-ipv6 hosts



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12303 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:36:35 +00:00
Michael Jerris 6f9fb28bc9 Thu Feb 26 09:15:52 CST 2009 Pekka Pessi <first.last@nokia.com>
* soa.c: fix address matching with user sdp w/out session c= line
  Ignore-this: 9aa560f8abd799d46e38c2e4ee0ca23c



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12302 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:31:50 +00:00
Brian West 20805de446 Thu Feb 26 09:12:40 CST 2009 Michael Jerris <mike@jerris.com>
* sresolv/Makefile.am: don't override CFLAGS



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12300 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:25:27 +00:00
Brian West d35ca59959 Tue Feb 3 10:31:33 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_wait.h: added su_root_clone()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12299 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:24:05 +00:00
Brian West 38abb2ced7 Tue Feb 3 10:29:44 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_alloc: added su_home_parent()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12298 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-26 18:23:05 +00:00
Michael Jerris 6a2c3128b5 revert svn revision 12104
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 20:59:50 +00:00
Michael Jerris e7bfa12bc4 Wed Feb 25 13:11:19 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_sres_sip.c: added test cases for bad DNS server, timeout
  Ignore-this: f14a52817f3612c0b8b776761a12ef3e



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:40:22 +00:00
Michael Jerris 733062be3a Wed Feb 25 13:10:24 CST 2009 Pekka Pessi <first.last@nokia.com>
* sres_sip.c: be more robust if the DNS fails badly
  Ignore-this: 1922836529de164a842ab88e848066a0



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12285 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:39:24 +00:00
Michael Jerris d5b2e2d2ab Wed Feb 25 13:09:35 CST 2009 Pekka Pessi <first.last@nokia.com>
* sres.c: improved error handling
  Ignore-this: a64e098f8575511bb6e5ef3129635d98
  
  Returning records with SRES_NETWORK_ERR or SRES_TIMEOUT_ERR.
  Also setting errno if there is no available DNS servers.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:38:05 +00:00
Michael Jerris c49d12e184 Wed Feb 25 12:40:44 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2dns: added s2_dns_set_filter()
  Ignore-this: dc9bf478b6a90d5b351b56c3d77a7ec9



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12283 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:36:39 +00:00
Michael Jerris e591b6ce3a Tue Feb 24 09:03:08 CST 2009 Pekka Pessi <first.last@nokia.com>
* sofia-sip/heap.h: use static scope for functions given to sort()
  Ignore-this: 72e91b9470ccc23300ce06eb836d56f4



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:35:59 +00:00
Michael Jerris cf9f7888f1 Wed Feb 25 11:29:23 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_uniqueid.c: fixed seed array usage
  Ignore-this: b6e6a195f3f34abc2119a741f8b6f5e2

  Paper bags, anyone?



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12281 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:34:54 +00:00
Michael Jerris 5974867444 Fri Feb 13 05:53:00 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2_localinfo.h: added



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:31:10 +00:00
Brian West be15ed423f Tue Feb 24 07:33:35 CST 2009 Pekka Pessi <first.last@nokia.com>
* sip_parser.c: fixed sip_transport_d()
  Ignore-this: c14408145a269c25d00dcb20ab2391f6
  
  sip_transport_d() was expected to canonize casing of well-known transports.
  
  Thanks for Adrian Gschwend for reporting the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12261 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 14:46:03 +00:00
Brian West 46c3eec39a Fri Feb 13 09:41:52 CST 2009 Pekka Pessi <first.last@nokia.com>
* su.h: define su_family via struct sockaddr



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 14:43:31 +00:00
Michael Jerris bbdf4744aa inital work on x64 windows build (FSBUILD-125)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12215 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 00:56:56 +00:00
Michael Jerris 6baed5ce73 fix build error caused by sofia-sip stunc (FSBUILD-123)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-17 17:55:21 +00:00
Anthony Minessale a3ae344f3d FSCORE-301
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-17 17:04:45 +00:00
Michael Jerris 2980d25a14 fix sofia initstate correctly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 23:47:32 +00:00
Michael Jerris 17f9ced469 fix sofia silent build on solaris
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12067 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 19:57:47 +00:00
Brian West 3a5c651b5d try to fix SOFIA_SILENT build on solaris
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12055 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 17:39:58 +00:00
Michael Jerris b4f6039607 don't override CFLAGS
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12024 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-15 03:29:09 +00:00
Mathieu Rene 60671872ef Fix sofia build on non-ipv6 hosts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-14 23:18:53 +00:00
Michael Jerris 0919f6c9cb only declare var if we need it (SFSIP-122)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-14 22:56:27 +00:00
Michael Jerris 4cc9d65240 turn off sego-initstate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12007 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-14 00:09:49 +00:00
Michael Jerris 314da792ca safety first
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12005 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:45:25 +00:00
Michael Jerris f61f23d093 slim down sofia build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11996 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 21:04:29 +00:00
Michael Jerris cf078237ea uninitialized variable fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11995 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 20:31:21 +00:00
Michael Jerris ed23436a8e add missing files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11967 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:58:06 +00:00
Michael Jerris 1f8d6f0e68 Thu Feb 12 15:35:06 CST 2009 Pekka Pessi <first.last@nokia.com>
* sofia-sip/su_addrinfo.h: #include <netdb.h> only if bsdsock



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11965 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:37:20 +00:00
Michael Jerris 96e65ddec3 Thu Feb 12 12:02:48 CST 2009 Jarod Neuner <janeuner@networkharbor.com>
* tport_tls: add/fix some tls init logging



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11964 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:30:05 +00:00
Michael Jerris 5cb1f54133 Thu Feb 12 15:14:27 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_addrinfo.h: #include <netdb.h>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11963 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:29:30 +00:00
Michael Jerris b8f52353f3 Thu Feb 12 15:14:07 CST 2009 Pekka Pessi <first.last@nokia.com>
* soa: make better effort in keeping addresses (c= and o= lines) in user SDP
  Ignore-this: a6da9ed249dba3309e3dbbbdb4262082
  
  The address selection logic now prefers (unicast) addresses in already
  present in SDP, if they get returned by su_getlocalinfo(). 
  
  The process currently tries to avoid link-local addresses.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11962 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:28:58 +00:00
Michael Jerris 2f0b4f5f84 Thu Feb 12 15:08:05 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua.c: allow setting test case names from command line. usage.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:27:58 +00:00
Michael Jerris 247dda9d4f Thu Feb 12 15:07:13 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_simple.c: adedd notifier test cases


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11960 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:27:30 +00:00
Michael Jerris a043230c51 Thu Feb 12 15:01:10 CST 2009 Michael Jerris <mike@jerris.com>
* su_port.h: silenced warning in su_port_deferrable()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11959 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:25:18 +00:00
Michael Jerris 459bad1563 Thu Feb 12 14:56:11 CST 2009 Pekka Pessi <first.last@nokia.com>
* tport_type_tls.c: fixed error logging in tport_tls_connect()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11958 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:23:05 +00:00
Michael Jerris 0eceb861b0 Thu Feb 12 14:45:02 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_uniqueid: call initstate() with memory from heap
  Ignore-this: af9e58551676e173844d0b77af0e287a
  
  When libsofia-sip-ua.so gets unloaded, its data segment gets unloaded, but
  random() still wants to use the memory.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11956 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:21:30 +00:00
Michael Jerris a24c4dc1f7 Thu Feb 12 14:28:27 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2dns.c: fixed cname records



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11954 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:19:13 +00:00
Michael Jerris 9bbacf9669 Thu Feb 12 14:27:12 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2tcase.c: allow multiple calls to s2_select_tests()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11953 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:18:20 +00:00
Michael Jerris f10955584c Thu Feb 12 14:24:41 CST 2009 Pekka Pessi <first.last@nokia.com>
* sres: sres_record_type() now checks pointer argument


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11952 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:17:44 +00:00
Michael Jerris 85315adc1b Thu Feb 12 14:21:21 CST 2009 Pekka Pessi <first.last@nokia.com>
* sresolv: added asynchrous sip resolver


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11951 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:16:37 +00:00
Michael Jerris 93e3ef0f64 Thu Feb 12 14:20:26 CST 2009 Pekka Pessi <first.last@nokia.com>
* sres.c: improve logging upon errors



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11950 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:15:20 +00:00
Michael Jerris 816f984722 Tue Feb 10 19:39:02 CST 2009 Pekka Pessi <first.last@nokia.com>
* sres_cache: added sres_cache_copy_answers()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11949 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:14:45 +00:00
Michael Jerris 87b2408635 Thu Feb 12 14:11:37 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua_client.c: fix request message reference counting problem
  Ignore-this: ac81944c1c2c095fdc66a51ca857e87c
  
  Internal error response already decreases reference count.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11948 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:13:20 +00:00
Michael Jerris 0f8297a965 Wed Feb 11 15:10:34 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: fixed nta_agent_add_tport() documentation



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11947 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:12:25 +00:00
Michael Jerris 745d319722 Wed Feb 11 13:42:09 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua_client.h: removed orphan SOFIA_BEGIN_DECLS



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11946 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:11:43 +00:00
Michael Jerris cbb7805d53 Thu Feb 12 07:17:08 CST 2009 Pekka Pessi <first.last@nokia.com>
* tport.c: return correct errno from tport_connect()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11945 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:11:15 +00:00
Michael Jerris b5ef501d09 Thu Feb 12 07:17:31 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
* tport.c: return correct errno from tport_listen()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11944 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:10:11 +00:00
Michael Jerris 8ff2eefcea Wed Feb 11 15:01:48 CST 2009 Pekka Pessi <first.last@nokia.com>
* msg/Makefile.am: allow short header forms in MIME attachments, too



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11943 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:09:30 +00:00
Michael Jerris 613a5ebf86 Wed Feb 11 15:01:08 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
* tport.c: fixed tport_queuelen() when queue is full



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11942 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:08:29 +00:00
Michael Jerris c27cb514a9 Wed Feb 11 14:51:48 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua_i_network_changed: use NUTAG_DETECT_NETWORK_UPDATES() preference



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11941 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:07:50 +00:00
Michael Jerris dded4ad263 Wed Feb 11 14:52:29 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua_stack_launch_network_change_detector: fixed root usage
  Ignore-this: 3db82870d6996c32605109d8295b4a00
  
  su_root_add_network_changed() should use stack root, not api root.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11940 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:07:15 +00:00
Michael Jerris a2852700c5 Tue Feb 10 08:37:23 CST 2009 Pekka Pessi <first.last@nokia.com>
* configure.ac: define HAVE_CHECK in "config.h"



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11938 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:04:46 +00:00
Michael Jerris f4ab414190 Tue Feb 10 08:11:37 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: use s2dns



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11937 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:04:13 +00:00
Michael Jerris ea9eaeaf44 Tue Feb 10 08:10:41 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: run all the test cases with and without stack thread
  Ignore-this: e1966c560fb8e32d5a2d292e5e8dbdc0
  
  Better detect race conditions.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11936 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:03:16 +00:00
Michael Jerris b5c88496bf Tue Feb 10 07:36:35 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: use tcase_add_test() and s2_select_tests() from <s2check.h>


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11935 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:01:58 +00:00
Michael Jerris 695cae05bf Tue Feb 10 16:55:11 CST 2009 Pekka Pessi <first.last@nokia.com>
* url: accept empty port number in URLs



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11934 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:01:01 +00:00
Michael Jerris 1fb0e173ff fix error when building in not-silent mode
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11930 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 19:52:42 +00:00
Anthony Minessale 596f9afded temp hack to avoid horrible random bug, as in the function random
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11897 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 23:39:30 +00:00
Raymond Chandler 8984a298a9 patch from FSBUILD-118
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11888 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 20:19:56 +00:00
Michael Jerris 33e58774bc fix build error on bsd
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11886 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 18:58:24 +00:00
Michael Jerris f0b3a9a427 silence warning
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11884 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 18:17:54 +00:00
Michael Jerris 39404c4dd3 Tue Feb 10 07:07:33 CST 2009 Pekka Pessi <first.last@nokia.com>
* rules/silent.am: fixed make SOFIA_SILENT=



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11880 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:41:38 +00:00
Michael Jerris 0c141d9b81 Tue Feb 10 07:17:20 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: moved s2_fast_forward() to s2 library



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11879 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:41:05 +00:00
Michael Jerris 8d3480b06a Tue Feb 10 07:19:33 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2check: added s2_dns



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11878 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:40:21 +00:00