Commit Graph

441 Commits

Author SHA1 Message Date
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 4381a94448 add missing files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11787 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:33: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 0074441afa Fri Jan 9 10:19:27 CST 2009 Pekka Pessi <first.last@nokia.com>
* auth_client.c: updated documentation



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11782 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:21:43 +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 295d2f46fd Thu Jan 8 13:04:57 CST 2009 Pekka Pessi <first.last@nokia.com>
* docs/Doxyfile.aliases: Added @VERSION_1_12_10, @NEW_1_12_10
  
  Also @VERSION_UNRELEASED and @NEW_UNRELEASED.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11780 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:19:02 +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 1ad83d3c42 Thu Jan 8 14:11:49 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_string.c: fixed su_strcasestr()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11778 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:17:58 +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 470a963e03 Fri Dec 19 10:51:02 CST 2008 Pekka Pessi <first.last@nokia.com>
* tport_logging.c: do not use stamp as format string
  
  Original patch by Mike Jerris.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11767 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:08:28 +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 91dc5d5f54 Mon Dec 15 09:16:20 CST 2008 Pekka Pessi <first.last@nokia.com>
* su_alloc.c: always unlock home before destroying mutexes



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11765 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:03:09 +00:00
Michael Jerris c536aac576 Mon Dec 15 10:57:06 CST 2008 Pekka Pessi <first.last@nokia.com>
* sresolv: made sres_record_class static
  
  Should never been global.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11764 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 15:58:09 +00:00
Michael Jerris 76b8884bb7 Mon Dec 15 10:50:21 CST 2008 Pekka Pessi <first.last@nokia.com>
* sofia-resolv/sres_cache.h: added prototype for sres_cache_clean()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11761 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 15:56:43 +00:00
Michael Jerris f5f66dc911 Mon Dec 15 10:33:40 CST 2008 Pekka Pessi <first.last@nokia.com>
* sofia-sip/heap.h: added protype for su_smoothsort()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11760 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 15:56:04 +00:00
Michael Jerris 76c08c2274 Mon Dec 15 10:33:16 CST 2008 Pekka Pessi <first.last@nokia.com>
* su_tag.h: added prototype for tl_vllen()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11759 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 15:55:22 +00:00
Brian West 67fb2a1bbd Mon Dec 15 10:32:55 CST 2008 Pekka Pessi <first.last@nokia.com>
* su_tag_class.h: added prototypes for tag functions
  
  Protypes for t_filter(), t_null_filter(), t_end_filter(),
  t_socket_snprintf(), t_socket_ref_set() have been missing.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11758 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 15:54:48 +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 776b88d332 fix silly compiler warning caused by freebsd not making int same size as void* on some 64 bit amd (SFSIP-113)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11039 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-31 22:26:30 +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 868856a81c SFSIP-107 don't destroy locked mutex
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10837 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 21:29:07 +00:00
Michael Jerris e5c185a842 fixed whitespace
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10833 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 21:23:37 +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
Michael Jerris 5e61659aff Thu Nov 27 06:08:29 CST 2008 Pekka Pessi <first.last@nokia.com>
* sofia-sip/su.h: do not try to use "IPv6 tech preview" with XP
  
  Fix proposed by Filippo Della Betta.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10809 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:45:42 +00:00
Michael Jerris 68e9835d7a Wed Nov 26 14:19:45 CST 2008 Pekka Pessi <first.last@nokia.com>
* sdp/Makefile.am: added tests/message-11.sdp to dist



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10808 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:44:06 +00:00
Michael Jerris 40c64dbc70 Wed Nov 12 12:14:17 CST 2008 Pekka Pessi <first.last@nokia.com>
* libsofia-sip-ua/Makefile.am: use subshell intead of pushd in doxygen target



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10804 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:39:51 +00:00
Michael Jerris d8c4d22d40 merge whitespace fixes from sofia-sip tree
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 18:05:22 +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 aa32ae6f34 Tue Oct 14 09:00:06 EDT 2008 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* nua/check_session.c: Disabled OPTIONS keepalives in call tests



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10352 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 11:59:31 +00:00
Anthony Minessale 38e0e5a303 Tue Oct 14 08:58:12 EDT 2008 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* nua/check_register.c: Increased test timeouts to 10 seconds
  
  This prevents occasional test timeout errors in Maemo Scratchbox.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10351 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-11-12 11:59:09 +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
Michael Jerris 7780b6ef76 (SFSIP-88) handle leak on windows
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10006 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-10-14 16:08:43 +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 d8f1f01486 unlock before destroy (handle leak from SFSIP-88)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9669 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-26 19:30:52 +00:00
Michael Jerris 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 51024eee9b Wed Sep 10 12:10:57 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_session.c: added test cases for multiple INVITEs and INVITE glare



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



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



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9503 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-10 16:19:45 +00:00
Michael Jerris 04855d3cc0 Wed Sep 3 14:21:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua: using nua_client_set_terminating()



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



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



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



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



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-03 18:27:56 +00:00
Michael Jerris 642ad50e83 Thu Aug 14 11:22:16 EDT 2008 Pekka Pessi <first.last@nokia.com>
* outgoing_complete(): avoid assert if completing already completed request



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



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



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



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



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



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



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



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



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



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



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



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9273 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:05:41 +00:00
Michael Jerris 8b0eddc157 Mon Aug 4 14:12:09 EDT 2008 Stefano Sabatini
* Fix an sdp module usage example codec compilation error (patch #2031162)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9272 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:05:16 +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 32f23073b7 Thu Jul 24 12:00:18 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nta_test.c: reindented invite_client_t initializers



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9268 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:03:57 +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 661fc8232c Sat Jul 12 10:11:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_s2.[hc]: added s2_nua_thread



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9266 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:03:17 +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 31180ed11b Tue May 27 13:03:35 EDT 2008 Pekka.Pessi@nokia.com
* check_session.c: added test case call_error_3_2_3



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 16:59:56 +00:00
Michael Jerris e7cc15fe81 Tue May 13 08:55:11 EDT 2008 Pekka.Pessi@nokia.com
* test_soa.c: added test for a=sendonly/a=inactive handling



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 16:59:22 +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 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 ed2422b173 sync to sofia darcs trunk
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8679 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 01:36:56 +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 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 2f88e7a03c whoops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8651 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 23:53:23 +00:00
Michael Jerris ebe2cf67af add NTATAG_SERVER_RPORT(2) that will act like there is always a rport in the via.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 21:22:35 +00:00
Michael Jerris ce9ccd4ae7 fix build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8642 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 21:18:42 +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 d9d3d80fc5 Thu May 22 07:34:11 EDT 2008 Pekka.Pessi@nokia.com
* http_tag_class.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8632 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:19:14 +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 a5927df998 Tue May 20 13:33:05 EDT 2008 Pekka.Pessi@nokia.com
* su_md5.c: fixed typo in comment



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8626 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:13:28 +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