Commit Graph

1178 Commits

Author SHA1 Message Date
Anthony Minessale bbe1fe1a31 FS-6005 --resolve 2013-11-27 10:20:35 -06:00
Moises Silva 713ddc4834 Fix tport_stamp in the sofia stack to use localtime for the timestamp 2013-10-29 12:17:55 -04:00
Anthony Minessale c8be999c34 FS-5911 --resolve 2013-10-25 23:51:43 +05:00
Jeff Lenk 88b2e96516 windows fix compiler errors 2013-10-22 23:23:48 -05:00
Anthony Minessale 20a55d3cc6 update 2013-10-22 16:27:15 -05:00
Anthony Minessale e2bdd78d55 FS-5896 --resolve 2013-10-22 20:33:13 +05:00
Anthony Minessale 3c2a5db225 add missing protos 2013-10-21 20:11:30 +05:00
Michael Jerris bfcd1e07ca compile failure due to no newline at end of file 2013-10-21 10:54:23 -04:00
Anthony Minessale 0d19abfbdb FS-5887 --resolve 2013-10-19 00:00:28 +05:00
Anthony Minessale 8aff25e03d FS-5855 please try lastest HEAD 2013-10-08 12:10:36 -05:00
Michael Jerris 1aa8464114 FS-5819: don't assigne variable to itself 2013-09-30 13:28:47 -04:00
Chris Rienzo 6b9382290d FS-5819 fix typo 2013-09-27 22:23:23 -04:00
Michael Jerris 42d7d86514 FS-5819: fix bounds check on enum type 2013-09-27 21:28:12 -04:00
Michael Jerris 25001e857f FS-5819: fix useless assignment in sofia 2013-09-27 12:39:49 -04:00
Anthony Minessale 8493c88f88 fix proto regression from last commit 2013-09-19 19:34:58 -04:00
Anthony Minessale 750847f290 ignore a= lines when m= port is 0 2013-09-19 13:44:20 -05:00
Jeff Lenk b407732dcd fix for todays ws.* changes 2013-09-17 23:23:11 -05:00
Anthony Minessale f1d0357e92 minor fixes in ws.c 2013-09-18 05:13:46 +05:00
Anthony Minessale 50ea67b340 fix connection issue in websocket 2013-09-17 06:24:58 +05:00
Brian West 378648f2b1 similar fix to 53d17a1312 2013-09-12 16:56:07 -05:00
Anthony Minessale 98df017ae6 FS-5780 --resolve 2013-09-12 00:10:28 +05:00
Anthony Minessale d7608fad7a FS-5714 --resolve 2013-09-05 20:55:55 +05:00
Anthony Minessale 9c2a247f72 rebuild 2013-09-05 20:41:45 +05:00
Anthony Minessale c001840d9d FS-5714 --resolve That is probably the right place 2013-09-05 20:41:31 +05:00
Anthony Minessale 53d17a1312 override the default 30 minute timeout on tport connections for websockets 2013-09-04 04:24:53 +05:00
Anthony Minessale b5ac54ecca FS-5738 --resolve 2013-08-28 23:18:41 +05:00
Anthony Minessale dbfde499a4 add val to debug message 2013-08-23 04:13:19 +05:00
Anthony Minessale da148c0dd4 remove call to close 2013-08-22 18:49:35 -04:00
Anthony Minessale 143b1c44eb rebuild 2013-07-29 16:07:34 -05:00
Anthony Minessale d00c8a6abf FS-5641 --resolve 2013-07-29 16:07:03 -05:00
Anthony Minessale bc851de200 FS-5642 FS-5556 --resolve I have not tested this yet for the connect but I fixed the seg for sure which was an outstanding issue in 5556 reopen 5642 if connect still doesnt work 2013-07-26 11:27:45 -05:00
Anthony Minessale 5dbf2b3cf7 refactor some video code 2013-07-11 17:38:24 -05:00
Jeff Lenk 5fc2bc9993 FS-5588 --resolve windows compiler fixes 2013-07-09 07:53:56 -05:00
Anthony Minessale 94f3b90040 use static buffer and nonblocking socket in websocket client 2013-07-08 08:25:45 -05:00
Jeff Lenk a52a604fbb FS-5527 fix compiler error windows 2013-06-28 11:05:27 -05:00
Anthony Minessale dac93d7936 FS-5527 --resolve 2013-06-28 10:42:06 -05:00
Anthony Minessale b2e06346d4 some more ws transport tweaks 2013-06-27 14:04:13 -05:00
Anthony Minessale a26ab6e3e0 fix ssl connect race 2013-06-26 23:10:19 -04:00
Anthony Minessale afc18668f3 tweak sip ws code to avoid double free 2013-06-26 12:43:54 -04:00
Anthony Minessale 20f3b7d1b7 update 2013-06-25 09:28:55 -05:00
Anthony Minessale da0c0c0e4a revert 02c329da33 and put proper fix 2013-06-24 08:31:06 -05:00
Jeff Lenk 02c329da33 fix compiler warning 2013-06-20 14:27:32 -05:00
Anthony Minessale 469bcc562d fix gcc bug patch 2013-06-20 10:50:33 -05:00
Anthony Minessale c01fa0e1cf newer gcc does not like when you use out of bounds array indexes to access other elements in a struct (at least at -O2) 2013-06-20 10:16:35 -05:00
Anthony Minessale 66239f15b0 comment out broken test 2013-06-20 10:16:35 -05:00
Anthony Minessale a71b199de4 fix ref counting issue in tcp,tls,wss transports 2013-06-19 21:54:58 -05:00
Anthony Minessale 633dcd46b6 yay for bugs 2013-06-19 12:26:45 -05:00
Anthony Minessale 9a87ec6a52 disable dialog matching for subscribe reqs so it always uses a new handle to avoid conflicting with notify transactions
Conflicts:
	libs/sofia-sip/.update
