Commit Graph

574 Commits

Author SHA1 Message Date
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
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 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 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
Michael Jerris f2a92f3b38 Tue May 20 09:33:08 EDT 2008 Pekka.Pessi@nokia.com
* torture_sip.c: added test for Content-Type


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8616 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:03:51 +00:00
Michael Jerris d6cfff626d Tue May 20 09:32:50 EDT 2008 Pekka.Pessi@nokia.com
* sip_util.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8615 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 14:58:59 +00:00
Michael Jerris 39e280f114 Tue May 20 09:32:30 EDT 2008 Pekka.Pessi@nokia.com
* sip_tag_class.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8614 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 14:57:14 +00:00
Michael Jerris 6a54b3ec07 Tue May 20 09:32:10 EDT 2008 Pekka.Pessi@nokia.com
* sip_mime.c: use msg_content_type functions with sip_content_type


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8613 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:56:27 +00:00
Michael Jerris 951cdf55aa Tue May 20 09:30:24 EDT 2008 Pekka.Pessi@nokia.com
* msg_basic.c: fixed klocwork issues



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8612 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:55:30 +00:00
Michael Jerris 3c079c410f Tue May 20 09:30:06 EDT 2008 Pekka.Pessi@nokia.com
* msg_mime.c: fixed klocwork issues



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8611 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:54:56 +00:00
Michael Jerris e1f98ec1ad Tue May 20 09:29:34 EDT 2008 Pekka.Pessi@nokia.com
* sdp: Fixed klocwork issues.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8610 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:54:06 +00:00
Michael Jerris cda4ee31af Tue May 20 07:51:51 EDT 2008 Pekka.Pessi@nokia.com
* nua_session.c: fixed klocwork issues



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8609 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:53:04 +00:00
Michael Jerris 91e7f24249 Tue May 20 07:46:57 EDT 2008 Pekka.Pessi@nokia.com
* nua_publish.c: fixed klocwork issue



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8608 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:52:27 +00:00
Michael Jerris 206a5e6a77 Tue May 20 07:46:20 EDT 2008 Pekka.Pessi@nokia.com
* nua_params.c: fixed klocwork issue



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8607 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:51:51 +00:00
Michael Jerris 08ed3b66fc Tue May 20 07:46:10 EDT 2008 Pekka.Pessi@nokia.com
* nua_event_server.c: fixed klocwork issue



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8606 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:51:11 +00:00
Michael Jerris c7fccda55c Tue May 20 07:45:46 EDT 2008 Pekka.Pessi@nokia.com
* nua_dialog.h: added NUA_DIALOG_USAGE_PRIVATE() and NUA_DIALOG_USAGE_PUBLIC()
  
  Macros to use with non-NULL pointers.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8605 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 13:50:32 +00:00
Michael Jerris f81c67cd3a Wed May 21 10:42:52 EDT 2008 Pekka Pessi <first.last@nokia.com>
* su_home_check_alloc(): added



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8603 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:25:07 +00:00
Michael Jerris fb0173653c Mon May 19 13:31:29 EDT 2008 Pekka Pessi <first.last@nokia.com>
* libsofia-sip-ua/docs/Makefile.am: fixed Doxyfile.rfc rule



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8599 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:22:19 +00:00
Michael Jerris 0611c5cd3e Mon May 19 11:55:28 EDT 2008 Pekka Pessi <first.last@nokia.com>
* configure.ac: check for fnmatch.h



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8594 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:20:24 +00:00
Michael Jerris 7619634f7e Mon May 19 11:53:23 EDT 2008 Pekka Pessi <first.last@nokia.com>
* tport_type_tcp.c: report EPIPE when transport gets closed after ping-pong timeout



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8590 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:03:58 +00:00
Anthony Minessale 8c12407619 add rport hack to sofia lib to ease NAT suffering
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8497 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-20 22:27:42 +00:00
Michael Jerris 5e7e1b999d Mon May 19 11:31:45 EDT 2008 Pekka.Pessi@nokia.com
* nua_stack.c: include Allow-Events in requests initiating dialog, too
    
  The Allow-Events header is now alwats included with NOTIFY requests, and
  initial INVITE, SUBSCRIBE, REFER, and OPTIONS requests.
  
  Thanks to Jerry Richards for pointing out the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8467 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:56:40 +00:00
