Commit Graph

533 Commits

Author SHA1 Message Date
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 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 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 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 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 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 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 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 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 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
Michael Jerris 5baf8d20b6 Fri Jan 16 07:42:29 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua: fixed problems with route set handling
  
  RFC 3261 allows the route set changes while dialog is in early state.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11834 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:07:09 +00:00
Michael Jerris 293a9b1483 Fri Jan 16 07:22:08 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta: added nta_leg_client_reroute()
  
  nta_leg_client_route() did not catch actually RFC 3261 section 12.1.2 feel
  and spirit, not to speak about letter.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11833 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:06:00 +00:00
Michael Jerris e26f3e19f0 Thu Jan 15 12:06:00 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: when sending ACK to [3456]XX, copy the To header as-is from the response
  
  Problem reported by Paulo Pizarro.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11831 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:05:16 +00:00
Michael Jerris 38dabb3635 Thu Jan 15 09:50:45 CST 2009 Jarod Neuner <janeuner@networkharbor.com>
* TLS Subject Checking in tport
  
  sofia-sip/tport.h:
  * tport_delivered_from_subjects() returns type (su_strlst_t const *)
  * Export tport_subject_search()
  
  sofia-sip/tport_tag.h + tport_tag.c:
  * Remove TPTAG_TLS_VERIFY_PEER()
    - Depreciated.  Use TPTAG_TLS_VERIFY_POLICY instead.
    - Binary Compatibility is preserved.
  * Add TPTAG_TLS_VERIFY_POLICY()
    - tport can verify incoming and/or outgoing connections, using:
      1) Certificate Signatures only - or - 
      2) Certificate Signatures and Certificate Subjects
  * Add TPTAG_TLS_VERIFY_DEPTH()
    - Restrict certificate chain verification to a set length.
  * Add TPTAG_TLS_VERIFY_DATE()
    - Disable notBefore/notAfter checking (application: embedded devices)
  * Add TPTAG_TLS_VERIFY_SUBJECTS()
    - Incoming connections must present client certificates with subjects
      that match an item in this list.
    - Intended Use: Proxy Authentication
  * Replaced TPTAG_TRUSTED() with TPTAG_X509_SUBJECT()
    - Commented out for future use.
    - Intended Use: SIP User Identities in Server Certificates.
  * Add appropriate doxygen documentation.
  
  tport.c
  * Add tport_subject_search()
    - Subject can be a hostname, IP Address, or a URI.
    - Valid subject examples include:
        example.com
        alice@example.com
        sip:alice@example.com
        sips:alice@example.com
  * tport_by_addrinfo() matches tpn_canon against the subject list
      of reusable TLS connections.
  
  tport_tls.h:
  * Add tls_init_secondary()
  * Remove tls_init_slave() & tls_init_client()
  
  tport_tls.c:
  * tls_verify_cb() supports TPTAG_TLS_VERIFY_DATE()
  * tls_post_connection_check() verifies certificate subjects.
  * tls_init_secondary()
    - Replaces tls_init_slave(), tls_init_client(), and tls_clone().
  
  tport_type_tls.c:
  * Removed erroneous reference to tport_tls_deliver()
  * Fix a memory leak caused by duplicate calls to tls_clone().
  * Populate the (tport_t *)->tp_subjects field with peer certificate data for
    new secondary connections.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11830 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:03:59 +00:00
Michael Jerris 27a5a679be Thu Jan 15 09:38:34 CST 2009 Bernhard Suttner <bernhard DOT suttner AT comdasys DOT com>
* sip_util.c: fix 484 respose to REFER in sip_response_terminates_dialog()

  Asterisk (v 1.2.7.1) does response with 484 if a client does send a refer
  with a @ReferTo header to an unknown number.  This is therefore not
  fundamentally wrong and the dialog should not be destroyed!



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11829 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:03:30 +00:00
Michael Jerris 90311fbd2d Tue Jan 13 16:22:39 CST 2009 Pekka Pessi <first.last@nokia.com>
* tport_type_tls.c, tport_tls.c: added Jarod Neuner as one of authors
  
  Cleaned whitespace, too.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11822 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:00:16 +00:00
Michael Jerris fa2fe6a216 Tue Jan 13 14:59:50 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: send answer in ACK if offer was sent in 200 OK to re-INVITE
  
  Thanks for Liu Yang for reporting the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11813 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:55:11 +00:00
Michael Jerris 7d792fe3ea Mon Jan 12 08:29:14 CST 2009 Pekka Pessi <first.last@nokia.com>
* sip-dig.c: using su_casenmatch() to match NAPTR service



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11812 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:54:44 +00:00
Michael Jerris a8ee947d37 Mon Jan 12 08:27:07 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_port.c: added #include <sofia-sip/su_string.h>
  
  Making poll mechanism name matching case-insensitive.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11811 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:54:20 +00:00
Michael Jerris 21c92ab2d8 Fri Jan 9 14:51:02 CST 2009 Pekka Pessi <first.last@nokia.com>
* auth_client.c: auc_has_authorization() is happy if one scheme is supported
  
  If there was multiple challenges with different authentication schemes,
  auc_has_authorization() required that all were supported (and used) before
  authentication could proceed.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11810 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:53:49 +00:00
Michael Jerris 4d985dc0ef Fri Jan 9 13:51:56 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_string.c: it is A. Not a Z.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11809 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:53:18 +00:00
Michael Jerris 5ded72256a Fri Jan 9 13:26:53 CST 2009 Paulo Pizarro <paulo DOT pizarro AT gmail DOT com>
* nta.c: do not restart timer E when provisional response is received
  
  According to the (informational) RFC 4321 section 1.2 Timer E is not altered
  during the transition to Proceeding.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11808 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:52:40 +00:00
