Anthony Minessale
63e2044a7e
modify sofia debug code to print file, line numbers and function name
2012-10-26 14:15:14 -05: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
a95b5c3823
FS-3474 sofia portion
2011-08-19 16:34:17 -05: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Michael Jerris
b23c86a1bf
revert
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12857 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-31 20:54:31 +00:00
Michael Jerris
9b42edc319
linux... how did that not crash every time
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12856 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-31 20:51:35 +00:00
Michael Jerris
79081a2faa
Mon Mar 23 12:22:50 CDT 2009 Pekka Pessi <first.last@nokia.com>
...
* nta.c: use random key when generating tags
Ignore-this: 3e989f42549acbdbc259383b1b64e74d
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12754 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:48:19 +00:00
Michael Jerris
3c9cb00a4b
Thu Mar 5 13:09:53 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta.c: #include <sofia-sip/htable.h> here
Ignore-this: bab8054edc65e3defbed6db325e1deba
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12740 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:39:08 +00:00
Michael Jerris
93aa2e4ac7
Thu Mar 5 13:08:22 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta.c: nta_leg_tag(leg, NULL) now always returns the tag (old or new)
Ignore-this: f5a7d67ed90e2c284f6696d6b5b89326
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12739 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:38:33 +00:00
Michael Jerris
0bafa3b1cd
Thu Mar 5 13:06:59 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* run_test_nta: fixed bashism with exec
Ignore-this: 6d034eb8fd66f6a903e3219589f62eef
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12738 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:37:43 +00:00
Michael Jerris
277137cf8e
Thu Mar 5 13:06:15 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* check_nta: use S2_CASE()
Ignore-this: c94d4219b0882f1343bcfc56f975ea48
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12736 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-24 15:36:03 +00:00
Michael Jerris
51a8cb2827
Wed Mar 4 12:24:57 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta_incoming_magic(): if callback is NULL, return any magic
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12557 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:58:34 +00:00
Michael Jerris
c4c67ac090
Wed Mar 4 12:22:52 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: add nta_outgoing_magic()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12556 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:57:32 +00:00
Michael Jerris
2a0b960efb
Thu Mar 5 08:00:45 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: added check-based test program check_nta
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12554 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:55:00 +00:00
Michael Jerris
1bb6e48c63
Wed Mar 4 12:27:36 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: added nta_agent_tports()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12552 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:52:52 +00:00
Michael Jerris
b4a57d3300
Wed Mar 4 12:27:19 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta.c: removed spurios SOFIAPUBFUNs
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12551 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-10 19:52:07 +00:00
Michael Jerris
721612aa82
Wed Mar 4 12:28:12 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* run_test_nta: run tests without named if named refuses to start
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12418 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:37:00 +00:00