Michael Jerris c3c9a27413 Fri May 16 05:06:09 EDT 2008 Pekka.Pessi@nokia.com
* nua_register.c: nr->nr_tport was used even if nr was NULL
  
  Problem detected by Klocwork.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8466 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:55:53 +00:00
Michael Jerris 4795234198 Fri May 16 10:44:06 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_s2.c: cope if test nua uses default port



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8465 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:55:15 +00:00
Michael Jerris 614ca565ae Fri May 16 10:30:29 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_nua_api.c: fixed crash in check_sofia



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8464 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:54:45 +00:00
Michael Jerris 5e0750dcd8 Fri May 16 10:29:20 EDT 2008 Pekka Pessi <first.last@nokia.com>
* test_simple.c: fixed test case for SUBSCRIBE



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8463 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-19 16:54:14 +00:00
Michael Jerris fdd92d7a31 Tue May 13 16:49:57 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_tag.c: updated NUTAG_RETRY_COUNT() documentation



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8403 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:21:13 +00:00
Michael Jerris f85e63d8eb Tue May 13 16:47:50 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_stack.h: removed unused typedef ull



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8402 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:20:48 +00:00
Michael Jerris c5e0072ce1 Tue May 13 16:45:09 EDT 2008 Pekka Pessi <first.last@nokia.com>
* sres.c: allow dns redirection with _sres_default_port



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8401 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:20:11 +00:00
Michael Jerris aaf064377c Update sofia tests:
Tue May  6 13:53:21 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * tests: added 2nd check-based test suite for nua

Wed May  7 08:26:48 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * suite2_for_nua.c: more test cases

Wed May  7 13:40:05 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * suite2_for_nua.c, s2tester.[hc]: made it easier to refactor test cases

Wed May  7 14:34:54 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * test_nua: moved to tests subdirectory

Wed May  7 14:37:06 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * check_nua: moved to libsofia-sip-ua/nua

Mon May 12 19:00:26 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * check_nua: updated

Tue May 13 16:45:21 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * test_s2.h, test_s2.c: added internal DNS server

Tue May 13 16:46:08 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * check_register.c: added test case register_1_3_3_1 using tcp pingpong



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8400 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:19:34 +00:00
Michael Jerris 55f505ada4 Tue May 13 15:41:24 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nta.c: fixed outgoing retry timer



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8399 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 18:16:19 +00:00
Michael Jerris 58312ce2d1 Mon May 12 18:51:36 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua: using NUTAG_PROXY() as handle-specific tag
  
  Added nua_dialog_update_params() and virtual method usage_update_params()
  for each dialog usage.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8384 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 19:10:47 +00:00
Michael Jerris 052e33d6d2 Mon May 12 15:20:02 EDT 2008 Pekka Pessi <first.last@nokia.com>
* msg_header.h: removed c99ism



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8383 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 19:08:22 +00:00
Michael Jerris e7447a227e Mon May 12 14:33:37 EDT 2008 Pekka.Pessi@nokia.com
* soa_static.c: cope better if m= lines gets removed from user sdp



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-12 18:41:55 +00:00
Anthony Minessale b699b29f8b SFSIP-61
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8367 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-12 17:37:54 +00:00
Michael Jerris 8eb03e0895 Wed May 7 15:54:41 EDT 2008 Pekka Pessi <first.last@nokia.com>
* outbound.c: fix sofia-sip.org bug #1930055
  
  If the initial REGISTER was not challenged, the natted contact did not get
  unregistered.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8338 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:47:20 +00:00
Michael Jerris 439ad8460e Wed May 7 10:59:52 EDT 2008 Pekka Pessi <first.last@nokia.com>
* su_log.c: allow multiple calls su_log_soft_set_level() to change logging level



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:46:43 +00:00
Michael Jerris f4ef1c7847 Wed May 7 10:59:16 EDT 2008 Pekka Pessi <first.last@nokia.com>
* tport_tls.c: avoid free(NULL)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8336 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:45:13 +00:00
Michael Jerris a4d8241a5d Wed May 7 10:08:17 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua: improved logging, fixed macro expansion on __LINE__ on most compilers



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8335 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:44:46 +00:00
Michael Jerris 68543ddc11 Wed May 7 10:05:57 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_stack.c: if nua_register() fails to provide To, use From.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:44:02 +00:00
Michael Jerris 3ee862d73f Wed May 7 10:04:14 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_session.c: do not terminate session without soa if SDP O/A seems to fail
  
  SDP O/A may be buried inside MIME multipart



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8333 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:43:16 +00:00
Michael Jerris f39b423778 Wed May 7 09:10:28 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nta.c: do not replace host:port in user-specified Via header 
  
  Note that port for UDP is replaced if request is stateful and there is no
  rport.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8332 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-09 17:42:46 +00:00