Michael Jerris cefbcf0a29 Thu Jan 8 15:13:56 CST 2009 Pekka Pessi <first.last@nokia.com>
* sip: using <sofia-sip/su_string.h> functions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11806 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:52:15 +00:00
Michael Jerris d8f68d7a56 Thu Jan 8 15:12:28 CST 2009 Pekka Pessi <first.last@nokia.com>
* sresolv: using <sofia-sip/su_string.h> functions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11805 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:51:44 +00:00
Michael Jerris adeaf3cfff Thu Jan 8 15:03:28 CST 2009 Pekka Pessi <first.last@nokia.com>
* nea: using <sofia-sip/su_string.h> functions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11804 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:51:14 +00:00
Michael Jerris 1ab22fe83c Thu Jan 8 15:00:46 CST 2009 Pekka Pessi <first.last@nokia.com>
* tport: using <sofia-sip/su_string.h> functions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11803 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:50:52 +00:00
Michael Jerris 2fa6c7435d Thu Jan 8 14:56:49 CST 2009 Pekka Pessi <first.last@nokia.com>
* msg: using <sofia-sip/su_string.h> functions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:50:29 +00:00
Michael Jerris 070546335d Thu Jan 8 14:55:01 CST 2009 Pekka Pessi <first.last@nokia.com>
* bnf: using <sofia-sip/su_string.h>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11801 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:49:51 +00:00
Michael Jerris 31367efd3b Thu Jan 8 14:52:37 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua: using <sofia-sip/su_string.h> functions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11800 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:49:25 +00:00
Michael Jerris 371b3a6fa7 Thu Jan 8 14:47:09 CST 2009 Pekka Pessi <first.last@nokia.com>
* utils/sip-dig.c: using <sofia-sip/su_string.h> functions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:49:01 +00:00
Michael Jerris deba583e96 Thu Jan 8 14:29:39 CST 2009 Pekka Pessi <first.last@nokia.com>
* nth: using <sofia-sip/su_string.h> functions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11798 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:48:40 +00:00
Michael Jerris 54ba0c3fa3 Thu Jan 8 13:57:46 CST 2009 Pekka Pessi <first.last@nokia.com>
* soa: using <sofia-sip/su_string.h> functions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11797 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:48:09 +00:00
Michael Jerris 3ee0b589cf Thu Jan 8 13:50:53 CST 2009 Pekka Pessi <first.last@nokia.com>
* iptsec: using <sofia-sip/su_string.h> functions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11796 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:47:44 +00:00
Michael Jerris c749834728 Thu Jan 8 13:00:38 CST 2009 Pekka Pessi <first.last@nokia.com>
* sdp: using <sofia-sip/su_string.h> functions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11795 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:47:14 +00:00
Michael Jerris eeff4df08b Thu Jan 8 12:38:05 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta: use <sofia-sip/su_string.h> functions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:46:50 +00:00
Michael Jerris 5628845768 Thu Jan 8 12:14:14 CST 2009 Pekka Pessi <first.last@nokia.com>
* http: use <sofia-sip/su_string.h> functions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11793 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:46:25 +00:00
Michael Jerris 85cafb105d Thu Jan 8 12:13:38 CST 2009 Pekka Pessi <first.last@nokia.com>
* su: using <sofia-sip/su_string.h>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11792 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:45:51 +00:00
Michael Jerris 54c0937433 Thu Jan 8 12:08:14 CST 2009 Pekka Pessi <first.last@nokia.com>
* memspn.c, memcspn.c: use functions from <sofia-sip/su_string.h>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11785 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:27:51 +00:00
Michael Jerris aee3e653cc Thu Jan 8 11:55:52 CST 2009 Pekka Pessi <first.last@nokia.com>
* sofia-sip/string0.h: use functions from <sofia-sip/su_string.h>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11784 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:23:44 +00:00
Michael Jerris 906fbd4ecf Fri Jan 9 10:33:14 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: when negotiating session refresher, default to UAC



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11783 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:23:10 +00:00
Michael Jerris a92ad4b3fb Thu Jan 8 14:20:45 CST 2009 Pekka Pessi <first.last@nokia.com>
* outbound.c: use default peer info when outbound is created



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11781 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:19:47 +00:00
Michael Jerris 0e7377b897 Thu Jan 8 13:04:03 CST 2009 Pekka Pessi <first.last@nokia.com>
* auth_client: do not crash with unknown authentication schemes



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11779 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:18:36 +00:00
Michael Jerris 7e750dcf97 Thu Jan 8 12:04:21 CST 2009 Pekka Pessi <first.last@nokia.com>
* sofia-sip/su_string.h: added
  
  Adding locale-independent, NULL-safe string comparison, 
  matching and searching functions:
  - su_strcmp()
  - su_strncmp()
  - su_strcasecmp()
  - su_strncasecmp()
  - su_strmatch()
  - su_strnmatch()
  - su_casematch()
  - su_casenmatch()
  - su_strcasestr()
  - su_strnspn()
  - su_strncspn()
  - su_memspn()
  - su_memcspn()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11777 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:16:52 +00:00
Michael Jerris b3e2fcdbb5 Thu Jan 8 10:34:22 CST 2009 Pekka Pessi <first.last@nokia.com>
* sip_security.c: allow multiple WWW-Authenticate and Authorization headers



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11775 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:15:46 +00:00
Michael Jerris f92b45a9fa Mon Jan 5 06:43:24 CST 2009 Pekka Pessi <first.last@nokia.com>
* tport_type_tls.c: no tport_tls_deliver() yet



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11774 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:15:05 +00:00
Michael Jerris 1d36053c74 Mon Jan 5 06:43:04 CST 2009 Pekka Pessi <first.last@nokia.com>
* tport_tls.c: silences warnings on signedness



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11773 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:14:35 +00:00
Michael Jerris 0a07ac4b16 Mon Jan 5 06:42:09 CST 2009 Pekka Pessi <first.last@nokia.com>
* tport_tls.c: su_home_new() already zeros the allocated memory



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11772 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:14:05 +00:00
Michael Jerris c2f5696a8a Mon Jan 5 06:31:12 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: default to initiate session refreshes
  
  Use local refresher unless remote end explicitly indicates that it takes
  care of refreshing the session. Bug reported and initial patch by Timo
  Bruhn.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11771 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:12:35 +00:00
Michael Jerris 52fa079b2b Tue Dec 16 16:19:37 CST 2008 Jarod Neuner <janeuner@networkharbor.com>
* Early TLS Handshake and Verification
  
  tport_type_tls.c:
  * tport_tls_accept():
    - Replaces tport_accept for incoming TLS connections.
  * tport_tls_connect():
    - Replaces tport_base_connect() for outgoing TLS connections.
  
  tport_tls.c:
  * tls_t now use a memory home instead of malloc.
  * removed tls_check_hosts()
  * tls_connect():
    - Replaces tport_base_connect for TLS connection setup.
    - Completes TLS handshake and verifies peer certificates.
    - Destroys suspect TLS connections before sending/receiving payload.
    - Populates a su_strlst_t with subjects from the peer certificate.
  
  tport.c:
  * tport_is_verified()
    - true if peer certificate validated successfully
  * tport_delivered_from_subjects()
    - Certificate subjects listed in the peer certificate.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11769 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:11:33 +00:00
Michael Jerris ece5252042 Tue Dec 16 11:58:26 CST 2008 Jarod Neuner <janeuner@networkharbor.com>
* Helper functions for vtp_connect and vtp_wakeup_pri.
  
  - Expose tport_setname() and tport_wakeup() via tport_internal.h
  - Add tport_register_secondary() for adding secondaries to a root, and
    to alleviate the need to export tprb_append.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11768 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:10:58 +00:00
Michael Jerris 0ac71634bf Fri Dec 19 08:38:53 CST 2008 Pekka Pessi <first.last@nokia.com>
* nta.c: be consistent with maxsize and max_proceeding types
  
  Original patch by Mike Jerris



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:04:30 +00:00
Michael Jerris fd0a6589e0 sofia-sip: fix gcc 4.3 build (FSBUILD-105)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11518 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-27 22:59:00 +00:00
Michael Jerris d88a0fbefc mod_sofia: fix build error on gcc 4.3 (FSBUILD-105)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-21 19:28:20 +00:00
Michael Jerris 6408a21cf2 SFSIP-112 sofia does not compile w/ gcc 4.3 x86 w/ -Werror
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10877 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-18 23:24:19 +00:00
Michael Jerris 9b2a8aaa0e .update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10838 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 21:42:38 +00:00
Michael Jerris 10c6c9dbb8 Thu Nov 27 06:09:44 CST 2008 Pekka Pessi <first.last@nokia.com>
* nua_session.c: use signed ss_sdp_version (soa_get_user_version() returns int)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10832 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 21:22:43 +00:00
Michael Jerris 7f70d131ff Fri Nov 21 08:12:28 CST 2008 Pekka Pessi <first.last@nokia.com>
* nua_session.c: call soa_activate() only when nh->nh_soa is valid



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10830 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 21:21:04 +00:00
Michael Jerris 833500ae64 Fri Nov 21 04:52:55 CST 2008 Pekka Pessi <first.last@nokia.com>
* nua: try to cope if a re-INVITE nor its ACK contain SDP
  
  Some SIP user-agents use INVITE without SDP offer to refresh session.
  By default, NUA sends an offer in 200 OK to such an INVITE and expects
  an answer back in ACK. Now nua tries to recover from such a Offer/Answer
  protocol error.
  
  Also, if NUTAG_REFRESH_WITHOUT_SDP(1) tag is used, and if the re-INVITE was
  received without SDP, no SDP offer is sent in 200 OK.
  
  Thanks for Anthony Minessale for reporting the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10829 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 21:20:22 +00:00
