Commit Graph

292 Commits

Author SHA1 Message Date
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