Michael Jerris ae53be1ca8 bump
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8288 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-07 12:28:48 +00:00
Michael Jerris e917d5f460 remove sub_hash in favor of using a lookup directly into the sip stack
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8283 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-06 23:49:35 +00:00
Michael Jerris 267aeb5f84 Wed Apr 23 14:30:07 EDT 2008 first.last@nokia.com
* nua_notifier.c: fixed crash with event fetch



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-23 18:38:25 +00:00
Michael Jerris ae4b779567 revert previous patch
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-23 18:36:25 +00:00
Michael Jerris 1b5a7779ec interim fix for SFSIP-55, don't segfault on subscribe with Expires: 0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8174 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-22 21:26:50 +00:00
Michael Jerris 415d1c58d4 Fri Apr 18 06:54:40 EDT 2008 Jerry Richards <jerryr at tonecommander dot com>
* sip_util.c: fixed sip_header_as_string()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8149 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-21 22:30:48 +00:00
Michael Jerris aca515cb8e Mon Apr 7 13:20:55 EDT 2008 Pekka.Pessi@nokia.com
* nua_session.c: fixed call state reporting from failed INVITE
  
  If INVITE was returned a failure response, and session was being terminated
  (like BYE was sent while INVITE transaction was on-going), Sofia reported
  session as already terminated.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8052 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-07 19:44:39 +00:00
Michael Jerris 5f917507db bump
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8048 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-07 17:06:56 +00:00
Michael Jerris 4c9b1270ca Fri Apr 4 11:15:04 EDT 2008 Pekka.Pessi@nokia.com
* tport_type_udp.c: use IP_MTU_DISCOVER socket option to turn off DF flag
  
  Added check for IP_MTU_DISCOVER in m4/sac-su2.m4



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8022 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-04 17:39:38 +00:00
Michael Jerris e9e9acd16c Thu Apr 3 11:09:19 EDT 2008 Pekka.Pessi@nokia.com
* soa_static.c: when generating offer with ordered mode, fill gaps in session
  
  If session has m= lines that user SDP does not, the ordered mode got
  confused when generating 2nd offer (e.g., for re-INVITE).



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-03 22:33:40 +00:00
Michael Jerris ad8ed1be64 Tue Apr 1 06:49:10 EDT 2008 Pekka.Pessi@nokia.com
* nua_stack.c: include Allow-Events in most messages initiating dialog
  
  The Allow-Events header is now included with NOTIFY, PUBLISH, REGISTER, and
  initial INVITE, SUBSCRIBE, REFER, and OPTIONS, and also responses to
  SUBSCRIBE, REFER, OPTIONS, and PUBLISH as well as responses to initial
  INVITE and NOTIFY.
  
  Thanks to Jerry Richards for pointing out the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-03 22:33:12 +00:00
Michael Jerris f64797998d Wed Mar 26 07:18:34 EDT 2008 Bernhard Suttner
* sip_tag_class.c: escape semicolons in headers section of Replaces URI



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8015 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-03 22:31:57 +00:00
Michael Jerris f39d931259 don't assert that people are using sip correctly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7954 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-24 20:02:01 +00:00
Michael Jerris fa50712266 Tue Mar 18 16:16:49 EDT 2008 Pekka.Pessi@nokia.com
* nta: fixed checks for rfc2543 retransmssions/CANCEL/ACK

  Thanks to Michael Jerris for reporting this problem.

fix for SFSIP-49



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7919 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-18 20:24:22 +00:00
Michael Jerris 7d8bd7ba89 tweak sdp handling
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7799 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-05 22:39:22 +00:00
Michael Jerris d6111c77a1 sync with darcs:
Fri Feb  1 09:41:42 EST 2008  Pekka.Pessi@nokia.com
  * tport_tls.c: restructured error logging code.