Michael Jerris 3d981b497b Wed Nov 26 12:58:40 CST 2008 Pekka Pessi <first.last@nokia.com>
* nua_session.c: changing session expiration time to follow spirit (not only letter) of RFC 4028
  
  Change suggested by Timo Bruhn.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10827 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:47:18 +00:00
Michael Jerris d5c9694677 Mon Dec 15 08:31:45 CST 2008 Stas Maximov <smaximov@ieee.org>
* nta: NULL host and port in user Via are filled automaticaly

  NULL host or port in user-supplied Via header will be filled
  automaticaly by NTA, just like branch and rport params.

  Added related test case to test_nta_api.c.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10826 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:34:00 +00:00
Michael Jerris f7c4b7ad7c Wed Nov 26 13:30:48 CST 2008 Pekka Pessi <first.last@nokia.com>
* outbound.c: silenced warnings
  
  wtf? xxx.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10825 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:28:53 +00:00
Michael Jerris 253c81bb45 Wed Nov 26 12:42:31 CST 2008 Paulo Pizarro <paulo DOT pizarro AT gmail DOT com>
* tport: new tag TPTAG_TLS_VERIFY_PEER

  With this tag, the verification of certificates can be controlled:
  0: no verify certificates.
  1: on server mode, the certificate returned by client is checked and
     if fail the TLS/SSL handshake is immediately terminated.
  1: on client mode, the server certificate is verified and
     if fail the TLS/SSL handshake is immediately terminated.

  I added this tag, because I'd like that my application not connected to a
  server with a untrusted certificate.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10824 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:26:19 +00:00
Michael Jerris 3294718a97 Wed Nov 26 12:38:03 CST 2008 Pekka Pessi <first.last@nokia.com>
* tport.c: log real transport name by tport_vsend()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10823 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:22:09 +00:00
Michael Jerris 929d0ba8bd Fri Nov 14 17:26:48 CST 2008 Jarod Neuner <janeuner@networkharbor.com>
* sips_in_contact_bug



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10821 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:16:58 +00:00
Michael Jerris 3f739fad27 Wed Nov 12 12:33:20 CST 2008 Pekka Pessi <first.last@nokia.com>
* nta: moved truly internal data type definitions into nta.c



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10820 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:12:43 +00:00
Michael Jerris 538a0e2db9 Wed Nov 12 11:30:28 CST 2008 Fabio Ferrari <fabioferrari AT gmail DOT com>
* nta: new tag NTATAG_TLS_RPORT()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10818 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:10:32 +00:00
Michael Jerris decdc84984 Thu Dec 11 06:02:09 CST 2008 Pekka Pessi <first.last@nokia.com>
* sdp_print.c: print sdptl in lowercase, too



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10817 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:01:12 +00:00
Michael Jerris b51f0287d8 Wed Nov 12 12:00:29 CST 2008 Pekka Pessi <first.last@nokia.com>
* sdp_parse.c: use lower-case udptl 
  
  According to T.38 V3.4 some implementations are case-sensitive when checking
  transport protocol name. Thanks to Timo Bruhn for the hint.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10816 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:58:49 +00:00
Michael Jerris 38d7209c25 Thu Dec 11 11:32:13 CST 2008 Pekka Pessi <first.last@nokia.com>
* su_taglist.c. removed globals which should have been static in first place
  
  - t_null_next(), t_null_move(), t_null_dup(), t_null_copy(), t_null_find()
  - t_skip_next(), t_skip_move(), t_skip_len(), t_skip_dup(), t_skip_filter()
  - t_next_next(), t_next_move(), t_next_len(), t_next_dup(), t_next_filter()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10815 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:55:04 +00:00
Michael Jerris 69faddccba Mon Dec 8 08:59:04 CST 2008 Pekka Pessi <first.last@nokia.com>
* su: removed private functions accidentally declared as globals
  
  su_t64_to_time(), mutex_trylocker(), su_port_set_system_preferences()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10814 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:53:46 +00:00
Michael Jerris 6e67acc50b Thu Dec 11 11:32:49 CST 2008 Pekka Pessi <first.last@nokia.com>
* sofia-sip/su_uniqueid.h: proper prototype for su_random()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10813 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:52:05 +00:00
Michael Jerris 8663f5a44c Thu Dec 11 11:30:29 CST 2008 Pekka Pessi <first.last@nokia.com>
* su/addrinfo.c, su/localinfo.c: made usage() static
  
  Make -Wmissing-prototypes happy.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10812 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:50:56 +00:00
Michael Jerris 6470214c1f Fri Nov 28 09:00:01 CST 2008 Tiago Katcipis <katcipis AT inf DOT ufcs DOT br>
* tport_tls.c: #include <sofia-sip/*> before <openssl/*>
  
  Avoid lossage in Win32.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10811 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:48:45 +00:00
Michael Jerris fbee0e1340 Fri Nov 28 08:59:31 CST 2008 Tiago Katcipis <katcipis AT inf DOT ufcs DOT br>
* tport_type_tls.c: add missing access() for Win32



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10810 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:47:41 +00:00
Anthony Minessale 6545d04bf7 Wed Oct 22 09:10:19 EDT 2008 Brian Czapiga <rys at evool dot com>
* sip_bad_mask: so not require valid Supported
  
  Cisco phones seem to generate bad Supported header.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10353 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 12:01:04 +00:00
Anthony Minessale 834397d025 Tue Oct 2 11:30:47 EDT 2007 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* outbound.c: Retain keepalives even when 'natify' is disabled


Mon Oct  6 09:02:14 EDT 2008  Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
  * Resolved a conflict in outbound.c with the natify patch




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10350 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 11:58:43 +00:00
Anthony Minessale d7621a4135 Tue Oct 2 10:51:22 EDT 2007 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* outbound.c: Do keepalives even when no NAT was detected



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 11:55:47 +00:00
Anthony Minessale ce7016af1b SFSIP-95 dont require valid Supported header because even if cisco insists they are rfc3261 compiant, having (null) in a header just isn't
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9863 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-06 21:53:56 +00:00
Brian West 92af3e726d revert this change for now
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9676 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-26 23:37:27 +00:00
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 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 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 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 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
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 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
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 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 298bb4f720 Fri Jul 25 10:57:08 EDT 2008 Fabio Margarido <fabiomargarido AT gmail DOT com>
* m4/sac-general.m4: fixed --enable-ndebug and --enable-expensive-checks



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9271 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:04:57 +00:00
Michael Jerris cf3a921708 Thu Jul 24 13:04:33 EDT 2008 Pekka Pessi <first.last@nokia.com>
* su_time0.c, m4/sac-su2.m4: check for CLOCK_MONOTONIC, too



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9270 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:04:38 +00:00
Michael Jerris e5f406b9b6 Thu Jul 24 13:02:17 EDT 2008 Pekka Pessi <first.last@nokia.com>
* sofia-sip/su_tagarg.h: if va_copy is missing, fall back to __va_copy or memcpy



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9269 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:04:16 +00:00
Michael Jerris 4acc6a79af Wed Jul 23 12:22:57 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nta: changed type of NTATAG_SERVER_RPORT() back to signed int
  
  Documented magic value 2 for server rport.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:03:42 +00:00