2013-06-12 23:48:39 -05:00
Brian West a55d70ed62 add kirk wireless servers to safe as they do not do rport 2013-05-31 11:54:05 -05:00
Anthony Minessale 442a53ae3c rebuild 2013-04-26 08:41:49 -05:00
Anthony Minessale 471b3d33fd add tcp keepalive where possible 2013-04-25 13:33:17 -05:00
Anthony Minessale fddad1da06 FS-5343 --resolve 2013-04-24 12:09:35 -05:00
Jeff Lenk 43eaa95746 windows compile another step closer 2013-04-03 08:55:03 -05:00
Jeff Lenk ff9571e1e9 sofia windows compiler warnings 2013-04-02 17:25:10 -05:00
Ken Rice 23410558ff hust compiler warning 2013-04-01 17:24:52 -05:00
Anthony Minessale cc3e75fc62 omit weak ciphers to prevent hackage 2013-03-31 21:27:27 -05:00
Anthony Minessale 68055eab2b support tls dir options properly 2013-03-31 21:27:26 -05:00
Anthony Minessale c4b221c750 trying to get mozilla to work using sipml5, got stun/dtls/rtp flowing and its dead silent. c'mon guys... why do you have to do everything differently????? 2013-03-31 21:27:25 -05:00
Anthony Minessale a36bd797c6 fix shutdown seg 2013-03-31 21:27:24 -05:00
Anthony Minessale 52e7a63bbf fix for firefox secure websockets which for some reason writes only 1 byte first on secure ws frame 2013-03-31 21:27:24 -05:00
Anthony Minessale e00ede7e7d unreg on sock disconnect 2013-03-31 21:27:22 -05:00
Anthony Minessale 0ce92e4cee wire in tport error callback to nua_stack_tport_error 2013-03-31 21:27:22 -05:00
Anthony Minessale 24868979f7 more portable type 2013-03-31 21:27:22 -05:00
Anthony Minessale fa8ccff7c3 polish 2013-03-31 21:27:21 -05:00
Anthony Minessale 2ccc771825 fix cpu race on ws poll 2013-03-31 21:27:21 -05:00
Anthony Minessale 99559a3cd3 add NUTAG_WS_URL and NUTAG_WSS_URL tags 2013-03-31 21:27:21 -05:00
Anthony Minessale e31c74b638 use cert dir from tls config to find wss certs 2013-03-31 21:27:21 -05:00
Anthony Minessale 668f4a6207 working mo better 2013-03-31 21:27:20 -05:00
Anthony Minessale 62e62e1e34 add websocket transport to sofia 2013-03-31 21:27:20 -05:00
Anthony Minessale a70aa8f9be add parsers for web socket headers 2013-03-31 21:27:20 -05:00
Anthony Minessale a4853b8f13 add support for WS and WSS proto in VIA 2013-03-31 21:27:18 -05:00
Anthony Minessale 03e5b366f7 revert whitespace change 2013-03-31 21:27:17 -05:00
Anthony Minessale 20568e64df wip 2013-03-31 21:27:17 -05:00
Anthony Minessale 9b11dbe4b9 FS-4452 --resolve 2013-03-06 12:58:30 -06:00
Ken Rice c35a41e4ca FS-3772 --resolve please no vanity comments 2013-03-01 15:48:48 -06:00
Anthony Minessale 45d849ab74 FS-5095 --resolve all boils down to uninitialized vars grrr 2013-02-19 13:11:50 -06:00
Anthony Minessale 1c9a10162f FS-5068 --resolve this was an edge case assert in a DNS error. You may want to check that you have valid DNS servers but this should stop the crash 2013-01-31 13:53:50 -06:00
Anthony Minessale f0bf3b917d FS-5047 --resolve This seems to be a problem in libsofia, this should fix it. 2013-01-30 17:20:19 -06:00
Michael Jerris 63deed9fc9 fix double-destroy seg 2013-01-14 12:02:28 -05:00
Michael Jerris 41b2ce51d2 add support for RTP/SAVPF to sofia stack 2013-01-14 08:31:10 -05:00
Anthony Minessale 8e78ca69e5 add some missing macros to typically disabled stun code 2012-12-07 08:42:54 -06:00
Anthony Minessale 18f20e24bf fix bad return vals on sending messages when under stress 2012-11-13 17:56:31 -06:00
Anthony Minessale e8f3e42f8b FS-4779 try this patch 2012-11-08 09:52:20 -06:00
Anthony Minessale 6627dc8696 fix some contention issues under really high load...That doesn't mean you need to push it this hard and bug me about it =p 2012-11-07 14:53:16 -06:00
Anthony Minessale e884de5b07 add NUTAG_RETRY_AFTER_ENABLE() tag to lib sofia and use it in mod_sofia to disable processing retry-after headers on a per-call basis 2012-11-02 13:54:54 -05:00
Seven Du 3ef548eeb5 fix compile, please review 2012-10-27 08:24:01 +08:00
Anthony Minessale 63e2044a7e modify sofia debug code to print file, line numbers and function name 2012-10-26 14:15:14 -05:00
Anthony Minessale 6d75c36f69 Merge branch 'master' of ssh://git.freeswitch.org/freeswitch 2012-10-23 13:15:14 -04:00
Anthony Minessale 5f469ad2bd FS-4753 --resolve this should properly detect it everywhere 2012-10-23 13:14:51 -04:00
Anthony Minessale 87c2bb552f FS-4751 I am leaving out the one for devel-bootstrap.sh because I am not sure it should be /usr/pkg/bin/bash 2012-10-23 12:23:19 -04:00
Seven Du 0263ce9247 FS-4695 fix apple build, seems there's no pthread_setschedprio on Mac, not sure if windows has the same problem in apr/threadproc/unix/thread.c 2012-10-08 09:03:34 +08:00
Jeff Lenk 5620d6d063 windows fixes for priority - needs to be revisited when apr and pthread versions support calls. 2012-10-01 20:34:15 -05:00
Anthony Minessale ece61bb7d3 bump date to trigger build 2012-10-01 12:25:10 -05:00
Anthony Minessale 0f477d1586 increase pri in sofia 2012-10-01 12:25:10 -05:00
Anthony Minessale d22e0caf15 trigger update on sofia lib for new patch 2012-09-19 13:06:33 -05:00
Anthony Minessale 016550f218 FS-4627 --resolve 2012-09-18 18:42:09 -05:00
Anthony Minessale bb69310259 FS-4079 FS-4540 please update to this version 2012-08-15 22:51:41 -05:00
Anthony Minessale 5867d0424d FS-4079 please try this 2012-07-18 21:48:53 -05:00
Anthony Minessale 75b36c9545 tweaks 2012-07-11 16:48:56 -05:00
Anthony Minessale 2aebe2456f first pass on some new stuff 2012-07-11 15:15:50 -05:00
Travis Cross 3f24ef16b1
Avoid -Wunused-value warning
Don't use the SET_STATUS1 macro as it will always produce this
warning.  It's a rather 'interesting' macro that's probably best
avoided anyway.
2012-06-25 06:41:00 +00:00
Travis Cross cbde2faab2 Fix confusion between size_t and ssize_t
readfile returns a value of type ssize_t (signed) and returns -1 if an
error occurs.  In auth_readdb_internal, however, we were assigning the
return value of readfile to a variable of type size_t (unsigned), but
then testing this unsigned value to see if it was < 0, a
contradiction.  We would thus simultaneously fail to report the error
in readfile and would end up with a corrupted length value.
2012-06-25 06:38:30 +00:00
Travis Cross e6629ab5f6 Add missing return statement
sres_cached_answers_sockaddr is supposed to return ENOENT if no cached
records are found.  Because of the missing return statement, however,
it would never do this and would instead return something very likely
to be garbage.
2012-06-25 06:38:30 +00:00
Travis Cross 5077384c5b Remove a contradiction
base64_d returns a value of size_t, which is unsigned.  The value
therefore cannot be less than zero.  The second check testing whether
it is >= INT_MAX is not a contradiction, but it doesn't make any sense
to check for this (as far as I can tell).
2012-06-25 06:38:30 +00:00
Travis Cross 76a26648d4 Remove a tautological conditional
SU_LOG->log_level is declared as unsigned, hence it will always
be >= 0.
2012-06-25 06:38:29 +00:00
Travis Cross 9e52f33d91 Implement MEMLOCK and UNLOCK as functions
Converting these macros to functions declared static inline allow the
C type-checker to work and avoid warnings about unused expression
values.  These warnings break the build with clang.
2012-06-25 06:38:29 +00:00
Travis Cross c01a142665 Implement su_errno and su_seterrno as functions
This avoid warnings about expressions with unused values.  These
warnings break the build with clang.

