Commit Graph

294 Commits

Author SHA1 Message Date
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
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
a45583dd73 Wed May 21 10:41:10 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_session.c: added new BYE glare test cases



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8602 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:24:35 +00:00
Michael Jerris
8d11dde301 Wed May 21 10:40:42 EDT 2008 Pekka Pessi <first.last@nokia.com>
* check_nua.c: fixed output when CHECK_NUA_CASES has been set



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8601 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:23:35 +00:00
Michael Jerris
66a57f4927 Mon May 19 13:42:41 EDT 2008 Pekka Pessi <first.last@nokia.com>
* RELEASE: updated



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8600 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:23:12 +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
13513017a6 Mon May 19 13:31:07 EDT 2008 Pekka Pessi <first.last@nokia.com>
* conformance.docs: silenced doxygen warning



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8598 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:21:51 +00:00
Michael Jerris
0c9550858d Mon May 19 13:30:14 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nua_tag.c: updated documentation of NUTAG_PROXY(), NUTAG_SUB_EXPIRES().



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8597 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:21:33 +00:00
Michael Jerris
7ad8e6dd23 Mon May 19 13:29:14 EDT 2008 Pekka Pessi <first.last@nokia.com>
* nta_tag.c: updated NTATAG_BLACKLIST() documentation



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8596 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:21:13 +00:00
Michael Jerris
7b54f7eb01 Mon May 19 11:55:49 EDT 2008 Pekka Pessi <first.last@nokia.com>
* Doxyfile.aliases: added @VERSION_1_12_9 and @NEW_1_12_9



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8595 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:20:47 +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
a30552c3de Mon May 19 11:54:55 EDT 2008 Pekka Pessi <first.last@nokia.com>
* open_c/group/test_nua.mmp: updated source path



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8593 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:19:57 +00:00
Michael Jerris
9da6a49cd2 Mon May 19 11:54:35 EDT 2008 Pekka Pessi <first.last@nokia.com>
* win32/libsofia-sip-ua: updated libsofia_sip_ua.dsp and libsofia_sip_ua.vcproj



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8592 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:19:26 +00:00
Michael Jerris
39834f421a Mon May 19 11:54:03 EDT 2008 Pekka Pessi <first.last@nokia.com>
* win32/tests/test_nua: updated test_nua.dsp and test_nua.vcproj



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8591 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:04:36 +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
Michael Jerris
10aa8c19ae Un-revert the following:
Tue Feb 26 11:09:37 EST 2008  Pekka.Pessi@nokia.com
* nua: initial fix for sf.net bug #1827511

BYE can now be challenged.

Add the fixes to segfault issue caused by this patch:

Wed May 21 10:40:06 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * nua_client_request: keep own reference to nua handle

Mon May 12 18:58:38 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * nua_session.c: sanitized BYE handling

  Terminate or cancel other session-related transactions when session gets
  terminated.

Fri May 16 10:28:26 EDT 2008  Pekka Pessi <first.last@nokia.com>
  * nua_session.c: fix crash if session was terminated while INVITE was in progress



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8589 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 03:00:54 +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
305b796078 more conflicts from r8400
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8408 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 19:25:34 +00:00
Michael Jerris
dd9f6af78d complete r8400 commit
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8406 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-14 19:10:54 +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
81157864bd need this file too
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8385 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-13 19:24:53 +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
cc0f50a9b1 fix build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8353 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-10 21:10:19 +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
f9af6b4d2d Tue May 6 17:00:19 EDT 2008 first.last@nokia.com
* nta.c: use consistently uint32_t when handling millisecond timers inside nta
  
  The timer handling failed miserably on 64-bit platforms each time uint32_t
  counter for milliseconds wrapped around.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8287 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-07 12:28:33 +00:00
Michael Jerris
d9f1667944 Thu Apr 24 11:49:57 EDT 2008 first.last@nokia.com
* nua_session.c: fix in session activation by Jussi Mutanen



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-07 12:27:30 +00:00
Michael Jerris
c497958ce9 Thu Apr 24 11:31:48 EDT 2008 first.last@nokia.com
* nua: fixed problems with event fetch
  
  With event fetch the subscription was terminated before the NOTIFY was
  sent/received or final response to SUBSCRIBE was sent.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8285 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-07 12:26:42 +00:00
Michael Jerris
fb34d3835c Tue May 6 17:00:59 EDT 2008 first.last@nokia.com
* nta.c: reindented patch by Mike J



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-07 12:25:42 +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
7f5e6987e6 add nua_handle_by_call_id
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-06 23:30:00 +00:00
Michael Jerris
b48ee12c1c add nua_handle_by_call_id
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-06 22:28:20 +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
6b46b8e0b6 Fri Apr 18 06:55:45 EDT 2008 Pekka.Pessi@nokia.com
* torture_sip.c: added test for sip_header_as_string() producing string longer than 128

Fri Apr 18 06:55:45 EDT 2008  Pekka.Pessi@nokia.com
  UNDO: torture_sip.c: added test for sip_header_as_string() producing string longer than 128

Wed Apr 23 13:56:40 EDT 2008  Pekka.Pessi@nokia.com
  * torture_sip.c: added test for sip_header_as_string() producing string longer than 128



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-23 18:37:18 +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
e55ac3efaf be more C compliant.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8056 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-08 13:18:22 +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
a4d7c3d5c5 Mon Apr 7 13:01:00 EDT 2008 Pekka.Pessi@nokia.com
* nua_session.c: if timer is Require'd default to local refresher if Session-Expires has no refresher parameter



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8046 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-07 17:05:41 +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
41fcf45a8f Fri Apr 4 11:14:04 EDT 2008 Pekka.Pessi@nokia.com
* su_addrinfo.c: avoid crash in su_freeaddrinfo() if ai is NULL



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8021 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-04 17:39:18 +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
7dad32f5ae Wed Mar 26 07:20:16 EDT 2008 Pekka.Pessi@nokia.com
* torture_sip.c: updated tests (quoting semicolon in query/header part)



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8016 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-04-03 22:32:46 +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
6ffbad9541 revert part of the reverting from the reverted revert. (see r7833, the fun continues)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7839 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-08 00:12:57 +00:00
Michael Jerris
87223a5c1e revert for now the following patch which introduces a segfault:
Tue Feb 26 11:09:37 EST 2008  Pekka.Pessi@nokia.com
* nua: initial fix for sf.net bug #1827511

BYE can now be challenged.




git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7833 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 19:20:27 +00:00
Michael Jerris
875c0851d0 Fri Mar 7 12:31:52 EST 2008 Pekka.Pessi@nokia.com
* sres_blocking.c: validating calloc() return value



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7828 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:52:20 +00:00
Michael Jerris
2abc13f368 Fri Mar 7 12:24:05 EST 2008 Pekka.Pessi@nokia.com
* su_alloc.c: using safe free



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7827 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:50:32 +00:00
Michael Jerris
aeb1829220 Fri Mar 7 11:49:17 EST 2008 Pekka.Pessi@nokia.com
* tests/Makefile: using testsdir, installing check_sofia there



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7826 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-03-07 17:47:44 +00:00