Fri Feb  1 10:10:25 EST 2008  Pekka.Pessi@nokia.com
  * tport_tls.c: cleared confused logging levels

Fri Feb  1 10:13:09 EST 2008  Pekka.Pessi@nokia.com
  * test_tport.c: fixed type-punning warning.

Tue Feb 12 14:26:26 EST 2008  Pekka.Pessi@nokia.com
  * tport.c: tport_name_dup() now validates the input

Wed Feb 13 09:23:24 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * nua_subnotref.c: do not terminate subscriptions immediately after receiving 200 OK to un-SUBSCRIBE



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7617 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-02-15 15:58:10 +00:00
Michael Jerris 00fade3d98 poke
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7431 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-29 21:16:13 +00:00
Michael Jerris b2af068acf whoops from merge conflict
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7430 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-29 21:15:25 +00:00
Anthony Minessale 8b2039117b update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-26 19:48:51 +00:00
Michael Jerris d3e6109b34 Wed Jan 23 10:07:30 EST 2008 Pekka Pessi <Pekka.Pessi@nokia.com>
* soa_static.c: fixed signedness error
Shall I unpull this patch? (8/128)  [ynWvpxqadjk], or ? for help: y

Tue Jan 22 11:35:44 EST 2008  Pekka.Pessi@nokia.com
  * test_soa.c: testing hold with inactive, offered mode and setting remote activity flags while in hold
Shall I unpull this patch? (15/128)  [ynWvpxqadjk], or ? for help: y

Mon Jan 21 14:08:08 EST 2008  Pekka.Pessi@nokia.com
  * soa_static.c: soa_sdp_mode_set() now includes wanted media state in offer

  The wanted media state is based on original user SDP and SOATAG_HOLD()
  content. Removed soa_sdp_mode_set_is_needed(), using dry-run parameter
  instead.

Shall I unpull this patch? (20/128)  [ynWvpxqadjk], or ? for help: y

Thu Jan 17 11:40:46 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * soa_static.c: cleaned inactive hold, added tests
Shall I unpull this patch? (31/128)  [ynWvpxqadjk], or ? for help: y

Fri Jan 11 09:15:18 EST 2008  Pekka.Pessi@nokia.com
  * soa_tag.c: documented SOATAG_HOLD() inactive mode
Shall I unpull this patch? (46/128)  [ynWvpxqadjk], or ? for help: y

Fri Jan 11 09:12:01 EST 2008  Bernhard Suttner <suttner at comdasys.com>
  * Using # in SOATAG_HOLD to set media as inactive instead of sendonly
Shall I unpull this patch? (47/128)  [ynWvpxqadjk], or ? for help: y

revert a few more patches from sofia-sip darcs





git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7361 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-25 19:57:46 +00:00
Michael Jerris c1d6ae81e7 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7355 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-25 17:44:37 +00:00
Michael Jerris da29143b60 merge to sofia sip darcs tree. Includes multiple fixes and several merges of changes from the freeswitch tree back to darcs as follows:
Mon Nov 19 22:05:07 EST 2007  Pekka Pessi <first.lastname@nokia.com>
  * test_htable2.c: define struct before using it in prototypes

Fri Jan 11 09:12:01 EST 2008  Bernhard Suttner <suttner at comdasys.com>
  * Using # in SOATAG_HOLD to set media as inactive instead of sendonly

Fri Jan 11 09:15:18 EST 2008  Pekka.Pessi@nokia.com
  * soa_tag.c: documented SOATAG_HOLD() inactive mode

Fri Jan 11 09:28:46 EST 2008  Pekka.Pessi@nokia.com
  * su_addrinfo.c: if su_getaddrinfo() service is NULL, try both with "0" and NULL

Fri Jan 11 09:30:23 EST 2008  Pekka.Pessi@nokia.com
  * Makefile.am: added tests to DIST_SUBDIRS

Fri Jan 11 12:11:12 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: NetModule hack re-prioritizing SRV records
  
  Original hack by Stefan Leuenberger <Stefan.Leuenberger@netmodule.com>.
  
  The hack reprioritizes the SRV records used with transaction in case a
  server refuses connection or it does not answer.

