Commit Graph

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



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



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



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



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



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



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



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



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



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9272 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:05:16 +00:00
Michael Jerris
cf3a921708 Thu Jul 24 13:04:33 EDT 2008 Pekka Pessi <first.last@nokia.com>
* su_time0.c, m4/sac-su2.m4: check for CLOCK_MONOTONIC, too



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9270 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:04:38 +00:00
Michael Jerris
e5f406b9b6 Thu Jul 24 13:02:17 EDT 2008 Pekka Pessi <first.last@nokia.com>
* sofia-sip/su_tagarg.h: if va_copy is missing, fall back to __va_copy or memcpy



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



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9268 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:03:57 +00:00
Michael Jerris
4acc6a79af Wed Jul 23 12:22:57 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nta: changed type of NTATAG_SERVER_RPORT() back to signed int
  
  Documented magic value 2 for server rport.



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



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9266 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:03:17 +00:00
Michael Jerris
5373a9664a Sat Jul 12 10:09:36 EDT 2008 Pekka Pessi <first.last@nokia.com>
* soa_generate_answer(): fixed error in documentation



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9265 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:03:00 +00:00
Michael Jerris
25e78b6a9c Sat Jul 12 10:08:48 EDT 2008 Pekka Pessi <first.last@nokia.com>
* tport.c: checking for non-NULL pointer in predicate functions



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9264 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:01:58 +00:00
Michael Jerris
d96293255d Mon Jul 21 13:06:54 EDT 2008 Pekka.Pessi@nokia.com
* outbound.c: destroy response to OPTIONS keepalive only when it is no more used



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9261 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:00:18 +00:00
Michael Jerris
31180ed11b Tue May 27 13:03:35 EDT 2008 Pekka.Pessi@nokia.com
* check_session.c: added test case call_error_3_2_3



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



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9259 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 16:59:22 +00:00
Michael Jerris
9eda658a77 Thu Jun 5 10:23:18 EDT 2008 Pekka Pessi <first.last@nokia.com>
* Using su_inet_ntop and su_inet_pton



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8920 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 04:36:13 +00:00
Michael Jerris
74244d9a97 Thu Jun 5 11:32:08 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_session.c: sanitized asserts with dialog usage for SIP session


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-05 16:20:01 +00:00
Michael Jerris
650962b183 Tue Jun 3 13:43:59 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nta.c: accepting CANCEL with To tag copied from preliminary response



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-03 18:57:34 +00:00
Michael Jerris
51f62e0260 fix NUTAG_SERVER_RPORT
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 15:33:03 +00:00
Michael Jerris
ed2422b173 sync to sofia darcs trunk
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8679 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 01:36:56 +00:00
Michael Jerris
5a560fce49 Mon May 26 14:57:28 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nth: gracefully downgrade to tcp only if no tls certificates are available


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8676 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 00:18:31 +00:00
Michael Jerris
5d09bf4a5b Mon May 26 08:31:50 EDT 2008 Pekka Pessi <first.last@nokia.com>
* su_wait.c: fix build on win32


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8674 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 00:17:34 +00:00
Michael Jerris
2f88e7a03c whoops
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8651 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 23:53:23 +00:00
Michael Jerris
ebe2cf67af add NTATAG_SERVER_RPORT(2) that will act like there is always a rport in the via.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 21:22:35 +00:00
Michael Jerris
ce9ccd4ae7 fix build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8642 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 21:18:42 +00:00
Michael Jerris
d886447645 Thu May 22 10:57:40 EDT 2008 Pekka.Pessi@nokia.com
* nua_register.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8640 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:23:36 +00:00
Michael Jerris
17b5b79f14 Thu May 22 10:45:32 EDT 2008 Pekka.Pessi@nokia.com
* nua_session.c: handling answer better by nua_prack_server_init()
  
  Fixed klocwork issue, too.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8639 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:23:11 +00:00
Michael Jerris
47d689784d Thu May 22 10:38:43 EDT 2008 Pekka.Pessi@nokia.com
* auth_client.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8638 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:22:45 +00:00
Michael Jerris
2caded0dec Thu May 22 10:38:36 EDT 2008 Pekka.Pessi@nokia.com
* auth_module.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8637 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:22:16 +00:00
Michael Jerris
f816f01efe Thu May 22 10:38:06 EDT 2008 Pekka.Pessi@nokia.com
* msg_parser.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8636 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:21:26 +00:00
Michael Jerris
9915a97a17 Thu May 22 10:37:27 EDT 2008 Pekka.Pessi@nokia.com
* msg_parser_util.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8635 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:21:02 +00:00
Michael Jerris
f95ffe4150 Thu May 22 10:36:30 EDT 2008 Pekka.Pessi@nokia.com
* nea_server.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8634 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:20:34 +00:00
Michael Jerris
abce217f77 Thu May 22 09:39:19 EDT 2008 Pekka.Pessi@nokia.com
* nta.c: fixed klocwork issues



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8633 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:19:57 +00:00
Michael Jerris
d9d3d80fc5 Thu May 22 07:34:11 EDT 2008 Pekka.Pessi@nokia.com
* http_tag_class.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8632 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:19:14 +00:00
Michael Jerris
4ba0be7696 Thu May 22 06:48:11 EDT 2008 Pekka.Pessi@nokia.com
* outbound.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8631 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:18:36 +00:00
Michael Jerris
c7ebd6a8a8 Thu May 22 06:47:07 EDT 2008 Pekka.Pessi@nokia.com
* nua_stack.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8630 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:17:55 +00:00
Michael Jerris
ba30b89311 Thu May 22 06:46:18 EDT 2008 Pekka.Pessi@nokia.com
* nta.c: fixed klocwork issue in nta_outgoing_prack()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8629 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:17:18 +00:00
Michael Jerris
3064ba78d8 Tue May 20 13:46:57 EDT 2008 Pekka.Pessi@nokia.com
* tport_logging.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8628 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:15:04 +00:00
Michael Jerris
0377d863a5 Tue May 20 13:46:46 EDT 2008 Pekka.Pessi@nokia.com
* tport.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8627 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:14:40 +00:00
Michael Jerris
a5927df998 Tue May 20 13:33:05 EDT 2008 Pekka.Pessi@nokia.com
* su_md5.c: fixed typo in comment



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8626 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:13:28 +00:00
Michael Jerris
02c84a6739 Tue May 20 13:32:51 EDT 2008 Pekka.Pessi@nokia.com
* su_wait.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8625 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:13:10 +00:00
Michael Jerris
913a502a74 Tue May 20 13:32:37 EDT 2008 Pekka.Pessi@nokia.com
* su_vector.c: fixed klocwork issues


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8624 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 15:12:06 +00:00