Commit Graph

547 Commits

Author SHA1 Message Date
Michael Jerris
e7bfa12bc4 Wed Feb 25 13:11:19 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_sres_sip.c: added test cases for bad DNS server, timeout
  Ignore-this: f14a52817f3612c0b8b776761a12ef3e



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12286 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:40:22 +00:00
Michael Jerris
733062be3a Wed Feb 25 13:10:24 CST 2009 Pekka Pessi <first.last@nokia.com>
* sres_sip.c: be more robust if the DNS fails badly
  Ignore-this: 1922836529de164a842ab88e848066a0



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12285 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:39:24 +00:00
Michael Jerris
d5b2e2d2ab Wed Feb 25 13:09:35 CST 2009 Pekka Pessi <first.last@nokia.com>
* sres.c: improved error handling
  Ignore-this: a64e098f8575511bb6e5ef3129635d98
  
  Returning records with SRES_NETWORK_ERR or SRES_TIMEOUT_ERR.
  Also setting errno if there is no available DNS servers.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12284 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:38:05 +00:00
Michael Jerris
c49d12e184 Wed Feb 25 12:40:44 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2dns: added s2_dns_set_filter()
  Ignore-this: dc9bf478b6a90d5b351b56c3d77a7ec9



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12283 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:36:39 +00:00
Michael Jerris
e591b6ce3a Tue Feb 24 09:03:08 CST 2009 Pekka Pessi <first.last@nokia.com>
* sofia-sip/heap.h: use static scope for functions given to sort()
  Ignore-this: 72e91b9470ccc23300ce06eb836d56f4



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12282 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:35:59 +00:00
Michael Jerris
cf9f7888f1 Wed Feb 25 11:29:23 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_uniqueid.c: fixed seed array usage
  Ignore-this: b6e6a195f3f34abc2119a741f8b6f5e2

  Paper bags, anyone?



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12281 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:34:54 +00:00
Michael Jerris
5974867444 Fri Feb 13 05:53:00 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2_localinfo.h: added



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12280 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-25 19:31:10 +00:00
Brian West
be15ed423f Tue Feb 24 07:33:35 CST 2009 Pekka Pessi <first.last@nokia.com>
* sip_parser.c: fixed sip_transport_d()
  Ignore-this: c14408145a269c25d00dcb20ab2391f6
  
  sip_transport_d() was expected to canonize casing of well-known transports.
  
  Thanks for Adrian Gschwend for reporting the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12261 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 14:46:03 +00:00
Brian West
46c3eec39a Fri Feb 13 09:41:52 CST 2009 Pekka Pessi <first.last@nokia.com>
* su.h: define su_family via struct sockaddr



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12260 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-24 14:43:31 +00:00
Michael Jerris
bbdf4744aa inital work on x64 windows build (FSBUILD-125)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12215 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-21 00:56:56 +00:00
Michael Jerris
6baed5ce73 fix build error caused by sofia-sip stunc (FSBUILD-123)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12104 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-17 17:55:21 +00:00
Anthony Minessale
a3ae344f3d FSCORE-301
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12100 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-17 17:04:45 +00:00
Michael Jerris
2980d25a14 fix sofia initstate correctly
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12073 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 23:47:32 +00:00
Michael Jerris
17f9ced469 fix sofia silent build on solaris
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12067 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 19:57:47 +00:00
Brian West
3a5c651b5d try to fix SOFIA_SILENT build on solaris
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12055 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-16 17:39:58 +00:00
Michael Jerris
b4f6039607 don't override CFLAGS
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12024 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-15 03:29:09 +00:00
Mathieu Rene
60671872ef Fix sofia build on non-ipv6 hosts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12018 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-14 23:18:53 +00:00
Michael Jerris
0919f6c9cb only declare var if we need it (SFSIP-122)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12017 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-14 22:56:27 +00:00
Michael Jerris
4cc9d65240 turn off sego-initstate
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12007 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-14 00:09:49 +00:00
Michael Jerris
314da792ca safety first
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12005 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 23:45:25 +00:00
Michael Jerris
f61f23d093 slim down sofia build
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11996 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 21:04:29 +00:00
Michael Jerris
cf078237ea uninitialized variable fix
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11995 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-13 20:31:21 +00:00
Michael Jerris
ed23436a8e add missing files
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11967 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:58:06 +00:00
Michael Jerris
1f8d6f0e68 Thu Feb 12 15:35:06 CST 2009 Pekka Pessi <first.last@nokia.com>
* sofia-sip/su_addrinfo.h: #include <netdb.h> only if bsdsock



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11965 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:37:20 +00:00
Michael Jerris
96e65ddec3 Thu Feb 12 12:02:48 CST 2009 Jarod Neuner <janeuner@networkharbor.com>
* tport_tls: add/fix some tls init logging



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11964 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:30:05 +00:00
Michael Jerris
5cb1f54133 Thu Feb 12 15:14:27 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_addrinfo.h: #include <netdb.h>



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11963 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:29:30 +00:00
Michael Jerris
b8f52353f3 Thu Feb 12 15:14:07 CST 2009 Pekka Pessi <first.last@nokia.com>
* soa: make better effort in keeping addresses (c= and o= lines) in user SDP
  Ignore-this: a6da9ed249dba3309e3dbbbdb4262082
  
  The address selection logic now prefers (unicast) addresses in already
  present in SDP, if they get returned by su_getlocalinfo(). 
  
  The process currently tries to avoid link-local addresses.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11962 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:28:58 +00:00