Michael Jerris 5373a9664a Sat Jul 12 10:09:36 EDT 2008 Pekka Pessi <first.last@nokia.com>
* soa_generate_answer(): fixed error in documentation



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9265 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:03:00 +00:00
Michael Jerris 25e78b6a9c Sat Jul 12 10:08:48 EDT 2008 Pekka Pessi <first.last@nokia.com>
* tport.c: checking for non-NULL pointer in predicate functions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9264 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:01:58 +00:00
Michael Jerris d96293255d Mon Jul 21 13:06:54 EDT 2008 Pekka.Pessi@nokia.com
* outbound.c: destroy response to OPTIONS keepalive only when it is no more used



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9261 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:00:18 +00:00
Michael Jerris 9eda658a77 Thu Jun 5 10:23:18 EDT 2008 Pekka Pessi <first.last@nokia.com>
* Using su_inet_ntop and su_inet_pton



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8920 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 04:36:13 +00:00
Michael Jerris 2602ad6cba Thu Jun 5 11:58:03 EDT 2008 Pekka Pessi <Pekka.Pessi@nokia.com>
* test_nua_params.c: fixed typecasting problem on 64-bit platforms


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8767 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-05 16:20:48 +00:00
Michael Jerris 74244d9a97 Thu Jun 5 11:32:08 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_session.c: sanitized asserts with dialog usage for SIP session


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-05 16:20:01 +00:00
Michael Jerris 650962b183 Tue Jun 3 13:43:59 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nta.c: accepting CANCEL with To tag copied from preliminary response



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-03 18:57:34 +00:00
Michael Jerris 51f62e0260 fix NUTAG_SERVER_RPORT
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 15:33:03 +00:00
Michael Jerris 5a560fce49 Mon May 26 14:57:28 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nth: gracefully downgrade to tcp only if no tls certificates are available


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8676 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 00:18:31 +00:00
Michael Jerris 3e68d5e36b Mon May 26 08:52:41 EDT 2008 Pekka Pessi <first.last@nokia.com>
* RELEASE: 1.12.9pre1

Mon May 26 08:56:27 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * configure.ac: prerelease 1.12.8pre1.12.9.1



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8675 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 00:18:10 +00:00
Michael Jerris 5d09bf4a5b Mon May 26 08:31:50 EDT 2008 Pekka Pessi <first.last@nokia.com>
* su_wait.c: fix build on win32


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8674 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 00:17:34 +00:00
Michael Jerris a36ff2d330 Fri May 23 07:53:25 EDT 2008 Pekka.Pessi@nokia.com
* tests/Makefile.am: do not fix testsdir
  
  Build check_sofia only with make check.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8641 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:24:07 +00:00
Michael Jerris d886447645 Thu May 22 10:57:40 EDT 2008 Pekka.Pessi@nokia.com
* nua_register.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8640 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:23:36 +00:00
Michael Jerris 17b5b79f14 Thu May 22 10:45:32 EDT 2008 Pekka.Pessi@nokia.com
* nua_session.c: handling answer better by nua_prack_server_init()
  
  Fixed klocwork issue, too.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:23:11 +00:00
Michael Jerris 47d689784d Thu May 22 10:38:43 EDT 2008 Pekka.Pessi@nokia.com
* auth_client.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8638 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:22:45 +00:00
Michael Jerris 2caded0dec Thu May 22 10:38:36 EDT 2008 Pekka.Pessi@nokia.com
* auth_module.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8637 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:22:16 +00:00
Michael Jerris f816f01efe Thu May 22 10:38:06 EDT 2008 Pekka.Pessi@nokia.com
* msg_parser.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8636 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:21:26 +00:00
Michael Jerris 9915a97a17 Thu May 22 10:37:27 EDT 2008 Pekka.Pessi@nokia.com
* msg_parser_util.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8635 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:21:02 +00:00
Michael Jerris f95ffe4150 Thu May 22 10:36:30 EDT 2008 Pekka.Pessi@nokia.com
* nea_server.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8634 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:20:34 +00:00
Michael Jerris abce217f77 Thu May 22 09:39:19 EDT 2008 Pekka.Pessi@nokia.com
* nta.c: fixed klocwork issues



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8633 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:19:57 +00:00
Michael Jerris 4ba0be7696 Thu May 22 06:48:11 EDT 2008 Pekka.Pessi@nokia.com
* outbound.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8631 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:18:36 +00:00
Michael Jerris c7ebd6a8a8 Thu May 22 06:47:07 EDT 2008 Pekka.Pessi@nokia.com
* nua_stack.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8630 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:17:55 +00:00
Michael Jerris ba30b89311 Thu May 22 06:46:18 EDT 2008 Pekka.Pessi@nokia.com
* nta.c: fixed klocwork issue in nta_outgoing_prack()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8629 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:17:18 +00:00
Michael Jerris 3064ba78d8 Tue May 20 13:46:57 EDT 2008 Pekka.Pessi@nokia.com
* tport_logging.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8628 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:15:04 +00:00
Michael Jerris 0377d863a5 Tue May 20 13:46:46 EDT 2008 Pekka.Pessi@nokia.com
* tport.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8627 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:14:40 +00:00
Michael Jerris 02c84a6739 Tue May 20 13:32:51 EDT 2008 Pekka.Pessi@nokia.com
* su_wait.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8625 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:13:10 +00:00
Michael Jerris 913a502a74 Tue May 20 13:32:37 EDT 2008 Pekka.Pessi@nokia.com
* su_vector.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8624 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:12:06 +00:00
Michael Jerris 007f1b4745 Tue May 20 13:32:28 EDT 2008 Pekka.Pessi@nokia.com
* su_taglist.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8623 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:11:19 +00:00
Michael Jerris 5253e1b3e0 Tue May 20 13:30:50 EDT 2008 Pekka.Pessi@nokia.com
* su_port.c, su_base_port.c, su_pthread_port.c: fixed klocworks issues.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8622 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:10:34 +00:00
Michael Jerris 08a36d0949 Tue May 20 13:28:44 EDT 2008 Pekka.Pessi@nokia.com
* su_alloc.c: fixed klocworks issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8621 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:10:04 +00:00
Michael Jerris bdd90b2b47 Tue May 20 12:15:42 EDT 2008 Pekka.Pessi@nokia.com
* sres_blocking.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8620 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:08:38 +00:00
Michael Jerris 8826832fa6 Tue May 20 12:15:30 EDT 2008 Pekka.Pessi@nokia.com
* sres.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8619 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:07:50 +00:00
Michael Jerris b7c3d6c14a Tue May 20 09:35:46 EDT 2008 Pekka.Pessi@nokia.com
* soa_static.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8618 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:06:27 +00:00
Michael Jerris 9273f923ae Tue May 20 09:35:37 EDT 2008 Pekka.Pessi@nokia.com
* soa.c: fixed klocwork issues



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8617 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:05:09 +00:00
Michael Jerris f2a92f3b38 Tue May 20 09:33:08 EDT 2008 Pekka.Pessi@nokia.com
* torture_sip.c: added test for Content-Type


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8616 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:03:51 +00:00
Michael Jerris d6cfff626d Tue May 20 09:32:50 EDT 2008 Pekka.Pessi@nokia.com
* sip_util.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8615 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 14:58:59 +00:00
Michael Jerris 39e280f114 Tue May 20 09:32:30 EDT 2008 Pekka.Pessi@nokia.com
* sip_tag_class.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8614 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 14:57:14 +00:00
Michael Jerris 6a54b3ec07 Tue May 20 09:32:10 EDT 2008 Pekka.Pessi@nokia.com
* sip_mime.c: use msg_content_type functions with sip_content_type


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8613 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:56:27 +00:00
Michael Jerris 951cdf55aa Tue May 20 09:30:24 EDT 2008 Pekka.Pessi@nokia.com
* msg_basic.c: fixed klocwork issues



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8612 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:55:30 +00:00
Michael Jerris 3c079c410f Tue May 20 09:30:06 EDT 2008 Pekka.Pessi@nokia.com
* msg_mime.c: fixed klocwork issues



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8611 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:54:56 +00:00
Michael Jerris e1f98ec1ad Tue May 20 09:29:34 EDT 2008 Pekka.Pessi@nokia.com
* sdp: Fixed klocwork issues.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8610 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:54:06 +00:00
Michael Jerris cda4ee31af Tue May 20 07:51:51 EDT 2008 Pekka.Pessi@nokia.com
* nua_session.c: fixed klocwork issues



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8609 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:53:04 +00:00
Michael Jerris 91e7f24249 Tue May 20 07:46:57 EDT 2008 Pekka.Pessi@nokia.com
* nua_publish.c: fixed klocwork issue



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8608 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:52:27 +00:00
Michael Jerris 206a5e6a77 Tue May 20 07:46:20 EDT 2008 Pekka.Pessi@nokia.com
* nua_params.c: fixed klocwork issue



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8607 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:51:51 +00:00
Michael Jerris 08ed3b66fc Tue May 20 07:46:10 EDT 2008 Pekka.Pessi@nokia.com
* nua_event_server.c: fixed klocwork issue



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8606 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:51:11 +00:00
Michael Jerris c7fccda55c Tue May 20 07:45:46 EDT 2008 Pekka.Pessi@nokia.com
* nua_dialog.h: added NUA_DIALOG_USAGE_PRIVATE() and NUA_DIALOG_USAGE_PUBLIC()
  
  Macros to use with non-NULL pointers.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8605 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:50:32 +00:00
