Commit Graph

368 Commits

Author SHA1 Message Date
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
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
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
1236f4a454 Tue Dec 9 11:11:08 CST 2008 Pekka Pessi <first.last@nokia.com>
* RELEASE, configure.ac: opening development head



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10836 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 21:25:54 +00:00
Michael Jerris
d665909359 Mon Dec 8 09:40:33 CST 2008 Pekka Pessi <first.last@nokia.com>
* configure.ac, RELEASE: bumped version



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10835 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 21:25:01 +00:00
Michael Jerris
1b16791e18 Wed Dec 3 06:00:07 CST 2008 Pekka Pessi <first.last@nokia.com>
* Updated AUTHORS, RELEASE.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10834 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 21:24:18 +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
29cc1e016d Wed Nov 26 13:18:57 CST 2008 Pekka Pessi <first.last@nokia.com>
* configure.ac: bumped version number



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10831 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 21:22:01 +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
44c54b9375 Wed Nov 26 12:46:27 CST 2008 Pekka Pessi <first.last@nokia.com>
* AUTHORS: added Paulo



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10807 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:42:09 +00:00
Michael Jerris
cc3033c0ef Fri Nov 21 08:12:43 CST 2008 Pekka Pessi <first.last@nokia.com>
* AUTHORS: updated



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10806 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:41:16 +00:00
Michael Jerris
5a8c2da211 Wed Nov 12 13:30:59 CST 2008 Pekka Pessi <first.last@nokia.com>
* sac-openssl.m4: fixed test $HAVE_OPENSSL = 1



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10805 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 19:40:34 +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
bc441b7df8 Fri Sep 12 16:55:08 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_100rel.c: fixed timing problem w/ failing PRACK case



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



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



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



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9540 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-09-12 16:06:33 +00:00
Michael Jerris
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