Fri Jan 11 12:12:23 EST 2008  Pekka.Pessi@nokia.com
  * sres.c, sres_cache.c: NetModule hack for re-prioritizing SRV records
    
  Original hack by Stefan Leuenberger <Stefan.Leuenberger@netmodule.com>.
  
  The hack reprioritizes the SRV records used with transaction in case a
  server refuses connection or it does not answer.
  
  New functions sres_cache_set_srv_priority() and
  sres_set_cached_srv_priority().
  
Fri Jan 11 12:15:19 EST 2008  Pekka.Pessi@nokia.com
  * Makefile.am: fixed dist target

Fri Jan 11 12:19:33 EST 2008  Pekka.Pessi@nokia.com
  * tport_internal.h: grammar in doc

Mon Jan 14 06:59:17 EST 2008  Pekka.Pessi@nokia.com
  * su.h: IPv6 fix for Vista SDK
    
  Patch by Michael Jerris

Wed Jan 16 13:20:47 EST 2008  Pekka.Pessi@nokia.com
  * nua: fix sf.net bug #1867753 (avoid duplicating initial route set)

Thu Jan 17 07:48:10 EST 2008  Pekka.Pessi@nokia.com
  * sres.c, sres_cache.c: documented sres_set_cached_srv_priority(), sres_cache_set_srv_priority()

Thu Jan 17 07:51:32 EST 2008  Pekka.Pessi@nokia.com
  * sofia-sip/su_wait.h, su_port.h, su_root.c: documented new functions and types for 1.12.8

Thu Jan 17 07:52:03 EST 2008  Pekka.Pessi@nokia.com
  * sofia-sip/htable2.h: marked new features for release 1.12.8

Thu Jan 17 07:52:33 EST 2008  Pekka.Pessi@nokia.com
  * su_alloc.c: marked new features for release 1.12.8.

Thu Jan 17 07:53:01 EST 2008  Pekka.Pessi@nokia.com
  * AUTHORS: updated

Thu Jan 17 07:53:21 EST 2008  Pekka.Pessi@nokia.com
  * RELEASE: added new features and bug fixes since 1.12.7

Thu Jan 17 07:55:18 EST 2008  Pekka.Pessi@nokia.com
  * libsofia-sip-ua/docs/Doxyfile.aliases: added @NEW_1_12_8 and @VERSION_1_12_8

Thu Jan 17 09:48:48 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * autogen.sh: use automake 1.9 unless otherwise specified

Thu Jan 17 11:40:46 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * soa_static.c: cleaned inactive hold, added tests

Thu Jan 17 11:41:54 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * Makefile.am: added hide_emails.sh to dist

Thu Jan 17 11:42:35 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * nua_stack.c: removed noisy debug message from nua_client_request_sendmsg()

Fri Jan 18 11:06:10 EST 2008  Pekka.Pessi@nokia.com
  * nua: Added NUA_ERROR_AT() macro
  
  Made internally generated 900 (and 904) response phrases unique as suggested
  by Jerry Richards.

Mon Jan 21 10:39:50 EST 2008  Stefan Knoblich
  * TLS debug cleanup

Mon Jan 21 12:05:38 EST 2008  Pekka.Pessi@nokia.com
  * tport: build fixes from Freeswitch

Mon Jan 21 12:14:25 EST 2008  Pekka.Pessi@nokia.com
  * su_global_log.c: disable warning on SU_DEBUG[] (Doxygen-only variable)
  
  Patch from Michael Jerris.

Mon Jan 21 12:15:19 EST 2008  Pekka.Pessi@nokia.com
  * sres.c: default log level to the same as SU_DEBUG define
  
  Patch by Michael Jerris

Mon Jan 21 12:16:39 EST 2008  Pekka.Pessi@nokia.com
  * stun.c: default log level to the same as SU_DEBUG define
  
  Patch by Michael Jerris

Mon Jan 21 12:45:04 EST 2008  Stefan Knoblich
  * TLS debug cleanup, 2/2.
  
  Silence openssl messages, part 2 of 2. Changed to TPORT_DEBUG=1 (thanks
  MikeJ). This one converts all ERR_print_errors() calls

Mon Jan 21 13:00:49 EST 2008  Pekka.Pessi@nokia.com
  * nua: removed asserts() on hairy dialog/request handling cases

