Commit Graph

1398 Commits

Author SHA1 Message Date
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
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
377dc94f13 Thu Jan 15 12:06:29 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_session.c: make sure To header in ACK to [3456]XX is copied from response



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11832 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:05:32 +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
48b5844e30 Thu Jan 15 09:33:08 CST 2009 Pekka Pessi <first.last@nokia.com>
* Doxyfile.aliases: added @NEW_1_12_11, @VERSION_1_12_11



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11828 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:02:55 +00:00
Michael Jerris
e88161aec1 Thu Jan 15 08:40:56 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2check: added



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11827 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:02:34 +00:00
Michael Jerris
90e9a0971f Thu Jan 15 06:48:04 CST 2009 Pekka Pessi <first.last@nokia.com>
* msg_parser.c: msg_header_add_format() added in 1.12.10



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11826 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:02:00 +00:00
Michael Jerris
5976bff650 Wed Jan 14 06:35:56 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta_tag.c: updated tag documentation
  
  NTATAG_GRAYLIST added in 1.12,8, NTATAG_MAX_PROCEEDING() in 1.12.9,
  NTATAG_TLS_RPORT() in 1.12.10



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11825 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:01:43 +00:00
Michael Jerris
1b04142409 Tue Jan 13 16:23:40 CST 2009 Pekka Pessi <first.last@nokia.com>
* NUTAG_REFRESH_WITHOUT_SDP(): added in 1.12.10



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11824 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:01:12 +00:00
Michael Jerris
837f9dfbd5 Tue Jan 13 16:23:09 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_inet_ntop(), su_inet_pton(): added in 1.12.9



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11823 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:00:42 +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
ec1024d619 Tue Jan 13 16:21:44 CST 2009 Pekka Pessi <first.last@nokia.com>
* sac-su2.m4: check for strnlen(), do not check for strcasestr()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11821 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:59:44 +00:00
Michael Jerris
8cb0c75279 Tue Jan 13 16:20:56 CST 2009 Pekka Pessi <first.last@nokia.com>
* TPTAG_TLS_VERIFY_PEER() added in 1.12.10



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11820 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:59:20 +00:00
Michael Jerris
2fb33f1857 Tue Jan 13 16:20:06 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_localinfo.c: using SU_LOCALINFO_TEST



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11819 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:57:55 +00:00
Michael Jerris
b8b13a8a8a add missing file
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11818 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:57:36 +00:00
Michael Jerris
e0d54adf61 Tue Jan 13 15:19:59 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_session.c: added a test case for sending re-INVITE w/o offer



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11817 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:56:57 +00:00
Michael Jerris
ca5a8c80f8 Tue Jan 13 15:19:02 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_session.c: renamed test case 2.3.3 as 2.6.3


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11816 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:56:33 +00:00
Michael Jerris
1c34aadc39 Tue Jan 13 10:10:10 CST 2009 Pekka Pessi <first.last@nokia.com>
* rules/silent.am: silence. at last.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11815 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:56:03 +00:00
Michael Jerris
6b60944349 Tue Jan 13 15:03:25 CST 2009 Pekka Pessi <first.last@nokia.com>
* torture_bnf.c: added some host_is_domain() cases



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11814 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:55:27 +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