Michael Jerris f81c67cd3a Wed May 21 10:42:52 EDT 2008 Pekka Pessi <first.last@nokia.com>
* su_home_check_alloc(): added



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8603 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:25:07 +00:00
Michael Jerris fb0173653c Mon May 19 13:31:29 EDT 2008 Pekka Pessi <first.last@nokia.com>
* libsofia-sip-ua/docs/Makefile.am: fixed Doxyfile.rfc rule



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8599 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:22:19 +00:00
Michael Jerris 0611c5cd3e Mon May 19 11:55:28 EDT 2008 Pekka Pessi <first.last@nokia.com>
* configure.ac: check for fnmatch.h



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8594 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:20:24 +00:00
Michael Jerris 7619634f7e Mon May 19 11:53:23 EDT 2008 Pekka Pessi <first.last@nokia.com>
* tport_type_tcp.c: report EPIPE when transport gets closed after ping-pong timeout



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8590 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:03:58 +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
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
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 e7447a227e Mon May 12 14:33:37 EDT 2008 Pekka.Pessi@nokia.com
* soa_static.c: cope better if m= lines gets removed from user sdp



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-12 18:41:55 +00:00
Anthony Minessale b699b29f8b SFSIP-61
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8367 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-12 17:37:54 +00:00
Michael Jerris 8eb03e0895 Wed May 7 15:54:41 EDT 2008 Pekka Pessi <first.last@nokia.com>
* outbound.c: fix sofia-sip.org bug #1930055
  
  If the initial REGISTER was not challenged, the natted contact did not get
  unregistered.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8338 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:47:20 +00:00
Michael Jerris 439ad8460e Wed May 7 10:59:52 EDT 2008 Pekka Pessi <first.last@nokia.com>
* su_log.c: allow multiple calls su_log_soft_set_level() to change logging level



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:46:43 +00:00
Michael Jerris f4ef1c7847 Wed May 7 10:59:16 EDT 2008 Pekka Pessi <first.last@nokia.com>
* tport_tls.c: avoid free(NULL)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8336 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:45:13 +00:00
Michael Jerris a4d8241a5d Wed May 7 10:08:17 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua: improved logging, fixed macro expansion on __LINE__ on most compilers



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8335 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:44:46 +00:00
Michael Jerris 68543ddc11 Wed May 7 10:05:57 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_stack.c: if nua_register() fails to provide To, use From.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:44:02 +00:00
Michael Jerris 3ee862d73f Wed May 7 10:04:14 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_session.c: do not terminate session without soa if SDP O/A seems to fail
  
  SDP O/A may be buried inside MIME multipart



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8333 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:43:16 +00:00
Michael Jerris f39b423778 Wed May 7 09:10:28 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nta.c: do not replace host:port in user-specified Via header 
  
  Note that port for UDP is replaced if request is stateful and there is no
  rport.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8332 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:42:46 +00:00
Michael Jerris ae53be1ca8 bump
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8288 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-07 12:28:48 +00:00
Michael Jerris e917d5f460 remove sub_hash in favor of using a lookup directly into the sip stack
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8283 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-06 23:49:35 +00:00
Michael Jerris 267aeb5f84 Wed Apr 23 14:30:07 EDT 2008 first.last@nokia.com
* nua_notifier.c: fixed crash with event fetch



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-23 18:38:25 +00:00
Michael Jerris ae4b779567 revert previous patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-23 18:36:25 +00:00
Michael Jerris 1b5a7779ec interim fix for SFSIP-55, don't segfault on subscribe with Expires: 0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-22 21:26:50 +00:00
Michael Jerris 415d1c58d4 Fri Apr 18 06:54:40 EDT 2008 Jerry Richards <jerryr at tonecommander dot com>
* sip_util.c: fixed sip_header_as_string()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8149 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-21 22:30:48 +00:00
Michael Jerris aca515cb8e Mon Apr 7 13:20:55 EDT 2008 Pekka.Pessi@nokia.com
* nua_session.c: fixed call state reporting from failed INVITE
  
  If INVITE was returned a failure response, and session was being terminated
  (like BYE was sent while INVITE transaction was on-going), Sofia reported
  session as already terminated.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8052 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-07 19:44:39 +00:00
Michael Jerris 5f917507db bump
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8048 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-07 17:06:56 +00:00
Michael Jerris 4c9b1270ca Fri Apr 4 11:15:04 EDT 2008 Pekka.Pessi@nokia.com
* tport_type_udp.c: use IP_MTU_DISCOVER socket option to turn off DF flag
  
  Added check for IP_MTU_DISCOVER in m4/sac-su2.m4



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8022 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-04 17:39:38 +00:00
Michael Jerris e9e9acd16c Thu Apr 3 11:09:19 EDT 2008 Pekka.Pessi@nokia.com
* soa_static.c: when generating offer with ordered mode, fill gaps in session
  
  If session has m= lines that user SDP does not, the ordered mode got
  confused when generating 2nd offer (e.g., for re-INVITE).



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-03 22:33:40 +00:00
Michael Jerris ad8ed1be64 Tue Apr 1 06:49:10 EDT 2008 Pekka.Pessi@nokia.com
* nua_stack.c: include Allow-Events in most messages initiating dialog
  
  The Allow-Events header is now included with NOTIFY, PUBLISH, REGISTER, and
  initial INVITE, SUBSCRIBE, REFER, and OPTIONS, and also responses to
  SUBSCRIBE, REFER, OPTIONS, and PUBLISH as well as responses to initial
  INVITE and NOTIFY.
  
  Thanks to Jerry Richards for pointing out the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-03 22:33:12 +00:00
