Commit Graph

143 Commits

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