Mon Jan 21 14:06:35 EST 2008  Pekka.Pessi@nokia.com
  * soa.c: using session state in soa_set_activity()
  
  The media mode bits are set using (local) session description instead of
  remote offer/answer when O/A has been completed.

Mon Jan 21 14:08:08 EST 2008  Pekka.Pessi@nokia.com
  * soa_static.c: soa_sdp_mode_set() now includes wanted media state in offer
  
  The wanted media state is based on original user SDP and SOATAG_HOLD()
  content. Removed soa_sdp_mode_set_is_needed(), using dry-run parameter
  instead.
  
Mon Jan 21 14:09:11 EST 2008  Pekka.Pessi@nokia.com
  * nua_subnotref.c: fixed REFER re-try case
  
  REFER trashed its dialog when it got retried if there was no other dialog
  usages.

Mon Jan 21 14:20:31 EST 2008  Pekka.Pessi@nokia.com
  * nua_stack.c: return specific error phrases from nua_client_init_request()
  
  As suggested by Jerry Richards.

Tue Jan 22 11:15:04 EST 2008  Pekka.Pessi@nokia.com
  * sip_util.c: updated sip_response_terminates_dialog() as per RFC 5057.
  
  Changes handling of 423 in case of SUBSCRIBE.

Tue Jan 22 11:34:01 EST 2008  Pekka.Pessi@nokia.com
  * conformance.docs: added RFC 5057 (sipping-dialogusage)

Tue Jan 22 11:34:16 EST 2008  Pekka.Pessi@nokia.com
  * test_auth_digest.c: testing empty realm

Tue Jan 22 11:35:44 EST 2008  Pekka.Pessi@nokia.com
  * test_soa.c: testing hold with inactive, offered mode and setting remote activity flags while in hold

Tue Jan 22 12:27:41 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: fixed memory corruption in case sending ACK failed
  
  Thanks for Fabio Margarido for reporting this problem.

Tue Jan 22 12:49:02 EST 2008  Pekka.Pessi@nokia.com
  * nua/test_refer.c: run test_challenge_refer() only if we use proxy
  
  Test case is now more deterministic, too.

Tue Jan 22 12:51:59 EST 2008  Pekka.Pessi@nokia.com
  * docs/Makefile.am, docs/conformance.docs: fixed links to RFC 5057.

Tue Jan 22 13:57:38 EST 2008  Pekka.Pessi@nokia.com
  * sres: added ttl parameter to sres_set_cached_srv_priority() and sres_cache_set_srv_priority().

Tue Jan 22 13:59:44 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: added NTATAG_GRAYLIST(). 
  
  Use NTATAG_GRAYLIST() as ttl value for sres_set_cached_srv_priority().

Tue Jan 22 14:04:29 EST 2008  Pekka.Pessi@nokia.com
  * RELEASE: updated.

Tue Jan 22 14:04:29 EST 2008  Pekka.Pessi@nokia.com
  * RELEASE: updated.

Wed Jan 23 06:56:11 EST 2008  Pekka.Pessi@nokia.com
  * sip_extra.c, sip_parser.c: updated documentation

Wed Jan 23 09:47:50 EST 2008  Pekka.Pessi@nokia.com
  * test_nta.c: fixed receiving with sink socket

Wed Jan 23 10:07:30 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * soa_static.c: fixed signedness error

Wed Jan 23 10:11:14 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * win32 project files: fixed slash direction

Wed Jan 23 10:13:00 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * torture_su.c: set blocking on

Wed Jan 23 10:13:36 EST 2008  Pekka Pessi <Pekka.Pessi@nokia.com>
  * test_tport.c: using blocking sockets in test_incomplete()

Wed Jan 23 11:01:11 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: now using RFC3261-compliant dialog-matching

Wed Jan 23 11:05:23 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: ignore tags in nta_leg_by_dialog() if they are empty strings

Wed Jan 23 11:05:58 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: asserting in proper place when handling queue tail

Wed Jan 23 12:11:09 EST 2008  Pekka.Pessi@nokia.com
  * torture_sip.c: added tests for accessing other extra headers beside P-Asserted-Identity/P-Preferred-Identity

Wed Jan 23 13:08:55 EST 2008  Pekka.Pessi@nokia.com
  * nua: terminate dialog when redirected and re-establish it with new request