Michael Jerris f64797998d Wed Mar 26 07:18:34 EDT 2008 Bernhard Suttner
* sip_tag_class.c: escape semicolons in headers section of Replaces URI



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8015 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-03 22:31:57 +00:00
Michael Jerris f39d931259 don't assert that people are using sip correctly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7954 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-24 20:02:01 +00:00
Michael Jerris fa50712266 Tue Mar 18 16:16:49 EDT 2008 Pekka.Pessi@nokia.com
* nta: fixed checks for rfc2543 retransmssions/CANCEL/ACK

  Thanks to Michael Jerris for reporting this problem.

fix for SFSIP-49



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7919 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-18 20:24:22 +00:00
Michael Jerris 7d8bd7ba89 tweak sdp handling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-05 22:39:22 +00:00
Michael Jerris d6111c77a1 sync with darcs:
Fri Feb  1 09:41:42 EST 2008  Pekka.Pessi@nokia.com
  * tport_tls.c: restructured error logging code.

Fri Feb  1 10:10:25 EST 2008  Pekka.Pessi@nokia.com
  * tport_tls.c: cleared confused logging levels

Fri Feb  1 10:13:09 EST 2008  Pekka.Pessi@nokia.com
  * test_tport.c: fixed type-punning warning.

Tue Feb 12 14:26:26 EST 2008  Pekka.Pessi@nokia.com
  * tport.c: tport_name_dup() now validates the input

Wed Feb 13 09:23:24 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * nua_subnotref.c: do not terminate subscriptions immediately after receiving 200 OK to un-SUBSCRIBE



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7617 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-15 15:58:10 +00:00
Michael Jerris 00fade3d98 poke
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7431 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-29 21:16:13 +00:00
Michael Jerris b2af068acf whoops from merge conflict
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7430 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-29 21:15:25 +00:00
Anthony Minessale 8b2039117b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-26 19:48:51 +00:00
Michael Jerris d3e6109b34 Wed Jan 23 10:07:30 EST 2008 Pekka Pessi <Pekka.Pessi@nokia.com>
* soa_static.c: fixed signedness error
Shall I unpull this patch? (8/128)  [ynWvpxqadjk], or ? for help: y

Tue Jan 22 11:35:44 EST 2008  Pekka.Pessi@nokia.com
  * test_soa.c: testing hold with inactive, offered mode and setting remote activity flags while in hold
Shall I unpull this patch? (15/128)  [ynWvpxqadjk], or ? for help: y

Mon Jan 21 14:08:08 EST 2008  Pekka.Pessi@nokia.com
  * soa_static.c: soa_sdp_mode_set() now includes wanted media state in offer

  The wanted media state is based on original user SDP and SOATAG_HOLD()
  content. Removed soa_sdp_mode_set_is_needed(), using dry-run parameter
  instead.

Shall I unpull this patch? (20/128)  [ynWvpxqadjk], or ? for help: y

Thu Jan 17 11:40:46 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * soa_static.c: cleaned inactive hold, added tests
Shall I unpull this patch? (31/128)  [ynWvpxqadjk], or ? for help: y

Fri Jan 11 09:15:18 EST 2008  Pekka.Pessi@nokia.com
  * soa_tag.c: documented SOATAG_HOLD() inactive mode
Shall I unpull this patch? (46/128)  [ynWvpxqadjk], or ? for help: y

Fri Jan 11 09:12:01 EST 2008  Bernhard Suttner <suttner at comdasys.com>
  * Using # in SOATAG_HOLD to set media as inactive instead of sendonly
Shall I unpull this patch? (47/128)  [ynWvpxqadjk], or ? for help: y

revert a few more patches from sofia-sip darcs





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7361 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-25 19:57:46 +00:00
Michael Jerris c1d6ae81e7 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7355 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-25 17:44:37 +00:00
Michael Jerris da29143b60 merge to sofia sip darcs tree. Includes multiple fixes and several merges of changes from the freeswitch tree back to darcs as follows:
Mon Nov 19 22:05:07 EST 2007  Pekka Pessi <first.lastname@nokia.com>
  * test_htable2.c: define struct before using it in prototypes

Fri Jan 11 09:12:01 EST 2008  Bernhard Suttner <suttner at comdasys.com>
  * Using # in SOATAG_HOLD to set media as inactive instead of sendonly

Fri Jan 11 09:15:18 EST 2008  Pekka.Pessi@nokia.com
  * soa_tag.c: documented SOATAG_HOLD() inactive mode

Fri Jan 11 09:28:46 EST 2008  Pekka.Pessi@nokia.com
  * su_addrinfo.c: if su_getaddrinfo() service is NULL, try both with "0" and NULL

Fri Jan 11 09:30:23 EST 2008  Pekka.Pessi@nokia.com
  * Makefile.am: added tests to DIST_SUBDIRS

Fri Jan 11 12:11:12 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: NetModule hack re-prioritizing SRV records
  
  Original hack by Stefan Leuenberger <Stefan.Leuenberger@netmodule.com>.
  
  The hack reprioritizes the SRV records used with transaction in case a
  server refuses connection or it does not answer.

Fri Jan 11 12:12:23 EST 2008  Pekka.Pessi@nokia.com
  * sres.c, sres_cache.c: NetModule hack for re-prioritizing SRV records
    
  Original hack by Stefan Leuenberger <Stefan.Leuenberger@netmodule.com>.
  
  The hack reprioritizes the SRV records used with transaction in case a
  server refuses connection or it does not answer.
  
  New functions sres_cache_set_srv_priority() and
  sres_set_cached_srv_priority().
  
Fri Jan 11 12:15:19 EST 2008  Pekka.Pessi@nokia.com
  * Makefile.am: fixed dist target

Fri Jan 11 12:19:33 EST 2008  Pekka.Pessi@nokia.com
  * tport_internal.h: grammar in doc

Mon Jan 14 06:59:17 EST 2008  Pekka.Pessi@nokia.com
  * su.h: IPv6 fix for Vista SDK
    
  Patch by Michael Jerris

Wed Jan 16 13:20:47 EST 2008  Pekka.Pessi@nokia.com
  * nua: fix sf.net bug #1867753 (avoid duplicating initial route set)

Thu Jan 17 07:48:10 EST 2008  Pekka.Pessi@nokia.com
  * sres.c, sres_cache.c: documented sres_set_cached_srv_priority(), sres_cache_set_srv_priority()

Thu Jan 17 07:51:32 EST 2008  Pekka.Pessi@nokia.com
  * sofia-sip/su_wait.h, su_port.h, su_root.c: documented new functions and types for 1.12.8

Thu Jan 17 07:52:03 EST 2008  Pekka.Pessi@nokia.com
  * sofia-sip/htable2.h: marked new features for release 1.12.8

Thu Jan 17 07:52:33 EST 2008  Pekka.Pessi@nokia.com
  * su_alloc.c: marked new features for release 1.12.8.