Michael Jerris
2f0b4f5f84 Thu Feb 12 15:08:05 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua.c: allow setting test case names from command line. usage.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:27:58 +00:00
Michael Jerris
247dda9d4f Thu Feb 12 15:07:13 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_simple.c: adedd notifier test cases


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11960 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:27:30 +00:00
Michael Jerris
a043230c51 Thu Feb 12 15:01:10 CST 2009 Michael Jerris <mike@jerris.com>
* su_port.h: silenced warning in su_port_deferrable()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11959 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:25:18 +00:00
Michael Jerris
459bad1563 Thu Feb 12 14:56:11 CST 2009 Pekka Pessi <first.last@nokia.com>
* tport_type_tls.c: fixed error logging in tport_tls_connect()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11958 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:23:05 +00:00
Michael Jerris
0eceb861b0 Thu Feb 12 14:45:02 CST 2009 Pekka Pessi <first.last@nokia.com>
* su_uniqueid: call initstate() with memory from heap
  Ignore-this: af9e58551676e173844d0b77af0e287a
  
  When libsofia-sip-ua.so gets unloaded, its data segment gets unloaded, but
  random() still wants to use the memory.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11956 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:21:30 +00:00
Michael Jerris
a24c4dc1f7 Thu Feb 12 14:28:27 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2dns.c: fixed cname records



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11954 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:19:13 +00:00
Michael Jerris
9bbacf9669 Thu Feb 12 14:27:12 CST 2009 Pekka Pessi <first.last@nokia.com>
* s2tcase.c: allow multiple calls to s2_select_tests()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11953 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:18:20 +00:00
Michael Jerris
f10955584c Thu Feb 12 14:24:41 CST 2009 Pekka Pessi <first.last@nokia.com>
* sres: sres_record_type() now checks pointer argument


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11952 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:17:44 +00:00
Michael Jerris
85315adc1b Thu Feb 12 14:21:21 CST 2009 Pekka Pessi <first.last@nokia.com>
* sresolv: added asynchrous sip resolver


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11951 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:16:37 +00:00
Michael Jerris
93e3ef0f64 Thu Feb 12 14:20:26 CST 2009 Pekka Pessi <first.last@nokia.com>
* sres.c: improve logging upon errors



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11950 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:15:20 +00:00
Michael Jerris
816f984722 Tue Feb 10 19:39:02 CST 2009 Pekka Pessi <first.last@nokia.com>
* sres_cache: added sres_cache_copy_answers()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11949 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:14:45 +00:00
Michael Jerris
87b2408635 Thu Feb 12 14:11:37 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua_client.c: fix request message reference counting problem
  Ignore-this: ac81944c1c2c095fdc66a51ca857e87c
  
  Internal error response already decreases reference count.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11948 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:13:20 +00:00
Michael Jerris
0f8297a965 Wed Feb 11 15:10:34 CST 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: fixed nta_agent_add_tport() documentation



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11947 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:12:25 +00:00
Michael Jerris
745d319722 Wed Feb 11 13:42:09 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua_client.h: removed orphan SOFIA_BEGIN_DECLS



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11946 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:11:43 +00:00
Michael Jerris
cbb7805d53 Thu Feb 12 07:17:08 CST 2009 Pekka Pessi <first.last@nokia.com>
* tport.c: return correct errno from tport_connect()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11945 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:11:15 +00:00
Michael Jerris
b5ef501d09 Thu Feb 12 07:17:31 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
* tport.c: return correct errno from tport_listen()



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11944 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:10:11 +00:00
Michael Jerris
8ff2eefcea Wed Feb 11 15:01:48 CST 2009 Pekka Pessi <first.last@nokia.com>
* msg/Makefile.am: allow short header forms in MIME attachments, too



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11943 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:09:30 +00:00
Michael Jerris
613a5ebf86 Wed Feb 11 15:01:08 CST 2009 Della Betta Filippo <filippo DOT dellabetta AT telecomitalia DOT it>
* tport.c: fixed tport_queuelen() when queue is full



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11942 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:08:29 +00:00
Michael Jerris
c27cb514a9 Wed Feb 11 14:51:48 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua_i_network_changed: use NUTAG_DETECT_NETWORK_UPDATES() preference



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11941 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:07:50 +00:00
Michael Jerris
dded4ad263 Wed Feb 11 14:52:29 CST 2009 Pekka Pessi <first.last@nokia.com>
* nua_stack_launch_network_change_detector: fixed root usage
  Ignore-this: 3db82870d6996c32605109d8295b4a00
  
  su_root_add_network_changed() should use stack root, not api root.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11940 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:07:15 +00:00
Michael Jerris
a2852700c5 Tue Feb 10 08:37:23 CST 2009 Pekka Pessi <first.last@nokia.com>
* configure.ac: define HAVE_CHECK in "config.h"



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11938 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:04:46 +00:00
Michael Jerris
f4ab414190 Tue Feb 10 08:11:37 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: use s2dns



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11937 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:04:13 +00:00
Michael Jerris
ea9eaeaf44 Tue Feb 10 08:10:41 CST 2009 Pekka Pessi <first.last@nokia.com>
* check_nua: run all the test cases with and without stack thread
  Ignore-this: e1966c560fb8e32d5a2d292e5e8dbdc0
  
  Better detect race conditions.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11936 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-12 21:03:16 +00:00