Wed Jan 23 13:18:16 EST 2008  Pekka.Pessi@nokia.com
  * test_100rel.c: added test for redirect after 100rel response.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-23 18:37:33 +00:00
Michael Jerris c63b689ae7 push tls tweaks to force rebuild
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7295 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-19 01:48:21 +00:00
Michael Jerris d93a42df14 Merge current sofia-sip darcs tree:
Thu Dec 13 09:15:04 EST 2007  Pekka.Pessi@nokia.com
  * libsofia-sip-ua/docs/hide_emails.sh: moved to scripts/ subdir

Thu Dec 13 09:15:34 EST 2007  Pekka.Pessi@nokia.com
  * check_sofia.c: pass xml result file as optional parameter to check_sofia

Thu Dec 20 08:13:37 EST 2007  Pekka.Pessi@nokia.com
  * stun.c: try to avoid using stun handle after returning from discovery callback
  
  Crash reported and partial patch by Daniele Rondina.

Thu Jan  3 07:11:27 EST 2008  Pekka.Pessi@nokia.com
  * tport_type_udp.c: using SO_RCVBUFFORCE and SO_SNDBUFFORCE to set rmem/wmem on udp sockets
  
  Referring reader to Linux sysctls to TPTAG_UDP_RMEM and TPTAG_UDP_WMEM
  documentation.

Thu Jan  3 07:11:47 EST 2008  Pekka.Pessi@nokia.com
  * m4/sac-su2.m4: checks for SO_RCVBUFFORCE and SO_SNDBUFFORCE

Thu Jan  3 08:19:04 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: calculate next timeout only after completing current timeout
    
  Thanks to Mike Jerris for reporting this problem.

Thu Jan  3 11:02:11 EST 2008  Pekka.Pessi@nokia.com
  * sac-su2.m4: checking for IP_ADD_MEMBERSHIP and IP_MULTICAST_LOOP

Thu Jan  3 12:08:39 EST 2008  Pekka.Pessi@nokia.com
  * tport_type_udp.c: when binding to multicast address, join to the group, too.
  
  Use "canonic" IP address (from host-part of the SIP URI) to specify
  interface.

Mon Nov 19 15:01:09 EST 2007  Pekka Pessi <first.lastname@nokia.com>
  * tport_type_udp.c: made IP_ADD_MEMBERSHIP as portable

Fri Jan  4 13:19:01 EST 2008  Pekka.Pessi@nokia.com
  * test_nta.c: added check for request merging (with both 3261 and 2543 proxies)

Fri Jan  4 13:20:35 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: fixed request merging with RFC 2543 proxies
    
  Updated matching of PRACKs with outstanding 100rel, too.

Fri Jan  4 15:27:01 EST 2008  Pekka.Pessi@nokia.com
  * nta.c: follow more closely RFC 3261 request matching rules

Fri Jan  4 15:31:22 EST 2008  Pekka.Pessi@nokia.com
  * nua_session.c: do not clear soa when an overlapping INVITE is received
  
Fri Jan  4 15:32:58 EST 2008  Pekka.Pessi@nokia.com
  * nua/outbound.c: reduce logging

Fri Jan  4 16:51:00 EST 2008  Pekka.Pessi@nokia.com
  * nua_subnotref.c: accept NOTIFY without Event header

Fri Jan  4 16:53:20 EST 2008  Pekka.Pessi@nokia.com
  * nua_notifier.c: fix problem handing expiration time if NOTIFY is sent before SUBSCRIBE has been responded

Fri Jan  4 16:54:08 EST 2008  Pekka.Pessi@nokia.com
  * nua_notifier.c: allow notifier handle to be shut down if SUBSCRIBE has been accpeted but no NOTIFY has been sent



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7109 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-01-06 20:15:11 +00:00
Michael Jerris c13fd78987 sync to the 1.12.6work3 (1.12.7 pre-release) from darcs:
Mon Oct  8 15:00:04 EDT 2007  Pekka Pessi <first.lastname@nokia.com>
  * tport: fixed problem with tls send blocking

Wed Oct 10 13:55:25 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  * Fixed the internal type of statistics

Thu Oct 11 11:25:59 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  * nta: fix sf.net bug #1810115, crash after nta_destroy()

  su_msg_t delivery, again.

  Thanks to Mikhail Zabaluev for reporting this.

