Commit Graph

1093 Commits

Author SHA1 Message Date
Michael Jerris 1cdec9c0fe unlock before destroy (handle leak from SFSIP-88)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9670 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-26 19:33:17 +00:00
Michael Jerris d8f1f01486 unlock before destroy (handle leak from SFSIP-88)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9669 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-26 19:30:52 +00:00
Michael Jerris 4b89516bce hack for now until we ditch apr dso code completely
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9605 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-20 00:05:00 +00:00
Michael Jerris 3f760a9eeb avoid linking conflicting sqlite libraries
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9581 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-17 22:57:33 +00:00
Michael Jerris bc441b7df8 Fri Sep 12 16:55:08 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_100rel.c: fixed timing problem w/ failing PRACK case



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9549 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-12 21:48:10 +00:00
Michael Jerris 1f3b34ae96 Fri Sep 12 12:25:18 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_stack.c: keep reference when destroying un-ACKed INVITE



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9542 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-12 16:28:10 +00:00
Michael Jerris 25d5205abc Wed Sep 3 13:35:21 EDT 2008 Pekka Pessi <first.last@nokia.com>
* sofia-sip/msg_header.h: added msg_header_add_format(()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9541 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-12 16:27:43 +00:00
Michael Jerris 260ca947da Fri Sep 12 11:59:46 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_stack.c: un-ACKed INVITE was destroyed twice on nh_destroy()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9540 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-12 16:06:33 +00:00
Michael Jerris 58aee6b046 (LBSNDF-5) fix for autoconf 2.62
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9533 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-12 05:37:06 +00:00
Michael Jerris 51024eee9b Wed Sep 10 12:10:57 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_session.c: added test cases for multiple INVITEs and INVITE glare



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9520 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:24:59 +00:00
Michael Jerris dc84df61fc Wed Sep 10 12:08:47 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_session.c: always start next INVITE after ACK



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9519 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:24:40 +00:00
Michael Jerris d945b059c8 Wed Sep 10 12:05:57 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_100rel.c: fixed timing problems with response to BYE



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9518 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:24:14 +00:00
Michael Jerris 07f024c9b9 Wed Sep 10 11:46:36 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_s2.c: add From tag to s2-generated requests



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9517 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:23:59 +00:00
Michael Jerris 64c24236f1 Wed Sep 10 11:45:25 EDT 2008 Pekka Pessi <first.last@nokia.com>
* soa_static.c: soa_static_process_reject() backs up only if it has to back up



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9516 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:23:44 +00:00
Michael Jerris 5f65acd306 Wed Sep 10 11:44:40 EDT 2008 Pekka Pessi <first.last@nokia.com>
* soa.c: document what function table contains by default
  
  For easy TAGS usage.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9515 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:23:21 +00:00
Michael Jerris 1dab185160 Wed Sep 10 10:49:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_session.c: added test cases for nua_handle_destroy() and nua_respond()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9514 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:23:01 +00:00
Michael Jerris 65b629aa8e Wed Sep 10 10:40:18 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_session.c: bye_4_1_11 - checking BYE in completing state



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9513 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:22:43 +00:00
Michael Jerris 184bee89d5 Wed Sep 10 10:39:23 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_session.c: renamed call error cases (3.1, 3.2)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9512 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:22:29 +00:00
Michael Jerris 6245100d02 Wed Sep 10 10:37:35 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_session.c: added more CANCEL cases
  
  2.2.5 - CANCEL glare test case (failing)
  2.2.6 - Simple nua UAS CANCEL case
  2.2.7 - RFC 2543 client CANCELing, nua as UAS



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9511 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:22:13 +00:00
Michael Jerris b45c089d4b Wed Sep 10 10:22:28 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_session.c: added TCP call cases call_2_1_2_2 and call_2_1_3_2



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9510 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:21:56 +00:00
Michael Jerris cee1157243 Wed Sep 10 09:56:53 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_s2.c: use only tport protocol if primary tport is given



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9509 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:21:42 +00:00
Michael Jerris 4c606d6df4 Wed Sep 10 09:39:03 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_session.c: added case 2.1.8, Call using NUTAG_PROXY().



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9508 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:21:28 +00:00
Michael Jerris ff74ae2a89 Wed Sep 10 09:34:00 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_session.c: added tests for PRACK and preconditions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9507 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:21:10 +00:00
Michael Jerris f1914b40cd Wed Sep 10 09:29:58 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_s2.c: turn on s2 tport log if environment variable S2_TPORT_LOG is set



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9506 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:20:55 +00:00
Michael Jerris 545f4a9194 Wed Sep 10 09:29:17 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_s2.c: allow user-specified VIA in requests from s2



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9505 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:20:25 +00:00
Michael Jerris 5563aa8ae8 Wed Sep 10 09:05:24 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_session.c: fixed client request reference counting in nua_session_usage_remove()
  
  Bug reported by Della Betta Filippo.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9504 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:20:05 +00:00
Michael Jerris 46c7e09c4d Wed Sep 3 14:37:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
* sdp: updated documentation



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9503 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:19:45 +00:00
Anthony Minessale ea964d8fe6 update spandsp to use newest snapshot http://www.soft-switch.org/downloads/snapshots/spandsp/spandsp-20080910.tar.gz
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9493 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-09 17:04:42 +00:00
Michael Jerris c986bb4406 spandsp build integration
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9426 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-03 19:44:49 +00:00
Michael Jerris 1e177dbd2b inital checkin of spandsp from http://www.soft-switch.org/downloads/snapshots/spandsp/spandsp-20080829.tar.gz
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9425 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-03 19:02:00 +00:00
Michael Jerris 04855d3cc0 Wed Sep 3 14:21:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua: using nua_client_set_terminating()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9422 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-03 18:32:12 +00:00
Michael Jerris ef020e6016 Wed Sep 3 14:20:29 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua: added reference counting for client-side transactions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9421 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-03 18:30:56 +00:00
Michael Jerris a2740a96c8 Wed Sep 3 13:55:22 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua: using HAVE_MEMLEAK_LOG
  
  Logging nua_handle_ref() and nua_handle_unref().



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9420 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-03 18:29:19 +00:00
Michael Jerris fc0293d266 Wed Sep 3 13:50:17 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_tag.c: updated documentation on NUA tags



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9419 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-03 18:28:41 +00:00
Michael Jerris 8e37367fb6 Wed Sep 3 13:49:53 EDT 2008 Pekka Pessi <first.last@nokia.com>
* outbound.c: do not use OPTIONS keepalive by default but on UDP
  
  On TCP, use TCP-level keepalives.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-03 18:27:56 +00:00
Michael Jerris 9770bd3a12 Wed Sep 3 13:11:43 EDT 2008 Pekka Pessi <first.last@nokia.com>
* configure.ac: added --enable-memleag-log and HAVE_MEMLEAK_LOG



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-03 18:27:14 +00:00
Brian West e24f6b6f39 don't build the tests that use libsndfile and libsamplerate (FSBUILD-67)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-18 16:53:31 +00:00
Michael Jerris 642ad50e83 Thu Aug 14 11:22:16 EDT 2008 Pekka Pessi <first.last@nokia.com>
* outgoing_complete(): avoid assert if completing already completed request



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9292 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-14 16:02:45 +00:00
Michael Jerris 4e9fe267ec Thu Aug 14 11:21:21 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nta: when in UAS mode, respond to CANCEL and INVITE with same tag 
  
  Added mreply(), internal function for responding to a request message
  Also, tag INVITE before responding to CANCEL.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-14 16:01:39 +00:00
Michael Jerris 961c78c3b9 Wed Aug 13 13:03:33 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_session.c: destroying invite transaction only after nua_i_invite is sent
  
  Added nua_client_request_clean(), nua_invite_client_should_ack().



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9290 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-14 15:37:53 +00:00
Michael Jerris 002cb87165 Wed Aug 13 10:23:28 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_dialog.c: clear reference in server request before freeing it



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9289 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-14 15:37:09 +00:00
Michael Jerris 884d4227e7 add new test file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9281 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:11:25 +00:00
Michael Jerris 34c878ba94 Tue Aug 12 12:56:16 EDT 2008 Pekka Pessi <first.last@nokia.com>
* sdp_parse: the syntax is updated to RFC 4566
  
  "The changes to the memo are intended to be backward-compatible
  clarifications."



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:08:44 +00:00
Michael Jerris 55f7d3505a Fri Aug 8 09:41:49 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua: updated tag documentation



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9279 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:08:03 +00:00
Michael Jerris e33290f42f Fri Aug 8 08:09:34 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua: fix bug #2041747 with Organization header
  
  Using Organization tags crashed the nua stack.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9278 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:07:38 +00:00
Michael Jerris 426570b105 Fri Aug 8 07:55:01 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_subnotref.c: do not terminate SUBSCRIBE usage if Expires: 0 is used
  
  Terminate subscription only when NOTIFY is received or timeout occurs.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9277 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:07:20 +00:00
Michael Jerris 8eaf59b7f3 Thu Aug 7 07:53:01 EDT 2008 Pekka Pessi <first.last@nokia.com>
* soa_static.c: increment version number in o= line only when generating offer or answer
  
  Bug reported by Timo Bruhn.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9276 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:06:57 +00:00
Michael Jerris b489249f60 Wed Aug 6 15:17:30 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_subnotref.c: nua_unsubscribe() should not terminate usage w/ final response
  
  Do not terminate until final NOTIFY or timeout.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9275 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:06:35 +00:00
Michael Jerris 81e1edffa9 Wed Aug 6 14:49:13 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nta: fix to #2037585: always release error callback when changing transports



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9274 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:06:11 +00:00
Michael Jerris f9865e5593 Wed Aug 6 14:28:48 EDT 2008 Pekka Pessi <first.last@nokia.com>
* run_test_nta: exit 77 if named refuses to start



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9273 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:05:41 +00:00