An optimizing compiler should still inline these calls.  If that turns
out not to happen on some platform, we could rename the functions used
internally and declare them static inline.
2012-06-25 06:38:29 +00:00
Travis Cross 43f2c89a08 Fix memset calls in sofia-sip
These calls were zeroing only a pointer's worth of memory rather than
the actual size of the objects.
2012-06-25 06:38:29 +00:00
Travis Cross c85c8d7bbd
Add mechanism to set OpenSSL session timeout
In a sofia profile, you can now set the parameter tls-timeout to a
positive integer value which represents the maximum time in seconds
that OpenSSL will keep a TLS session (and its ephemeral keys) alive.

This value is passed to OpenSSL's SSL_CTX_set_timeout(3).

OpenSSL's default value is 300 seconds, but the relevant standard
(RFC 2246) suggests that much longer session lifetimes are
acceptable (it recommends values less than 24 hours).

Longer values can be useful for extending battery life on mobile
devices.

Signed-off-by: Travis Cross <tc@traviscross.com>
2012-06-11 21:46:05 +00:00
Ken Rice 0eca328f48 white space cleanup 2012-05-03 18:55:06 -05:00
Anthony Minessale 8664dc6d5a some perfomance tweaks 2012-05-03 16:31:21 -05:00
Anthony Minessale b553d62fbd add sip_require_timer=true variable to enable require timer on session refresh that breaks finicky endpoints 2012-04-26 10:35:02 -05:00
Michael Jerris 7d3816dbea silence set but not used 2012-04-25 15:19:47 -04:00
Michael Jerris ba4280e61f try to add a tag to disable timer autorequire NUTAG_TIMER_AUTOREQUIRE(0) 2012-04-25 15:15:32 -04:00
Anthony Minessale 62c14df322 FS-3774 --resolve 2012-04-10 16:19:23 -05:00
Anthony Minessale 92fb339434 FS-4071 --resolve 2012-04-04 16:18:53 -05:00
Anthony Minessale 872a0fe658 FS-3957 --resolve 2012-03-01 10:04:07 -06:00
Anthony Minessale 0626c89d4a always update the .update file when changing the sofia lib 2012-02-29 14:45:39 -06:00
Jeff Lenk 5e66db63f1 FS-3896 --resolve that sizeof was incorrect 2012-02-17 08:50:03 -06:00
Brian West f2ccbb1918 chmod 755 2012-01-19 19:44:08 -06:00
Anthony Minessale ef097a19b9 FS-3794 please repat all tests with this version 2012-01-16 17:26:35 -06:00
Anthony Minessale 7938fd81cc FS-3813 --resolve this should be ok 2012-01-16 12:47:37 -06:00
Marc Olivier Chouinard 6fe7644f44 Oups, forgot this 2011-12-18 11:07:11 -05:00
Marc Olivier Chouinard f97a3266df FS-3071 I've commited the upstream passphrase backport 2011-12-18 11:04:59 -05:00
Anthony Minessale 61ac89c894 force sofia rebuild to trigger code in presence patch 2011-12-16 10:29:58 -06:00
Anthony Minessale e9bde2eb0e FS-3758 --resolve ok so I wrote my own patch but i did borrow the 2 lines of code to create a seq from the original patch! sofia changes probably need to be converted to a tag if they are to go upstream. This completely manages sub/pub from inside mod_sofia inside the db and subs can now persist and/or fail over mid dialog tested on several things like polycom/snom/yealink on SLA and presence 2011-12-15 16:30:33 -06:00
Anthony Minessale 9fe1f6fdcb FS-3748 --resolve 2011-12-06 18:12:48 -06:00
Anthony Minessale 58c3c3a049 comment out optional Require header from re-invites for the sake of interop with testy t.38 terminals 2011-11-22 18:22:57 -06:00
Anthony Minessale a19352aa23 FS-3688 revert 2011-11-18 17:01:03 -06:00
Anthony Minessale 2fae5dfadd FS-3688 please do clean build and test make current or the equiv 2011-11-17 11:44:10 -06:00
Anthony Minessale 032155c51e FS-3658 remember to date > libs/sofia-sip/.update when you patch sofia lib 2011-11-02 08:59:23 -05:00
Anthony Minessale b30ee92003 force a sofia rebuild 2011-08-22 12:33:33 -05:00
Anthony Minessale cd8ccebbf4 save via_string when sent to nh so we can use it in session timer re-invites to fix double nat issue 2011-08-22 10:58:33 -05:00
Anthony Minessale a95b5c3823 FS-3474 sofia portion 2011-08-19 16:34:17 -05:00
Mathieu Rene 8446b0f262 mod_sofia: don't compile with their built-in stun server as it is buggy 2011-08-15 17:31:15 +02:00
Anthony Minessale bc177a4b28 FS-3475 --resolve 2011-08-02 13:51:57 -05:00
Anthony Minessale ed23847574 fix mac build 2011-08-01 10:01:50 -05:00
Jeff Lenk 02bb35148d trivial compiler warning 2011-08-01 10:39:11 -05:00
Jeff Lenk 2b6a4f97c3 trivial portability issues c89 2011-08-01 09:48:08 -05:00
Anthony Minessale 3e029f0dfb add capture hooks to libsofia 2011-07-31 18:36:05 -05:00
Mathieu Rene 7403db7005 Fix segfault in sofia's stun code 2011-07-27 12:26:43 -04:00
Jeff Lenk 130e1c8774 fix windows compile 2011-07-16 19:13:27 -05:00
Anthony Minessale b0e076a74f FS-3386 add some more debug defines to sofia and avoid double destroy in nh 2011-07-16 01:03:01 -05:00
Anthony Minessale c9cab41620 tweak debug code 2011-07-14 00:12:53 -05:00
Anthony Minessale f761241325 use individual pools instead of sub-pools for nua handles to avoid pool swell 2011-07-11 21:27:36 -05:00
Anthony Minessale 56a82812d6 update 2011-07-06 15:11:47 -05:00
Anthony Minessale d68605f5ae FS-3394 --resolve edge case in the 3rd party sofia sip stack library when dealing with a malformed contact and missing ack. Will push upstream to sofia devs 2011-07-06 15:11:26 -05:00
Jeff Lenk 7adaceb87a Fix for issue reported on the mailing list with a Chinese locale and windows. This commit removes a hidden char that should not have been there anyway. 2011-05-04 16:54:45 -05:00
Anthony Minessale 36262e117f ping .update to force sofia rebuild 2011-04-27 11:50:32 -05:00
Marc Olivier Chouinard bc19d28310 Fix regression to dns resolve in sofia. It will make sofia and compiler happy 2011-04-25 15:53:54 -04:00
Marc Olivier Chouinard 626a99f994 sofia-lib: More Fix for -Wunused-but-set-variable required compiler. (Might need to be ported back to sofia) 2011-04-23 20:33:19 -04:00
Jeff Lenk 5bcf487df9 fix for last commit 2011-04-22 21:30:42 -05:00
Marc Olivier Chouinard 92cd095006 sofia-lib: Fix for -Wunused-but-set-variable required compiler. (Might need to be ported back to sofia) 2011-04-22 22:11:34 -04:00
Anthony Minessale 257bc9ff41 lower stack and boost priority of sofia schedule thread 2011-03-22 15:02:10 -05:00
Anthony Minessale 564046412d FS-3133 --comment-only this looks like a bad assert, can you update and try again, part 2 2011-03-08 12:40:58 -06:00
Anthony Minessale 0be456565b FS-3133 --comment-only this looks like a bad assert, can you update and try again 2011-03-08 12:39:07 -06:00
Anthony Minessale 91a5e77650 FS-2803 2011-02-18 18:53:40 -06:00
Anthony Minessale e4bff56765 fix seg in sofia merged from upstream 2011-02-18 18:50:50 -06:00
Michael Jerris 20c2740c64 set minimum initital sip t1 timer to 1000ms to work around race condition on retry timer firing before all the things that are supposed to be handled by the timer are set. The base resolution on this timer is 500ms, so doubling up makes sure we always hit the initial retry timer on the next run, where everything should be set. The side effect was, 1/2 the time on a request that did not get immediate response, the timer would be fired and cleared, but the action (sending retry) was never done, and a new timer was not set, causing the request to just sit zombied and never retry. A better solution would be to find and correct the race condition so the timer is never set to early and we never hit this condition. 2010-11-03 13:58:12 -04:00
Michael Jerris fc4d290cb7 add support for NDLB-force-rport=safe param that does force-rport behavior only on endpoints we know are safe to do so on. This is a dirty hack to try to work with certain endpoints behind sonicwall which does not use the same port when it does nat, when the devices do not support rport, while not breaking devices that acutally use different ports that force-rport will break 2010-11-03 11:53:39 -04:00
Anthony Minessale df52cc0952 fix registration overlap timeout snafu 2010-11-02 17:58:24 -05:00
Michael Jerris 9b14bd5dbd fix file modes in sofia 2010-10-03 05:53:07 -04:00
Michael Jerris ad0298f7f9 FS-234: add missing AM_PROG_CC_C_O to sofia configure 2010-10-03 04:59:25 -04:00
Jeff Lenk bcd31ecaf3 correction to last patch 2010-09-29 16:00:09 -05:00
Jeff Lenk 45ecbc2f61 fix warnings on windows x64 builds src and mods projects - only libsofia included on the libs side 2010-09-29 15:47:58 -05:00
Jeff Lenk 46dd24c2e9 SFSIP-220 VS2010 sofia posix problem 2010-08-21 22:39:01 -05:00
Jeff Lenk 6626211ab6 MODSOFIA-92 step 3 - now hooked to build 2010-08-17 11:33:40 -06:00
Jeff Lenk ba1546e055 FSBUILD-297 remove strange characters 2010-08-10 22:07:44 -05:00
Anthony Minessale c15ee980a7 SFSIP-219 2010-08-03 13:43:29 -05:00
Michael Jerris 4add409cbd fix signed/unsigned build error on windows 2010-06-06 21:03:10 -04:00
Anthony Minessale c1acebdb42 patch incomplete multipart parsing code 2010-06-01 17:13:32 -05:00
Michael Jerris a7f4892887 sofia-sip: extend timeout for session expires on short timeouts to be 90% of timeout instead of 1/3 to handle devices that do not refresh in time such as polycom (SFSIP-212) 2010-05-31 09:50:44 -04:00
Michael Jerris f356c5e6f3 sofia-sip: fix null derefernce segfault in soa 2010-05-31 08:55:42 -04:00
Stefan Knoblich 8f2b8388fc [2/3][sofia-sip] gcc-4.5: Fix enum type mismatch. 2010-04-17 11:17:28 +00:00
Michael Jerris 957d92c430 fix openbsd sofia build 2010-04-02 01:15:18 -04:00
Anthony Minessale b163206358 fix typo in sofia that causes endless loop when you have a challenge with 2 auth headers in it
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17114 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-26 17:38:00 +00:00
Michael Jerris 9f5bf3b592 fix openbsd sofia build -- don't ask -- (FSBUILD-256)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@17072 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-03-23 01:20:48 +00:00
Brian West 4d3dac5b52 FSBUILD-249
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16744 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-23 22:56:54 +00:00
Mathieu Rene 0a2ee53b72 FSCORE-551
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16635 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-02-13 21:06:56 +00:00
Anthony Minessale aaa822ba79 SFSIP-197
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16534 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-28 20:35:17 +00:00
Anthony Minessale 38bb497133 make sofia not auto-respond to SUBSCRIBE refresh requests
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16275 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 15:48:34 +00:00
Anthony Minessale 2d73aba12b make sofia not auto-respond to SUBSCRIBE refresh requests
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16273 d0543943-73ff-0310-b7d9-9358b9ac24b2
2010-01-13 15:47:14 +00:00
Michael Jerris e8a4f39366 attempt fix for race condition
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16064 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-28 19:19:05 +00:00
Michael Jerris dd62d83517 try that
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15953 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-14 20:44:04 +00:00
Michael Jerris 7d6f7597d8 don't assert then if
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15951 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-14 20:10:01 +00:00
Michael Jerris 49d2fecc48 a slightly more annoying yet more sane way to fix snow cat
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15868 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-10 04:19:49 +00:00
Michael Jerris 8dd6f9c6e0 try to fix different const qualifiers in openssl 1.0
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15782 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-04 01:41:58 +00:00
Michael Jerris 511132ac1e fix sofia build when -std=c99
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-12-01 22:42:18 +00:00
Michael Jerris e3ea76dd47 fix calling of sub configure.gnu files during --srcdir build (FSBUILD-211)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15661 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-24 23:04:21 +00:00
Mathieu Rene 57169ef9fb fix sofia build with new openssl
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15426 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-11 05:33:59 +00:00
Anthony Minessale 2c94b2a924 fix assert in sofia lib
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15354 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-11-04 19:49:02 +00:00
Anthony Minessale 516db24b75 SFSIP-180 report hack in sofia lib to pekka for better answer
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-21 23:01:37 +00:00
Anthony Minessale 4d9f7de25b FSCORE-471 and any other update related bugs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-10-21 18:48:28 +00:00
Michael Jerris 6a9ebc5eb5 don't assert when the impossible happens (or did we get an sdp with no m= lines?
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14940 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-09-21 19:38:35 +00:00
Brian West c5474bcf11 this is generated waiting on mike to confirm
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14506 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-13 14:39:10 +00:00
Brian West ea95047694 DOH.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14505 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-08-13 14:32:05 +00:00
Michael Jerris a01ac9a899 Wed Jul 8 11:14:36 CDT 2009 Pekka Pessi <first.last@nokia.com>
* su_source.c: silenced warning in su_source_check()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14195 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:55:28 +00:00
Michael Jerris 897bc5abea Wed Jul 8 11:13:42 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: removed unused variable in nta_tport_keepalive()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14194 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:54:36 +00:00
Michael Jerris 780bce83a4 Mon Jun 29 07:52:27 CDT 2009 kai.k.samposalo@nokia.com
* Symbian winscw build fix


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14193 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:54:04 +00:00
Michael Jerris 72210971cd Mon Jun 29 04:13:42 CDT 2009 kai.k.samposalo@nokia.com
* Symbian armv5 build fix


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14192 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:52:38 +00:00
Michael Jerris f0eb6c1c97 Fri Jun 26 07:32:30 CDT 2009 kai.k.samposalo@nokia.com
* Symbian build fix: disable test_nua.mmp


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14191 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:52:04 +00:00
Michael Jerris 340bdda571 Fri Jun 26 01:50:56 CDT 2009 kai.k.samposalo@nokia.com
* Symbian build fix


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14190 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:51:27 +00:00
Michael Jerris ebbbc6da8c Thu Jun 25 06:53:16 CDT 2009 kai.k.samposalo@nokia.com
* Symbian: autoconf-all.cmd added and mmp update


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14189 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:50:12 +00:00
Michael Jerris 823e2eb338 Wed Jul 8 10:39:37 CDT 2009 Pekka Pessi <first.last@nokia.com>
* auth_client.c: auc_credentials() now accepts realm with quotes or semicolons
  Ignore-this: 945190725010fa3e5ebc833d38f7c578
  
  Initial patch by Jerry Richards.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14188 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:49:35 +00:00
