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
Michael Jerris
3446ae280f
Wed Mar 4 12:22:20 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: fix timer N3
Ignore-this: 4018f3a32723692153389c2109b72296
Try UDP instead of TCP if TCP server does not respond quick enough.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12417 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-04 20:35:51 +00:00
Michael Jerris
24c198c098
fix merge conflict
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12389 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:41:06 +00:00
Michael Jerris
ba34225301
Tue Mar 3 07:47:19 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: calculate timer D correctly
Ignore-this: f43d9dcc11fb6a19c3674a6da35ee7ec
Timer D is either 32 seconds or 64 times T1, whichever is larger.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12387 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:26:13 +00:00
Michael Jerris
82a42fc678
Tue Mar 3 10:49:51 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* test_nta.c: timer C now CANCELs INVITE transaction
Ignore-this: 8de2e5747e7ae0e62e2d8ad9aeb0cbed
408 response is not generated (unless CANCEL times out, too.)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12383 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:23:31 +00:00
Michael Jerris
b38b9edd99
Tue Mar 3 10:47:40 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta_tag.c: fixed NTATAG_TIMER_C() documentation
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12382 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:23:03 +00:00
Michael Jerris
9cac599609
Tue Mar 3 10:47:00 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: timeout CANCELed INVITE transactions properly
Ignore-this: 4e7fdc56065dba617352443a9310bb28
Use timer D (instead of timer C) to timeout CANCELed INVITE transactions.
Also, generate 408 Request Timeout to all forks that have not received a
final response.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12381 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:22:35 +00:00
Michael Jerris
742d765b53
Tue Mar 3 10:40:57 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: nta_agent_set_params() now returns correct value for tport parameters set
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12380 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:22:01 +00:00
Michael Jerris
62fdae5055
Mon Mar 2 11:58:01 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta.c: use already-resolved transport for CANCEL/ACK to [3456]XX
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12379 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:21:26 +00:00
Michael Jerris
97c72d0a46
Mon Mar 2 11:21:17 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* sl_utils_print.c: propagate error from fwrite()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@12375 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-03-03 17:19:58 +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
4216c4f9ed
Tue Feb 10 07:06:03 CST 2009 Paulo Pizarro <paulo DOT pizarro AT gmail DOT com>
...
* nta.c: ACK and BYE orphan 200 OK matching with destroyed client transaction
Ignore-this: c4f2b165dd2f197f129044e5c653cd8
ETSI Test cases SIP_CC_OE_CE_V_019, SIP_CC_OE_CE_TI_011_012
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11873 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:38:45 +00:00
Michael Jerris
a53ebf2c0d
Fri Feb 6 05:16:13 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: consider route as set if it is included when creating a leg
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11870 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:37:22 +00:00
Michael Jerris
293a9b1483
Fri Jan 16 07:22:08 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: added nta_leg_client_reroute()
nta_leg_client_route() did not catch actually RFC 3261 section 12.1.2 feel
and spirit, not to speak about letter.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11833 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:06:00 +00:00
Michael Jerris
e26f3e19f0
Thu Jan 15 12:06:00 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta.c: when sending ACK to [3456]XX, copy the To header as-is from the response
Problem reported by Paulo Pizarro.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11831 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:05:16 +00:00
Michael Jerris
5976bff650
Wed Jan 14 06:35:56 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta_tag.c: updated tag documentation
NTATAG_GRAYLIST added in 1.12,8, NTATAG_MAX_PROCEEDING() in 1.12.9,
NTATAG_TLS_RPORT() in 1.12.10
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11825 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 17:01:43 +00:00
Michael Jerris
5ded72256a
Fri Jan 9 13:26:53 CST 2009 Paulo Pizarro <paulo DOT pizarro AT gmail DOT com>
...
* nta.c: do not restart timer E when provisional response is received
According to the (informational) RFC 4321 section 1.2 Timer E is not altered
during the transition to Proceeding.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11808 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:52:40 +00:00
Michael Jerris
eeff4df08b
Thu Jan 8 12:38:05 CST 2009 Pekka Pessi <first.last@nokia.com>
...
* nta: use <sofia-sip/su_string.h> functions
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11794 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:46:50 +00:00
Michael Jerris
0ac71634bf
Fri Dec 19 08:38:53 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* nta.c: be consistent with maxsize and max_proceeding types
Original patch by Mike Jerris
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11766 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-02-11 16:04:30 +00:00
Michael Jerris
fd0a6589e0
sofia-sip: fix gcc 4.3 build (FSBUILD-105)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11518 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-27 22:59:00 +00:00
Michael Jerris
d88a0fbefc
mod_sofia: fix build error on gcc 4.3 (FSBUILD-105)
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11334 d0543943-73ff-0310-b7d9-9358b9ac24b2
2009-01-21 19:28:20 +00:00
Michael Jerris
6408a21cf2
SFSIP-112 sofia does not compile w/ gcc 4.3 x86 w/ -Werror
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10877 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-18 23:24:19 +00:00
Michael Jerris
d5c9694677
Mon Dec 15 08:31:45 CST 2008 Stas Maximov <smaximov@ieee.org>
...
* nta: NULL host and port in user Via are filled automaticaly
NULL host or port in user-supplied Via header will be filled
automaticaly by NTA, just like branch and rport params.
Added related test case to test_nta_api.c.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10826 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:34:00 +00:00
Michael Jerris
3f739fad27
Wed Nov 12 12:33:20 CST 2008 Pekka Pessi <first.last@nokia.com>
...
* nta: moved truly internal data type definitions into nta.c
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10820 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:12:43 +00:00
Michael Jerris
538a0e2db9
Wed Nov 12 11:30:28 CST 2008 Fabio Ferrari <fabioferrari AT gmail DOT com>
...
* nta: new tag NTATAG_TLS_RPORT()
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10818 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 20:10:32 +00:00
Michael Jerris
d8c4d22d40
merge whitespace fixes from sofia-sip tree
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10802 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-12-16 18:05:22 +00:00
Michael Jerris
642ad50e83
Thu Aug 14 11:22:16 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* outgoing_complete(): avoid assert if completing already completed request
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9292 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-14 16:02:45 +00:00
Michael Jerris
4e9fe267ec
Thu Aug 14 11:21:21 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nta: when in UAS mode, respond to CANCEL and INVITE with same tag
Added mreply(), internal function for responding to a request message
Also, tag INVITE before responding to CANCEL.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9291 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-14 16:01:39 +00:00
Michael Jerris
81e1edffa9
Wed Aug 6 14:49:13 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nta: fix to #2037585 : always release error callback when changing transports
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9274 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:06:11 +00:00
Michael Jerris
f9865e5593
Wed Aug 6 14:28:48 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* run_test_nta: exit 77 if named refuses to start
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9273 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:05:41 +00:00
Michael Jerris
32f23073b7
Thu Jul 24 12:00:18 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nta_test.c: reindented invite_client_t initializers
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9268 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:03:57 +00:00
Michael Jerris
4acc6a79af
Wed Jul 23 12:22:57 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nta: changed type of NTATAG_SERVER_RPORT() back to signed int
Documented magic value 2 for server rport.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9267 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-08-12 17:03:42 +00:00
Michael Jerris
9eda658a77
Thu Jun 5 10:23:18 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* Using su_inet_ntop and su_inet_pton
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8920 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-07-08 04:36:13 +00:00
Michael Jerris
650962b183
Tue Jun 3 13:43:59 EDT 2008 Pekka Pessi <first.last@nokia.com>
...
* nta.c: accepting CANCEL with To tag copied from preliminary response
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8746 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-06-03 18:57:34 +00:00
Michael Jerris
51f62e0260
fix NUTAG_SERVER_RPORT
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8693 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-27 15:33:03 +00:00
Michael Jerris
ebe2cf67af
add NTATAG_SERVER_RPORT(2) that will act like there is always a rport in the via.
...
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@8643 d0543943-73ff-0310-b7d9-9358b9ac24b2
2008-05-25 21:22:35 +00:00
Michael Jerris
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
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