Thu Oct 11 11:45:20 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  * nta: fixed type checking on NTATAG_UDP_MTU()/NTATAG_UDP_MTU_REF()

Thu Oct 11 13:25:12 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  * nua: fixed the from header handling

  The agent-level From header no longer overrides the From header set by
  nua_invite() and friends.

  Thanks to Fabio Margarido for keeping reporting about the problem.

Thu Oct 11 13:28:58 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  * RELEASE: updated

Thu Oct 11 11:30:13 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  * torture_sresolv.c: fixed printf() formatting types

  Passed a size_t to %u.

Thu Oct 11 11:44:54 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  * rules/sofia.am: not using make -C dir

Thu Oct 11 14:16:51 EDT 2007  Pekka Pessi <Pekka.Pessi@nokia.com>
  tagged release candidate 1 for 1.12.7

Thu Oct 11 12:25:28 EDT 2007  Pekka.Pessi@nokia.com
  * su_clone_start(): fixed spurious release of a pthreaded port




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5842 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-10-11 19:58:13 +00:00
Anthony Minessale e0e6b23d55 lets use updated lib
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5716 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-09-19 16:32:32 +00:00
Anthony Minessale deb4972610 Small tweaks so it actually compiles
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@5001 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-22 19:11:22 +00:00
Michael Jerris 40bca110a8 consistent ifdef for DOXYGEN defined symbols
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4972 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-19 18:16:05 +00:00
Brian West d657014922 update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4966 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-04-17 16:04:14 +00:00
Michael Jerris 7b4e100b31 Temporarily reverting sofia-sip library back to prior to the changes merged on 2/7/2007 due to ongoing unresolved issues in the new code. Will re-commit these changes once we receive fixes from the sofia-sip tree for these outstanding issues. Make sure recommended.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-17 06:25:21 +00:00
Michael Jerris 85c8bcd5ed Merge changes from sofia-sip tree:
Mon Feb 12 21:22:39 EET 2007  Maxim Zaikin <Maxim at amsd.com>
  * su_pthread_port.c: destroying condition variable used when destroying the thread.

Tue Feb 13 01:10:38 EET 2007  kai.vehmanen@nokia.com
  * nua: Ignore CANCEL of incoming request if we have already sent a final response, part 2.

Tue Feb 13 01:02:00 EET 2007  kai.vehmanen@nokia.com
  * nua: Ignore CANCEL of incoming request if we have already sent a final response. Problem reported by Mike Jerris.

nua: fixed problems in state machines.
Pekka Pessi <first.lastname@nokia.com>**20070214201847
   
 These problems are mostly introduced in 1.12.5:
 - assert failed if INVITE was received when calling
   (reported by Michael Jerris)
 - assert failed if nua_invite() was called second time before receiving
   final response to first INVITE (ditto)
 - ACK is now always sent if session was terminated after receiving 2XX
 - if nua has a pending incoming INVITE request, return 491 to
   nua_invite()

nta.c: return 481 response to CANCEL if INVITE transaction was successful
According to the RFC 3261 state diagram the INVITE transaction is destroyed
 immediately when a final 2XX series response is sent. Now nta returns a 481
 response to CANCEL if it finds an INVITE server transaction that was
 responded with a 2XX success response.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-15 05:18:37 +00:00
Michael Jerris 0dabc669b9 Don't assert when we get 2 copies of the same invite, just ignore it and do nua_client_return(cr, 900, "INVITE already in progress", msg)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4231 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-13 16:01:19 +00:00
Michael Jerris 38cd3a8105 .update
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4202 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-12 16:02:55 +00:00
Michael Jerris dccf9b3d1b updated makefiles and a missing source file from the last sofia merge
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4179 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 18:15:36 +00:00
Michael Jerris 82def9a70d touch the .update so the lib is totally rebuilt
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4178 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-09 17:57:51 +00:00
Michael Jerris cad28828b2 merge changes from current sofia-sip tree.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4153 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-02-07 21:59:38 +00:00
Anthony Minessale 5ea224b3ca fix for cnonce crap (tell pekka)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3982 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-17 22:04:01 +00:00
Anthony Minessale 8f4a636fa1 trigger sofia rebuild
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@3908 d0543943-73ff-0310-b7d9-9358b9ac24b2
2007-01-04 18:02:05 +00:00