Commit Graph

496 Commits

Author SHA1 Message Date
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
Michael Jerris
fa58d2100b Tue Feb 10 07:18:55 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2check: added s2util.h, s2_fast_forward()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11877 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:39:55 +00:00
Michael Jerris
441f043162 Tue Feb 10 07:18:22 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2check: fixed s2_tcase_add_test()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11876 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:39:29 +00:00
Michael Jerris
7441387d86 Tue Feb 10 07:11:52 CST 2009 Paulo Pizarro <paulo DOT pizarro AT gmail DOT com>
* nua/check_etsi: added test case SIP_CC_OE_CE_TI_011_012
  Ignore-this: 245e07ad07c4e3d5e09ab93014594e43
  
  Ensure that the IUT, when an INVITE client transaction has been in the
  Terminated state, on receipt of a retransmitted Success (200 OK) responses
  sends an ACK request until 64*T1 duration expires, after this, on receipt of
  a retransmitted Success (200 OK) responses does not send an ACK request.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11875 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:39:07 +00:00
Michael Jerris
4216c4f9ed Tue Feb 10 07:06:03 CST 2009 Paulo Pizarro <paulo DOT pizarro AT gmail DOT com>
* nta.c: ACK and BYE orphan 200 OK matching with destroyed client transaction
  Ignore-this: c4f2b165dd2f197f129044e5c653cd8
  
  ETSI Test cases SIP_CC_OE_CE_V_019, SIP_CC_OE_CE_TI_011_012



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11873 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:38:45 +00:00
Michael Jerris
6376b4b705 Tue Feb 10 07:03:27 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: fixed race condition with ACK
  Ignore-this: 37d3e74b169e8a154b9734dbade74d84
  
  Response message got destroyed after sending ACK if stack was run in
  multithreaded mode.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11872 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:38:16 +00:00
Michael Jerris
394cc90bfe Fri Feb 6 07:48:45 CST 2009 Pekka Pessi <first.last@nokia.com>
* run_test_sresolv: check for apparmor, too



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11871 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:37:39 +00:00
Michael Jerris
a53ebf2c0d Fri Feb 6 05:16:13 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta: consider route as set if it is included when creating a leg



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:37:22 +00:00
Michael Jerris
aef10e83e3 Fri Feb 6 04:58:13 CST 2009 Pekka Pessi <first.last@nokia.com>
* open_c: added nua_client.[hc], nua_server.[hc]



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11868 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:26:07 +00:00
Michael Jerris
d0e01999d7 Fri Feb 6 04:57:51 CST 2009 Pekka Pessi <first.last@nokia.com>
* open_c/build_sources.cmd: building su_tag_ref.c



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11867 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:25:45 +00:00
Michael Jerris
5ad7e6d811 Fri Feb 6 04:54:56 CST 2009 Pekka Pessi <first.last@nokia.com>
* win32: added nua_client.[hc], nua_server.[hc]



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11866 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:25:18 +00:00
Michael Jerris
f1adad6ce9 Fri Feb 6 04:05:47 CST 2009 Pekka Pessi <first.last@nokia.com>
* build_sources.cmd: building su_tag_ref.c



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11865 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:24:54 +00:00
Michael Jerris
e3b8b194c5 Wed Feb 4 08:53:17 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua: moved nua_server* and nua_client* code into their own files
  Ignore-this: 23d66f0189ef8e324c2f23266f0ccf2
  
  Added nua_server.h, nua_server.c, nua_client.h, nua_client.c.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11864 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:24:28 +00:00
Michael Jerris
73b6ee94a3 Thu Jan 29 12:32:12 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: do not add Min-SE header if not needed



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11863 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:22:54 +00:00
Michael Jerris
db953eb8e9 Wed Jan 28 13:21:36 CST 2009 Pekka Pessi <first.last@nokia.com>
* su-glib/su_source.c: fixed su_source_is_running() signature



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11862 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:22:23 +00:00
Michael Jerris
e202543c76 Wed Jan 28 12:32:01 CST 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* nua/outbound.c: calculate the keepalive timer interval with regard to the maximum defer interval
    
  The point is not to miss the keepalive deadlines.
  


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11861 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:20:59 +00:00
Michael Jerris
cf1f74fbc3 Wed Jan 28 12:31:06 CST 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* su-glib/su_source.c: improved the deferrable timeout calculation
  


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11860 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:20:26 +00:00
Michael Jerris
81d8e58821 Wed Jan 28 12:30:55 CST 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* su-glib/su_source.c: updated copyright years
  



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11859 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:20:06 +00:00
Michael Jerris
16d87679e4 Wed Jan 28 12:27:47 CST 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* Added a comment about suspicious timeout calculation code
  



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11858 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:19:49 +00:00
Michael Jerris
a37b99f072 Wed Jan 28 12:20:34 CST 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* Added deferrable timer support to the GSource integration.
  


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11857 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:19:25 +00:00
Michael Jerris
48c52ad5ec Wed Jan 28 12:15:08 CST 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* Merged deferrable timers from the bleeding-sofia-sip branch
  


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:19:01 +00:00
Michael Jerris
f26dd3daf8 Wed Jan 28 12:09:00 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_port.h, su_timer.c: refactored su_timer_next_expires()
  



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11855 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:18:37 +00:00
Michael Jerris
314d3883dd Wed Jan 28 12:07:53 CST 2009 Pekka Pessi <first.last@nokia.com>
* outbound.c: make outbound timer deferrable
  



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11854 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:18:14 +00:00
Michael Jerris
cc6fc1d277 Wed Jan 28 12:07:02 CST 2009 Pekka Pessi <first.last@nokia.com>
* su: added API functions su_timer_is_set() and su_timer_latest()
  



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11853 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:17:49 +00:00
Michael Jerris
231fc1f4eb Wed Jan 28 12:06:06 CST 2009 Pekka Pessi <first.last@nokia.com>
* sofia-sip/su_wait.h: added su_timer_deferrable(), su_task_wakeup(), su_root_set_max_defer(), su_root_get_max_defer() and su_task_deferrable().
   
  Added implementation to different main-loop implementations in
  libsofia-sip-ua/su.
  
  Fixed su_task_is_running(). 
    
  In libsofia-sip-ua/su, added tests for deferred timers. 
  
  In libsofia-sip-ua-glib/su-glib/su_source.c, added su_source_wakeup() and
  su_source_is_running(). Using su_base_port_send() instead of
  su_source_send(). Using su_base_port_deferable() and
  su_base_port_max_defer(), too.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11852 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:16:44 +00:00
