6314 Commits

Author SHA1 Message Date
Michael Jerris
10aa8c19ae Un-revert the following:
Tue Feb 26 11:09:37 EST 2008  Pekka.Pessi@nokia.com
* nua: initial fix for sf.net bug #1827511

BYE can now be challenged.

Add the fixes to segfault issue caused by this patch:

Wed May 21 10:40:06 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * nua_client_request: keep own reference to nua handle

Mon May 12 18:58:38 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * nua_session.c: sanitized BYE handling

  Terminate or cancel other session-related transactions when session gets
  terminated.

Fri May 16 10:28:26 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * nua_session.c: fix crash if session was terminated while INVITE was in progress



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8589 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:00:54 +00:00
Michael Jerris
0c60b93f57 tweak windows mod_xml_rpc build.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8580 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 04:38:32 +00:00
Anthony Minessale
7913aa4820 tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8575 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 03:10:36 +00:00
Anthony Minessale
04c78c745f tweak
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8574 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 03:08:41 +00:00
Anthony Minessale
56008e2b8f generate libs/xmlrpc-c/include/xmlrpc-c/config.h from our configure
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8572 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 02:15:05 +00:00
Anthony Minessale
2b2186c3c6 no need to generate this file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8569 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-24 01:52:36 +00:00
Anthony Minessale
5c04241bc0 remove GNU_SOURCE from c file (we push from build system instead
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8561 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 22:59:41 +00:00
Anthony Minessale
eec3025e40 not supposed to do that in a conditional
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8559 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 22:55:40 +00:00
Anthony Minessale
38b306b6fe remove GNU_SOURCE from c files, push from build system instead
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8558 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 22:54:19 +00:00
Anthony Minessale
0fed9a582c update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@483 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-23 21:50:07 +00:00
Anthony Minessale
dba966a948 update
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@483 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-23 21:50:07 +00:00
Michael Jerris
161ca559e2 working windows build for mod_xml_rpc and xmlrpc-c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8555 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 21:43:41 +00:00
Michael Jerris
d1d69ae04f Hack to actually run the thread cleanup functions when not in forking mode. This needs a better solution to go upstream but is fine for us because we never do forking.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8553 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 21:23:25 +00:00
Michael Jerris
2c96ffc596 update include paths
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8550 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 21:18:51 +00:00
Michael Jerris
b981d49ae4 add windows header files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8548 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 21:10:48 +00:00
Michael Jerris
c685d8d5bd add project files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8547 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 21:05:13 +00:00
Michael Jerris
00654d880e merged new xmlrpc-c revision 1472 from https://xmlrpc-c.svn.sourceforge.net/svnroot/xmlrpc-c/trunk
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8545 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-23 20:56:24 +00:00
Michael Jerris
b015d7b8d3 add strict state parsing and configurable suggest mode
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@482 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-21 18:58:14 +00:00
Michael Jerris
7813d6a46c add strict state parsing and configurable suggest mode
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@482 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-21 18:58:14 +00:00
Anthony Minessale
219812a90f sync
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@481 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-21 16:49:22 +00:00
Anthony Minessale
fabc3df7d4 sync
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@481 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-21 16:49:22 +00:00
Michael Jerris
c1d46e371c fix bounds check issue
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@480 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-21 16:48:19 +00:00
Michael Jerris
33b748e114 fix bounds check issue
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@480 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-21 16:48:19 +00:00
Anthony Minessale
8c12407619 add rport hack to sofia lib to ease NAT suffering
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8497 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-20 22:27:42 +00:00
Michael Jerris
5e7e1b999d Mon May 19 11:31:45 EDT 2008 Pekka.Pessi@nokia.com
* nua_stack.c: include Allow-Events in requests initiating dialog, too
    
  The Allow-Events header is now alwats included with NOTIFY requests, and
  initial INVITE, SUBSCRIBE, REFER, and OPTIONS requests.
  
  Thanks to Jerry Richards for pointing out the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:56:40 +00:00
Michael Jerris
c3c9a27413 Fri May 16 05:06:09 EDT 2008 Pekka.Pessi@nokia.com
* nua_register.c: nr->nr_tport was used even if nr was NULL
  
  Problem detected by Klocwork.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8466 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:55:53 +00:00
Michael Jerris
4795234198 Fri May 16 10:44:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_s2.c: cope if test nua uses default port



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8465 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:55:15 +00:00
Michael Jerris
614ca565ae Fri May 16 10:30:29 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_nua_api.c: fixed crash in check_sofia



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8464 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:54:45 +00:00
Michael Jerris
5e0750dcd8 Fri May 16 10:29:20 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_simple.c: fixed test case for SUBSCRIBE



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8463 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:54:14 +00:00
Anthony Minessale
a649b013ac fix pointer thingy
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@478 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-15 20:56:47 +00:00
Anthony Minessale
9053ab88e3 fix pointer thingy
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@478 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-15 20:56:47 +00:00
Anthony Minessale
5ae7201c37 add var_event down into the endpoints so chans with no parents can still pass options
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@477 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-15 19:43:58 +00:00
Anthony Minessale
b7b9bf763b add var_event down into the endpoints so chans with no parents can still pass options
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@477 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-15 19:43:58 +00:00
Michael Jerris
305b796078 more conflicts from r8400
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 19:25:34 +00:00
Michael Jerris
dd9f6af78d complete r8400 commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8406 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 19:10:54 +00:00
Michael Jerris
fdd92d7a31 Tue May 13 16:49:57 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_tag.c: updated NUTAG_RETRY_COUNT() documentation



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:21:13 +00:00
Michael Jerris
f85e63d8eb Tue May 13 16:47:50 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_stack.h: removed unused typedef ull



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:20:48 +00:00
Michael Jerris
c5e0072ce1 Tue May 13 16:45:09 EDT 2008 Pekka Pessi <first.last@nokia.com>
* sres.c: allow dns redirection with _sres_default_port



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:20:11 +00:00
Michael Jerris
aaf064377c Update sofia tests:
Tue May  6 13:53:21 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * tests: added 2nd check-based test suite for nua

Wed May  7 08:26:48 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * suite2_for_nua.c: more test cases

Wed May  7 13:40:05 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * suite2_for_nua.c, s2tester.[hc]: made it easier to refactor test cases

Wed May  7 14:34:54 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * test_nua: moved to tests subdirectory

Wed May  7 14:37:06 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * check_nua: moved to libsofia-sip-ua/nua

Mon May 12 19:00:26 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * check_nua: updated

Tue May 13 16:45:21 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * test_s2.h, test_s2.c: added internal DNS server

Tue May 13 16:46:08 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * check_register.c: added test case register_1_3_3_1 using tcp pingpong



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:19:34 +00:00
Michael Jerris
55f505ada4 Tue May 13 15:41:24 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nta.c: fixed outgoing retry timer



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8399 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:16:19 +00:00
Anthony Minessale
618bd1d079 make echo stuff failure nonfatal
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@476 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-14 15:53:02 +00:00
Anthony Minessale
3e7f205d31 make echo stuff failure nonfatal
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@476 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-14 15:53:02 +00:00
Anthony Minessale
7efa298023 tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@475 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-14 15:48:51 +00:00
Anthony Minessale
25ebc8420e tweak
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@475 a93c3328-9c30-0410-af19-c9cd2b2d52af
2008-05-14 15:48:51 +00:00
Stefan Knoblich
8541587db6 Better fix for the tr issue on solaris: force the C locale for the tr call since the issue is cause by the system using utf8 (or any other multibyte locale)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8390 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 22:02:50 +00:00
Stefan Knoblich
91d2ca2920 Fix libedit build on solaris (add workaround to libedit/src/makelist to use /usr/xpg4/bin/tr which properly supports [:lower:] [:upper:])
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8389 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 21:39:41 +00:00
Michael Jerris
81157864bd need this file too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 19:24:53 +00:00
Michael Jerris
58312ce2d1 Mon May 12 18:51:36 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua: using NUTAG_PROXY() as handle-specific tag
  
  Added nua_dialog_update_params() and virtual method usage_update_params()
  for each dialog usage.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8384 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 19:10:47 +00:00
Michael Jerris
052e33d6d2 Mon May 12 15:20:02 EDT 2008 Pekka Pessi <first.last@nokia.com>
* msg_header.h: removed c99ism



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8383 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 19:08:22 +00:00
Michael Jerris
329e8d682b fix for LBCODEC-2
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8374 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 00:30:09 +00:00