Thu Jan 17 07:53:01 EST 2008  Pekka.Pessi@nokia.com
  * AUTHORS: updated

Thu Jan 17 07:53:21 EST 2008  Pekka.Pessi@nokia.com
  * RELEASE: added new features and bug fixes since 1.12.7

Thu Jan 17 07:55:18 EST 2008  Pekka.Pessi@nokia.com
  * libsofia-sip-ua/docs/Doxyfile.aliases: added @NEW_1_12_8 and @VERSION_1_12_8

Thu Jan 17 09:48:48 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * autogen.sh: use automake 1.9 unless otherwise specified

Thu Jan 17 11:40:46 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * soa_static.c: cleaned inactive hold, added tests

Thu Jan 17 11:41:54 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * Makefile.am: added hide_emails.sh to dist

Thu Jan 17 11:42:35 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * nua_stack.c: removed noisy debug message from nua_client_request_sendmsg()

Fri Jan 18 11:06:10 EST 2008  Pekka.Pessi@nokia.com
  * nua: Added NUA_ERROR_AT() macro
  
  Made internally generated 900 (and 904) response phrases unique as suggested
  by Jerry Richards.

Mon Jan 21 10:39:50 EST 2008  Stefan Knoblich
  * TLS debug cleanup

Mon Jan 21 12:05:38 EST 2008  Pekka.Pessi@nokia.com
  * tport: build fixes from Freeswitch

Mon Jan 21 12:14:25 EST 2008  Pekka.Pessi@nokia.com
  * su_global_log.c: disable warning on SU_DEBUG[] (Doxygen-only variable)
  
  Patch from Michael Jerris.

Mon Jan 21 12:15:19 EST 2008  Pekka.Pessi@nokia.com
  * sres.c: default log level to the same as SU_DEBUG define
  
  Patch by Michael Jerris

Mon Jan 21 12:16:39 EST 2008  Pekka.Pessi@nokia.com
  * stun.c: default log level to the same as SU_DEBUG define
  
  Patch by Michael Jerris

Mon Jan 21 12:45:04 EST 2008  Stefan Knoblich
  * TLS debug cleanup, 2/2.
  
  Silence openssl messages, part 2 of 2. Changed to TPORT_DEBUG=1 (thanks
  MikeJ). This one converts all ERR_print_errors() calls

Mon Jan 21 13:00:49 EST 2008  Pekka.Pessi@nokia.com
  * nua: removed asserts() on hairy dialog/request handling cases

Mon Jan 21 14:06:35 EST 2008  Pekka.Pessi@nokia.com
  * soa.c: using session state in soa_set_activity()
  
  The media mode bits are set using (local) session description instead of
  remote offer/answer when O/A has been completed.

Mon Jan 21 14:08:08 EST 2008  Pekka.Pessi@nokia.com
  * soa_static.c: soa_sdp_mode_set() now includes wanted media state in offer
  
  The wanted media state is based on original user SDP and SOATAG_HOLD()
  content. Removed soa_sdp_mode_set_is_needed(), using dry-run parameter
  instead.
  
Mon Jan 21 14:09:11 EST 2008  Pekka.Pessi@nokia.com
  * nua_subnotref.c: fixed REFER re-try case
  
  REFER trashed its dialog when it got retried if there was no other dialog
  usages.

Mon Jan 21 14:20:31 EST 2008  Pekka.Pessi@nokia.com
  * nua_stack.c: return specific error phrases from nua_client_init_request()
  
  As suggested by Jerry Richards.

Tue Jan 22 11:15:04 EST 2008  Pekka.Pessi@nokia.com
  * sip_util.c: updated sip_response_terminates_dialog() as per RFC 5057.
  
  Changes handling of 423 in case of SUBSCRIBE.

Tue Jan 22 11:34:01 EST 2008  Pekka.Pessi@nokia.com
  * conformance.docs: added RFC 5057 (sipping-dialogusage)

Tue Jan 22 11:34:16 EST 2008  Pekka.Pessi@nokia.com
  * test_auth_digest.c: testing empty realm

Tue Jan 22 11:35:44 EST 2008  Pekka.Pessi@nokia.com
  * test_soa.c: testing hold with inactive, offered mode and setting remote activity flags while in hold

Tue Jan 22 12:27:41 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: fixed memory corruption in case sending ACK failed
  
  Thanks for Fabio Margarido for reporting this problem.

Tue Jan 22 12:49:02 EST 2008  Pekka.Pessi@nokia.com
  * nua/test_refer.c: run test_challenge_refer() only if we use proxy
  
  Test case is now more deterministic, too.

Tue Jan 22 12:51:59 EST 2008  Pekka.Pessi@nokia.com
  * docs/Makefile.am, docs/conformance.docs: fixed links to RFC 5057.

Tue Jan 22 13:57:38 EST 2008  Pekka.Pessi@nokia.com
  * sres: added ttl parameter to sres_set_cached_srv_priority() and sres_cache_set_srv_priority().

Tue Jan 22 13:59:44 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: added NTATAG_GRAYLIST(). 
  
  Use NTATAG_GRAYLIST() as ttl value for sres_set_cached_srv_priority().

Tue Jan 22 14:04:29 EST 2008  Pekka.Pessi@nokia.com
  * RELEASE: updated.

Tue Jan 22 14:04:29 EST 2008  Pekka.Pessi@nokia.com
  * RELEASE: updated.

Wed Jan 23 06:56:11 EST 2008  Pekka.Pessi@nokia.com
  * sip_extra.c, sip_parser.c: updated documentation

Wed Jan 23 09:47:50 EST 2008  Pekka.Pessi@nokia.com
  * test_nta.c: fixed receiving with sink socket

Wed Jan 23 10:07:30 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * soa_static.c: fixed signedness error

Wed Jan 23 10:11:14 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * win32 project files: fixed slash direction

Wed Jan 23 10:13:00 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * torture_su.c: set blocking on

Wed Jan 23 10:13:36 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * test_tport.c: using blocking sockets in test_incomplete()

Wed Jan 23 11:01:11 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: now using RFC3261-compliant dialog-matching

Wed Jan 23 11:05:23 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: ignore tags in nta_leg_by_dialog() if they are empty strings

Wed Jan 23 11:05:58 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: asserting in proper place when handling queue tail

Wed Jan 23 12:11:09 EST 2008  Pekka.Pessi@nokia.com
  * torture_sip.c: added tests for accessing other extra headers beside P-Asserted-Identity/P-Preferred-Identity

Wed Jan 23 13:08:55 EST 2008  Pekka.Pessi@nokia.com
  * nua: terminate dialog when redirected and re-establish it with new request

Wed Jan 23 13:18:16 EST 2008  Pekka.Pessi@nokia.com
  * test_100rel.c: added test for redirect after 100rel response.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-23 18:37:33 +00:00
Michael Jerris c63b689ae7 push tls tweaks to force rebuild
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7295 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-19 01:48:21 +00:00
Michael Jerris d93a42df14 Merge current sofia-sip darcs tree:
Thu Dec 13 09:15:04 EST 2007  Pekka.Pessi@nokia.com
  * libsofia-sip-ua/docs/hide_emails.sh: moved to scripts/ subdir

Thu Dec 13 09:15:34 EST 2007  Pekka.Pessi@nokia.com
  * check_sofia.c: pass xml result file as optional parameter to check_sofia