Michael Jerris
fff2dd5b66 Wed Jan 28 12:02:55 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_timer.c: removed redundant checks
  


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11851 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:16:05 +00:00
Michael Jerris
8247926a88 Wed Jan 28 12:01:13 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_timer.c: timers_remove() now set sut_heap_index to 0



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11850 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:15:37 +00:00
Michael Jerris
b3256ae861 Wed Jan 28 12:00:26 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_timer.c: no more type-punning
  



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11849 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:14:57 +00:00
Michael Jerris
5c8181cc20 Wed Jan 28 11:52:34 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_timer.c: using heap (instead of red-black tree) for keeping timers sorted
  
  Re-recorded 20070704230449-65a35-f0434c75b0f58a069806e81942c0d5e0821dc9d3



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11848 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:14:33 +00:00
Michael Jerris
37a7c283b1 Wed Jan 28 13:34:54 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua_dialog.c: avoid debug output with nua_dialog_usage_set_refresh_at()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11847 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:14:06 +00:00
Michael Jerris
5821ce1230 Mon Jan 26 09:45:30 CST 2009 Pekka Pessi <first.last@nokia.com>
* RELEASE: msg_multipart_t::mp_len from usize_t to unsigned



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11846 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:13:36 +00:00
Michael Jerris
419003821f Wed Jan 21 10:38:08 CST 2009 Pekka Pessi <first.last@nokia.com>
* msg_multipart_s: fixed mp_len type
  
  The msg_multipart_s should follow msg_pub_s layout.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11845 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:13:16 +00:00
Michael Jerris
b7bc5240f0 Fri Jan 23 11:13:41 CST 2009 Pekka Pessi <first.last@nokia.com>
* sresolv: caching SRES_RECORD_ERR in case a CNAME is returned, too
  
  Tracing the CNAMEs when doing cache lookups.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11844 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:12:33 +00:00
Michael Jerris
ba7a77e7da Wed Jan 21 14:49:03 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: added test check_simple.c, test cases for SIMPLE



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11843 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:11:38 +00:00
Michael Jerris
8fb926d3ac Wed Jan 21 14:32:32 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: fiddled with some timing issues



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11842 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:11:20 +00:00
Michael Jerris
4fd9addba6 Wed Jan 21 11:54:35 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_etsi.c: disabled failing test case for now



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11841 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:11:01 +00:00
Michael Jerris
9f5f3adfac Wed Jan 21 11:53:25 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua: added check_etsi.c with ETSI test cases



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11840 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:10:38 +00:00
Michael Jerris
95da674967 Fri Jan 16 13:42:45 CST 2009 Pekka Pessi <first.last@nokia.com>
* test_auth_digest.c: fixed warnings from function declarations



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11839 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:10:01 +00:00
Michael Jerris
3a1ac4929c Fri Jan 16 13:42:36 CST 2009 Pekka Pessi <first.last@nokia.com>
* torture_bnf.c: fixed warnings from function declarations




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11838 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:09:44 +00:00
Michael Jerris
63ffde17b9 Fri Jan 16 13:42:21 CST 2009 Pekka Pessi <first.last@nokia.com>
* torture_heap.c: fixed warnings from function declarations



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11837 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:09:14 +00:00
Michael Jerris
587408b8ce Fri Jan 16 13:37:43 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua: fixed problem handling re-SUBSCRIBE when it creates new dialog



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11836 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:08:41 +00:00
Michael Jerris
10c67f8219 Fri Jan 16 13:27:39 CST 2009 Pekka Pessi <first.last@nokia.com>
* soa: fixed restoring state after failed offer



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