Michael Jerris bb0cb5eba9 Tue Jul 7 19:19:07 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tests/test_basic_call.c: do not use INFO to terminate session usage


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14187 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:48:37 +00:00
Michael Jerris aefcb7d0a0 Tue Jul 7 19:00:00 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: made INFO a general-purpose method


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14186 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:48:06 +00:00
Michael Jerris 919d20d9d7 Tue Jul 7 18:41:48 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: only explicitly copying fields into tagged transaction when forking
  Ignore-this: 6a60a9da78188823a70d5dfe05e5d060
  
  Removed extra fields from outgoing transaction.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14185 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:46:07 +00:00
Michael Jerris d0612e0cac Tue Jul 7 17:09:01 CDT 2009 Pekka Pessi <first.last@nokia.com>
* test_basic_call.c: fixed timing problem in test_basic_call_7() (NUA-3.7.1)


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14184 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:45:13 +00:00
Michael Jerris 9460e5dc90 Tue Jul 7 15:33:55 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_nta_client.c: check that nta tries to use TCP even if NAPTR points to UDP


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14183 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:44:40 +00:00
Michael Jerris 6b9f57d494 Tue Jul 7 13:47:10 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_nta_client.c: fixed test tags


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14182 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:43:59 +00:00
Michael Jerris aae0726b64 Tue Jul 7 13:46:51 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta: added test for sf.net bug #1292657


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14181 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:43:25 +00:00
Michael Jerris 1eb6218be2 Mon May 25 10:32:56 CDT 2009 Pekka Pessi <first.last@nokia.com>
* test_nta.c: use s2_fast_forward()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14180 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:42:37 +00:00
Michael Jerris 34fd0d3205 Mon May 25 10:31:02 CDT 2009 Pekka Pessi <first.last@nokia.com>
* test_nta_api.c: whitespace fixes



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14179 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:41:42 +00:00
Michael Jerris 42445d70bb Mon Jul 6 15:36:25 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_notifier.c: more logging


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14178 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:40:54 +00:00
Michael Jerris e8ee4c18ff Tue Jul 7 15:29:27 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: if NAPTRs has protocols with same preference, select one preferred locally



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14177 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-10 00:39:58 +00:00
Michael Jerris c263e61639 Tue Jul 7 13:49:23 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta: fixing old resolver bugs
  Ignore-this: 6e9bb9dadc0b08e6436655b6d4ea322
  
  - Resolving NAPTR records for SIPS (sf.net #1292657)
  - Selecting single transport when resolving



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14173 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-09 16:17:07 +00:00
Michael Jerris b24218957b Tue Jul 7 13:08:02 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta: treat user-via and previously-added via differently



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14172 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-09 16:15:06 +00:00
Michael Jerris 2cb29fd42b Tue Jul 7 16:39:23 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_register.c: not setting receive_natted


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14171 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-09 16:06:08 +00:00
Brian West a8e700ae5f Tue Jul 7 16:37:28 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_register: added test case register_1_3_3_2 for PING/PONG
  Ignore-this: 8290679900c21df47071f26f2de60625
  
  Disabled test case 1_3_3_1 for now.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14170 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-09 16:04:59 +00:00
Michael Jerris 29997399f3 Mon Jul 6 14:29:40 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_simple: more checks from terminating subscription


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14169 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-09 16:04:14 +00:00
Michael Jerris 275bef5b98 Tue Jul 7 15:41:36 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_session.c: testcase for INVITE forked with 100rel terminating properly



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14168 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-09 16:01:56 +00:00
Michael Jerris 5dabbe8635 Tue Jul 7 12:50:57 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: handling of forked transactions getting CANCELed and timing out
  Ignore-this: 30a92f1c8721f9d3fa22b9611ac9e7b1
  
  Fixes freeswitch.org bug FSCORE-338.
  
  Thanks for Gabriel Kuri for reporting the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14167 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-07-09 16:00:36 +00:00
Michael Jerris fd8106afcf Thu Jun 25 12:34:42 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_server.c: replying 200 OK to BYE left unreplied upon nua_handle_destroy



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13986 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-26 19:56:10 +00:00
Michael Jerris fac4ab6d5d Wed Jun 3 12:25:35 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport_type_tls.c: added field names to tport_vtable_t initialization



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13985 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-26 19:54:39 +00:00
Michael Jerris 8c45434ae7 Thu Jun 25 12:35:25 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_session.c: test for 200 response to BYE left unreplied by application



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13961 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-25 18:47:15 +00:00
Michael Jerris ebccde01bd Thu Jun 25 12:25:56 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_session.c: check correct non-support for 100rel

Thu Jun 25 12:26:46 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * nua_session.c: if 100rel is not supported by nua, do not Require it in response
  
Thu Jun 25 12:33:45 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * check_session.c: cleaned test for SFSIP-125

  Fixes SFSIP-125



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13960 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-25 18:46:14 +00:00
Michael Jerris 1fbee17a16 Thu Jun 25 12:13:32 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_nta_client.c: silenced check for bug #2531152



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13957 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-25 18:44:31 +00:00
Michael Jerris dd22cf6876 Wed Jun 3 12:25:19 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport_type_udp.c: added field names to tport_vtable_t initialization

Wed Jun  3 12:25:52 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * tport_type_tcp.c: added field names to tport_vtable_t initialization

Wed Jun  3 12:29:13 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * tport_threadpool.c: added field names to tport_vtable_t initialization

Wed Jun  3 12:29:41 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * tport_type_connect.c: added field names to tport_vtable_t initialization

Wed Jun  3 12:30:01 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * tport_type_stun.c: added field names to tport_vtable_t initialization

Wed Jun  3 12:30:17 CDT 2009  Pekka Pessi <first.last@nokia.com>
  * tport_type_sctp.c: added field names to tport_vtable_t initialization



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13956 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-25 18:43:54 +00:00
Michael Jerris 41dc9097b1 Tue Jun 23 10:07:20 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_nta_client: test case for sf.net bug #2531152



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13923 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:49:44 +00:00
Michael Jerris 9036ed0809 Tue Jun 23 09:58:14 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sres.c: use original query with callback when doing CNAME recurse



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13922 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:49:03 +00:00
Michael Jerris 7b8332d2d4 Tue Jun 23 08:41:35 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* sresolv/sres.c: a comment to clarify code



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13921 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:48:28 +00:00
Michael Jerris 1467688ed2 Tue Jun 23 08:38:48 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* sresolv/sres.c: Refactored the query ID generation



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13920 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:47:59 +00:00
Michael Jerris 848e8f726c Tue Jun 23 08:18:24 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* sresolv/sres.c: implemented automatic CNAME resolution
  Ignore-this: 1483f6b65deb976e372921ef7ff1b0a0
  
  Fixes sf.net bug #2531152
  
  Behavioral change: intermediate CNAME results are not retrieved to the client.
  The only cases where CNAME results are retrieved are queries for
  sres_type_cname and sres_qtype_any, meaning no CNAME resolution is performed.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13919 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:47:23 +00:00
Michael Jerris 9f80035304 Tue Jun 23 06:56:48 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* Fixed an s2 state breakage when running tests unforked



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13918 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:46:28 +00:00
Michael Jerris 10d1f60ca1 Mon Jun 22 10:10:16 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* sresolv/sres.c: Untangle error record injection in case of a non-matching response
  Ignore-this: 5df64ab26151ac8e9da396aca83120cd
  
  errorcount == 0 in this branch anyway, no need to be obscure about it.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13917 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:45:42 +00:00
Michael Jerris 40ce9aeac4 Tue Jun 23 10:01:36 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_sres_sip: fixed records used in check_cname



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13916 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:44:54 +00:00
Michael Jerris e92f8e4657 Tue Jun 23 09:59:55 CDT 2009 Pekka Pessi <first.last@nokia.com>
* s2dns.c: return CNAME as answer
  Ignore-this: 1beaf31e2a72f2841a097a8d2dea317
  
  Previously, CNAME was returned as an extra record, not as an answer.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13915 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-23 19:44:22 +00:00
Andrew Thompson 219a2ecc4b Use sofia's openssl configure checks in the toplevel configure script (OKed by MikeJ)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13814 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-17 16:11:53 +00:00
Michael Jerris acd67cb318 libsofia: handle mid-line comments in resolv.conf patch from Lee Verberne (SFSIP-152)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13749 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-10 15:24:34 +00:00
Brian West ab721a5d4b pass 302 and 305 to callback
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13732 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-09 18:22:48 +00:00
Michael Jerris 0f13336971 use addres, id, and version from user sdp if they exist
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13621 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-04 21:11:29 +00:00
Michael Jerris 59080b8d49 Thu May 14 13:05:11 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta_outgoing_tcreate(): log offending tag



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13542 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-01 22:51:27 +00:00
Michael Jerris 0c164384e6 Thu May 14 09:05:13 CDT 2009 Aleksander Morgado <aleksander@es.gnu.org>
* extra_100 parameter at transaction level



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13541 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-01 22:50:59 +00:00
Michael Jerris d073879155 Tue May 19 12:03:18 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport_tls.c: removed global tls_ex_data_idx, using static one



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13540 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-01 22:50:03 +00:00
Michael Jerris d90b97bc24 Thu May 14 13:01:25 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: sanity checks for fork()ed cases
  Ignore-this: f384a65929393f36012f433292a73a91



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13539 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-06-01 22:49:18 +00:00
Michael Jerris 99f6627380 sofia-sip: subscription-state subexp-params missing (SFSIP-148)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13439 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-26 22:27:10 +00:00
Michael Jerris 85317633dc build: fix gcc-4.4.0 build failures (FSCORE-355)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13395 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 20:25:59 +00:00
Michael Jerris ed9ddb3c56 Tue May 19 12:00:30 CDT 2009 Pekka Pessi <first.last@nokia.com>
* su_uniqueid.c: Solaris misdefines PTHREAD_ONCE_INIT 
  Ignore-this: 9fe2247164d572901ed4a30b009353db
  
  Solaris defines pthread_once_t as a struct containing an array. The
  initializer PTHREAD_ONCE_INIT needs two levels of brackets it but only has
  one. Original patch from Mike Jerris <mike@jerris.com>.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13388 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 17:25:08 +00:00
Michael Jerris c60535e7a8 Tue May 19 12:00:30 CDT 2009 Pekka Pessi <first.last@nokia.com>
* su_uniqueid.c: Solaris misdefines PTHREAD_ONCE_INIT 
  Ignore-this: 9fe2247164d572901ed4a30b009353db
  
  Solaris defines pthread_once_t as a struct containing an array. The
  initializer PTHREAD_ONCE_INIT needs two levels of brackets it but only has
  one. Original patch from Mike Jerris <mike@jerris.com>.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13387 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 17:23:16 +00:00
Michael Jerris 09b2fd335a Fri May 15 11:31:44 CDT 2009 Michael Jerris <mike@jerris.com>
* sdp_print.c: build errors fix



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13383 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-19 14:46:38 +00:00
Michael Jerris 420e92a6f3 silence solaris warning from missing braces (SFSIP-132)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13369 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 21:21:06 +00:00
Michael Jerris 1d4861c982 fix typos
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13355 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:27:26 +00:00
Michael Jerris 0dbb31daab Thu May 14 13:05:43 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta: clarify outgoing_ack() logic
  Ignore-this: a745b3e7df63835d9768ec9dc3d5c5b2
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13354 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:19:19 +00:00
Michael Jerris 61c23ee5d1 Wed May 13 13:39:29 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_stack_ack(), nua_invite_client_ack(): cleaned code
  Ignore-this: 9edf1594e20f27f4e2effb43c83858ea
    
  Fixed clean-up after ACK.
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13353 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:18:10 +00:00
Michael Jerris d15df2001d Wed May 13 13:33:21 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sres.c: use unsigned lenghts with m_get_string() and m_get_domain()
  Ignore-this: 7b09dd7d26a10dabb645156563c0cd6c
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13352 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:17:09 +00:00
Michael Jerris 9aac7fc9c0 Wed May 13 13:21:12 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sip-date.c: not using uninit data.
  Ignore-this: 48751cc510886e42e23e48c535a869bc
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13351 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:16:35 +00:00
Michael Jerris 5f5732c0aa Wed May 13 13:20:54 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sip-dig.c: fixed crash on bad param
  Ignore-this: 9e73dd7095a51d15e5bc6f00e8aab98c
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13350 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:15:58 +00:00
Michael Jerris 28af3accb9 Wed May 13 13:18:14 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg_mclass_insert_header(): not using uninit data
  Ignore-this: 40a6993391b5f2993af8ee01c407c0c7
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13349 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:15:28 +00:00
Michael Jerris 6774ad7083 Wed May 13 13:08:11 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sres_resolver_new_with_cache_va(): added missing va_end()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13348 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:14:33 +00:00
Michael Jerris 966e462e8c Wed May 13 13:07:25 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nea_server.c: check params in nea_event_tcreate()


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13347 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:14:01 +00:00
Michael Jerris 935a1433d6 Wed May 13 13:02:06 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg_parser_util.c: fixed msg_unquoted_e()
  Ignore-this: 78b9afb6e97ff730d7924d860ef33921
  
  Now accepts NULL buffer with nonzero size.
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13346 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:13:20 +00:00
Michael Jerris be1650e4ea Wed May 13 12:35:38 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta_incoming_create_response(): sanitized oom check


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13345 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:12:41 +00:00
Michael Jerris 469bc4789a Wed May 13 12:14:18 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_event_server.c: free temp strings
  Ignore-this: 18b592f7d6ae942a48cd117f7a6f3c31
    
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13344 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:11:57 +00:00
Michael Jerris 71f7c7ff11 Wed May 13 12:04:15 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_update_server_report(): fix bugs checking pending INVITEs in fake precondition handling
  Ignore-this: dc67f6287bf48aa8e2a39e2ece96821
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13343 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:10:38 +00:00
Michael Jerris af88f6c68d Wed May 13 12:03:01 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sdp_print(): correctly handle NULL session
  Ignore-this: 206a9027d6dfb73371d7f0ddac5f640b
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13342 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:09:49 +00:00
Michael Jerris 8937b3a4e1 Wed May 13 11:37:19 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg: unobfuscated casts of msg_header_t



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13341 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:09:12 +00:00
Michael Jerris ae9f6cc6d1 Wed May 13 11:18:27 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg_header_copy.c: unobfuscated msg_default_dup_one()
  Ignore-this: 1fda1941baecad1f6397de453e606f1c
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13340 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:07:59 +00:00
Michael Jerris 6e1af87d26 Wed May 13 11:09:06 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sip_parser.c: fixed overrrun in sip_method_name()
  Ignore-this: efe0fc0935451b1b0ee403befac5df40
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13339 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:07:05 +00:00
Michael Jerris 763c520d49 Wed May 13 11:07:04 CDT 2009 Pekka Pessi <first.last@nokia.com>
* sip-dig.c: fixed buffer overrun
  Ignore-this: d8776bd28ef951602449e87d80dc20e7
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13338 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:06:43 +00:00
Michael Jerris 52bcb7b396 Wed May 13 11:00:40 CDT 2009 Pekka Pessi <first.last@nokia.com>
* auth_client.c: removed leak in auc_digest_authorization()
  Ignore-this: 9b0297083b6c6ce1bf9ef3d723b01f3b
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13337 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:05:59 +00:00
Michael Jerris 4c3b2bc4b5 Wed May 13 10:50:41 CDT 2009 Pekka Pessi <first.last@nokia.com>
* msg: fixed possible leak in msg_params_d() with more than 16 params
  Ignore-this: a45ef326def7b1bcd14de4850f3c24ab
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13336 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:05:15 +00:00
Michael Jerris 6f7641f94a Wed May 13 05:14:56 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport.c: better checking of IP6 addresses
  Ignore-this: 49f502ccaaf771abed1e5b2d00eaa8b8
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13335 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:04:28 +00:00
Michael Jerris de69d8ea95 Wed May 13 04:19:01 CDT 2009 Pekka Pessi <first.last@nokia.com>
* outbound.c: logging string after freeing it.
  Ignore-this: 78c744681a08302beaa01b3752bd5f43
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:03:45 +00:00
Michael Jerris 0c6a2d6105 Tue May 12 14:58:43 CDT 2009 Pekka Pessi <first.last@nokia.com>
* test_soa: check larger sessions
  Ignore-this: fac46a2328bc0db501cd98e7a67309c0


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13333 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:03:07 +00:00
Michael Jerris 4d2219a4c2 Tue May 12 14:57:48 CDT 2009 Pekka Pessi <first.last@nokia.com>
* soa_static.c: avoid overrun of arrays in soa_sdp_upgrade()
  Ignore-this: 9f7eae37e7d97c509a2797363b03c54a
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13332 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:02:34 +00:00
Michael Jerris 61c7a110b2 Tue May 12 13:23:33 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport.c: do not use out-of-scope array in tport_deliver()
  Ignore-this: a651d5eb213850d9dfd317102a432f8e
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13331 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:01:31 +00:00
Michael Jerris 9a38d3da7d Tue May 12 13:17:07 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta.c: check input in nta_leg_by_uri()
  Ignore-this: f149ac04b5e1bf078c3b00e837738301
  
  Coverity issue.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13330 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 16:00:17 +00:00
Michael Jerris 1a9705a7b6 Tue May 12 13:13:16 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_client.c: removed extra NULL check from nua_client_request_complete()
  Ignore-this: cc1f1fb7bf8e4ae07f965846418410a
  
  Coverity issue 7310.


git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13329 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:59:02 +00:00
Michael Jerris a0b8810d89 Tue May 12 13:07:45 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: check dialog usage before using it in nua_update_server_respond()
  Ignore-this: 543e8d6d999a5a4d54600f1dbdfb1444
  
  Coverity issue 7312.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13328 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:57:37 +00:00
Michael Jerris 0106f699e6 Tue May 12 13:04:33 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport_type_udp.c: tport_check_trunc() cleaned code
  Ignore-this: b39558360afb657325a4615d0919baaa
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13327 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:54:54 +00:00
Michael Jerris 27c334d8e0 Tue May 12 13:00:40 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: removed dead code from process_prack()
  Ignore-this: 325e40cbba4e6933aa1681d6862533f
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13326 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:53:31 +00:00
Michael Jerris 584ae7db64 Tue May 12 11:57:49 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: doublecheck invite client transaction
  Ignore-this: 4236b668c99e6e0d72a7889ce6cdf671
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13325 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:52:14 +00:00
Michael Jerris 672e48f8c8 Tue May 12 11:52:32 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: always clean and remove INVITE client request in nua_invite_client_ack()
  Ignore-this: bdace77be7b43629b591f5adf7315341
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13324 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:50:43 +00:00
Michael Jerris 25fe8c3a4b Tue May 12 11:38:36 CDT 2009 Pekka Pessi <first.last@nokia.com>
* auth_common.c::auth_get_params(): added missing va_end()
  Ignore-this: 43f33c9e069f4b80c35bab09bec7f925
  
  Coverity issue.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13323 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:49:34 +00:00
Michael Jerris ca2c46d4bf Tue May 12 11:08:07 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nta: do not free transaction in reliable_timeout() if caused by failure to send final response
  Ignore-this: 8e32f83925b6f2a3629afbb8b20ba693
  
  Issue detected by Coverity.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13322 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:47:55 +00:00
Michael Jerris f05ec55879 Tue May 12 14:59:28 CDT 2009 Pekka Pessi <first.last@nokia.com>
* soa_static.c: include media formats in rejected m= line



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13321 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:46:27 +00:00
Michael Jerris 0e45cc850f Tue May 12 11:05:19 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua: NUTAG_AUTOACK(0) is now obeyed always when media is disabled
  Ignore-this: c5960a8330904eae5a1428158e4498c7
  
  If media is enabled, stack autoacks 2XX responses to re-INVITEs unless
  NUTAG_AUTOACK(0) is set on handle.
  
  Also documenting NUTAG_AUTOACK() behaviour with re-INVITEs.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13320 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:45:39 +00:00
Michael Jerris 7e1d02d8a9 Tue May 12 12:08:51 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_session.c: ensure that re-INVITEs have correct Session-Expires parameters



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13319 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:44:40 +00:00
Michael Jerris 0d3db88c5b Tue May 12 12:08:13 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: include Session-Expires to session refresh requests
  
  Thanks for Linus Surguy for reporting the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13318 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:43:28 +00:00
Michael Jerris 3f4f728974 Wed Apr 29 13:03:20 CDT 2009 Pekka Pessi <first.last@nokia.com>
* tport: close half-closed idle connections on windows, too



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13317 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-15 15:42:25 +00:00
Anthony Minessale 7585c4fafc add checks to find issue in FSCORE-338
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13308 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-14 18:30:50 +00:00
Anthony Minessale 52630045aa temp solution to assert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13307 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-14 17:36:44 +00:00
Anthony Minessale 0ecd61aaca comment out assert
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13304 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-05-14 16:16:03 +00:00
Anthony Minessale a1bca1e12e make info work out of dialog
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13087 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-20 19:00:03 +00:00
Michael Jerris 646666faec revert temporary hack
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13064 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 19:08:31 +00:00
Michael Jerris 0ed0ef9e5e Thu Apr 16 12:11:33 CDT 2009 Pekka Pessi <first.last@nokia.com>
* check_session.c: added yet another test case for re-INVITE glare

  S2_CASE("2.6.5", "Re-INVITE glare and 500 Retry-After",
         "NUA receives re-INVITE, replies with 200, "
         "sends re-INVITE, gets 500, gets ACK, retrys INVITE,"
         "sends BYE.");

test case for SFSIP-135 and SFSIP-137



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13063 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 17:21:54 +00:00
Michael Jerris 59478dd599 Thu Apr 16 12:04:08 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_client, nua_session: avoid restarting in-progress transactions
  
  This is supposed to fix bugs #SFSIP-135 and #SFSIP-137. Thanks for Tamas
  Jalsovszky and kawarod for reporting the problem.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13062 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 17:18:56 +00:00
Michael Jerris 5278050e61 Wed Apr 8 16:37:43 CDT 2009 Pekka Pessi <first.last@nokia.com>
* nua_session.c: do not restart CANCEL requests
  Ignore-this: 2c9d51bbafca2256630a0ea73982abea
  
  Fixes FreesWitch bug SFSIP-134, reported by vile, initial patch by Mike
  Jerris.



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13061 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 15:00:42 +00:00
Michael Jerris 568baaeef7 Tue Mar 24 07:39:57 CDT 2009 Mikhail Zabaluev <mikhail.zabaluev@nokia.com>
* nua/check_register.c: fixed up value setting for NAT-imitating received parameters



git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13059 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-16 14:59:59 +00:00
Michael Jerris 3e1b921f8f temporary hack to avoid segfaults on 503 w/ retry-after and 423 responses to CANCEL (and maybe others) (SFSIP-134)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12942 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-04-07 21:34:31 +00:00