Thu Dec 20 08:13:37 EST 2007  Pekka.Pessi@nokia.com
  * stun.c: try to avoid using stun handle after returning from discovery callback
  
  Crash reported and partial patch by Daniele Rondina.

Thu Jan  3 07:11:27 EST 2008  Pekka.Pessi@nokia.com
  * tport_type_udp.c: using SO_RCVBUFFORCE and SO_SNDBUFFORCE to set rmem/wmem on udp sockets
  
  Referring reader to Linux sysctls to TPTAG_UDP_RMEM and TPTAG_UDP_WMEM
  documentation.

Thu Jan  3 07:11:47 EST 2008  Pekka.Pessi@nokia.com
  * m4/sac-su2.m4: checks for SO_RCVBUFFORCE and SO_SNDBUFFORCE

Thu Jan  3 08:19:04 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: calculate next timeout only after completing current timeout
    
  Thanks to Mike Jerris for reporting this problem.

Thu Jan  3 11:02:11 EST 2008  Pekka.Pessi@nokia.com
  * sac-su2.m4: checking for IP_ADD_MEMBERSHIP and IP_MULTICAST_LOOP

Thu Jan  3 12:08:39 EST 2008  Pekka.Pessi@nokia.com
  * tport_type_udp.c: when binding to multicast address, join to the group, too.
  
  Use "canonic" IP address (from host-part of the SIP URI) to specify
  interface.

Mon Nov 19 15:01:09 EST 2007  Pekka Pessi <first.lastname@nokia.com>
  * tport_type_udp.c: made IP_ADD_MEMBERSHIP as portable

Fri Jan  4 13:19:01 EST 2008  Pekka.Pessi@nokia.com
  * test_nta.c: added check for request merging (with both 3261 and 2543 proxies)

Fri Jan  4 13:20:35 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: fixed request merging with RFC 2543 proxies
    
  Updated matching of PRACKs with outstanding 100rel, too.

Fri Jan  4 15:27:01 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: follow more closely RFC 3261 request matching rules

Fri Jan  4 15:31:22 EST 2008  Pekka.Pessi@nokia.com
  * nua_session.c: do not clear soa when an overlapping INVITE is received
  
Fri Jan  4 15:32:58 EST 2008  Pekka.Pessi@nokia.com
  * nua/outbound.c: reduce logging

Fri Jan  4 16:51:00 EST 2008  Pekka.Pessi@nokia.com
  * nua_subnotref.c: accept NOTIFY without Event header

Fri Jan  4 16:53:20 EST 2008  Pekka.Pessi@nokia.com
  * nua_notifier.c: fix problem handing expiration time if NOTIFY is sent before SUBSCRIBE has been responded

Fri Jan  4 16:54:08 EST 2008  Pekka.Pessi@nokia.com
  * nua_notifier.c: allow notifier handle to be shut down if SUBSCRIBE has been accpeted but no NOTIFY has been sent



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-06 20:15:11 +00:00
Michael Jerris c13fd78987 sync to the 1.12.6work3 (1.12.7 pre-release) from darcs:
Mon Oct  8 15:00:04 EDT 2007  Pekka Pessi <first.lastname@nokia.com>
  * tport: fixed problem with tls send blocking

Wed Oct 10 13:55:25 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  * Fixed the internal type of statistics

Thu Oct 11 11:25:59 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  * nta: fix sf.net bug #1810115, crash after nta_destroy()

  su_msg_t delivery, again.

  Thanks to Mikhail Zabaluev for reporting this.

Thu Oct 11 11:45:20 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  * nta: fixed type checking on NTATAG_UDP_MTU()/NTATAG_UDP_MTU_REF()

Thu Oct 11 13:25:12 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  * nua: fixed the from header handling

  The agent-level From header no longer overrides the From header set by
  nua_invite() and friends.

  Thanks to Fabio Margarido for keeping reporting about the problem.

Thu Oct 11 13:28:58 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  * RELEASE: updated

Thu Oct 11 11:30:13 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  * torture_sresolv.c: fixed printf() formatting types

  Passed a size_t to %u.

Thu Oct 11 11:44:54 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  * rules/sofia.am: not using make -C dir

Thu Oct 11 14:16:51 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  tagged release candidate 1 for 1.12.7

Thu Oct 11 12:25:28 EDT 2007  Pekka.Pessi@nokia.com
  * su_clone_start(): fixed spurious release of a pthreaded port




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5842 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-11 19:58:13 +00:00
Anthony Minessale e0e6b23d55 lets use updated lib
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 16:32:32 +00:00
Anthony Minessale deb4972610 Small tweaks so it actually compiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5001 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-22 19:11:22 +00:00
Michael Jerris 40bca110a8 consistent ifdef for DOXYGEN defined symbols
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4972 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-19 18:16:05 +00:00
Brian West d657014922 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4966 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-17 16:04:14 +00:00
Michael Jerris 7b4e100b31 Temporarily reverting sofia-sip library back to prior to the changes merged on 2/7/2007 due to ongoing unresolved issues in the new code. Will re-commit these changes once we receive fixes from the sofia-sip tree for these outstanding issues. Make sure recommended.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 06:25:21 +00:00
Michael Jerris 85c8bcd5ed Merge changes from sofia-sip tree:
Mon Feb 12 21:22:39 EET 2007  Maxim Zaikin <Maxim at amsd.com>
  * su_pthread_port.c: destroying condition variable used when destroying the thread.

Tue Feb 13 01:10:38 EET 2007  kai.vehmanen@nokia.com
  * nua: Ignore CANCEL of incoming request if we have already sent a final response, part 2.

Tue Feb 13 01:02:00 EET 2007  kai.vehmanen@nokia.com
  * nua: Ignore CANCEL of incoming request if we have already sent a final response. Problem reported by Mike Jerris.

nua: fixed problems in state machines.
Pekka Pessi <first.lastname@nokia.com>**20070214201847
   
 These problems are mostly introduced in 1.12.5:
 - assert failed if INVITE was received when calling
   (reported by Michael Jerris)
 - assert failed if nua_invite() was called second time before receiving
   final response to first INVITE (ditto)
 - ACK is now always sent if session was terminated after receiving 2XX
 - if nua has a pending incoming INVITE request, return 491 to
   nua_invite()

nta.c: return 481 response to CANCEL if INVITE transaction was successful
According to the RFC 3261 state diagram the INVITE transaction is destroyed
 immediately when a final 2XX series response is sent. Now nta returns a 481
 response to CANCEL if it finds an INVITE server transaction that was
 responded with a 2XX success response.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 05:18:37 +00:00
Michael Jerris 0dabc669b9 Don't assert when we get 2 copies of the same invite, just ignore it and do nua_client_return(cr, 900, "INVITE already in progress", msg)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4231 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 16:01:19 +00:00
Michael Jerris 38cd3a8105 .update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4202 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 16:02:55 +00:00
Michael Jerris dccf9b3d1b updated makefiles and a missing source file from the last sofia merge
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4179 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 18:15:36 +00:00
Michael Jerris 82def9a70d touch the .update so the lib is totally rebuilt
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4178 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 17:57:51 +00:00
Michael Jerris cad28828b2 merge changes from current sofia-sip tree.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4153 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 21:59:38 +00:00
Anthony Minessale 5ea224b3ca fix for cnonce crap (tell pekka)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3982 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-17 22:04:01 +00:00
Anthony Minessale 8f4a636fa1 trigger sofia rebuild
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3908 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-04 18:02:05 +00:00