quiet a couple sctp warnings

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@4989 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Michael Jerris 2007-04-20 20:14:02 +00:00
parent 6c6d2aad76
commit a687aada13
3 changed files with 35 additions and 7 deletions

View File

@ -43,6 +43,7 @@ below.
<a href="#3892">RFC 3892</a> <br> <a href="#3892">RFC 3892</a> <br>
<a href="#3903">RFC 3903</a> <br> <a href="#3903">RFC 3903</a> <br>
<a href="#4028">RFC 4028</a> <br> <a href="#4028">RFC 4028</a> <br>
<a href="#4320">RFC 4320</a> <br>
<a href="#4566">RFC 4566</a> <br> <a href="#4566">RFC 4566</a> <br>
</td><td> </td><td>
<a href="#2327">RFC 2327</a> <br> <a href="#2327">RFC 2327</a> <br>
@ -849,9 +850,11 @@ below.
The session-expires value and refreshing party is negotiated in The session-expires value and refreshing party is negotiated in
<a href="nua/index.html">user-agent engine</a>. When user-agent <a href="nua/index.html">user-agent engine</a>. When user-agent
engine is responsible for refreshes, it will initiate re-INVITE or engine is responsible for refreshes, it will initiate re-INVITE or
UPDATE transaction at regular intervals. If there has been no SIP UPDATE transaction at regular intervals.
activity in session during the refresh period, it will try to
automatically terminate the call by sending a @b BYE request. If there has been no SIP activity in session during the refresh
period, it will try to automatically terminate the call by sending a
@b BYE request.
The SIP headers explicitly supported (generating, parsing and The SIP headers explicitly supported (generating, parsing and
syntax checking) are @ref sip_session_expires "Session-Expires" ("x") and syntax checking) are @ref sip_session_expires "Session-Expires" ("x") and
@ -861,6 +864,29 @@ below.
&nbsp; &nbsp;
</td> </td>
</tr> </tr>
<tr valign=top>
<th align="left">
<a name="4320"></a>
@RFC4320: Actions Addressing Identified Issues with SIP's Non-INVITE Transaction
</th>
<td>
The action 1 (make the best use of provisional responses) is
supported when NTATAG_EXTRA_100(1) is used with nua_create() or
nta_agent_create(). The 100 Trying provisional response is sent
after T2 is expired or when a retransmission is received after T2/2
after the initial request.
The action 2 (remove the useless late-response storm) is supported
by default. The 408 timeout response is not forwarded by default (it's
forwarding can be enabled with NTATAG_PASS_408(1), however).
</td>
<td>
Application must include NTATAG_EXTRA_100(1) with nua_create() or
nta_agent_create() tags.
</td>
</tr>
</table> </table>
<table border=1 cellpadding=4 cellspacing=0> <table border=1 cellpadding=4 cellspacing=0>

View File

@ -1482,6 +1482,8 @@ int tport_bind_server(tport_master_t *mr,
unsigned short step = 0; unsigned short step = 0;
bind6only_check(mr); bind6only_check(mr);
(void)hostname;
SU_DEBUG_5(("%s(%p) to " TPN_FORMAT "\n", __func__, (void *)mr, TPN_ARGS(tpn))); SU_DEBUG_5(("%s(%p) to " TPN_FORMAT "\n", __func__, (void *)mr, TPN_ARGS(tpn)));

View File

@ -96,8 +96,8 @@ static int tport_sctp_init_socket(tport_primary_t *pri,
int socket, int socket,
char const **return_reason); char const **return_reason);
static int tport_recv_sctp(tport_t *self); static int tport_recv_sctp(tport_t *self);
static int tport_send_sctp(tport_t const *self, msg_t *msg, static ssize_t tport_send_sctp(tport_t const *self, msg_t *msg,
msg_iovec_t iov[], int iovused); msg_iovec_t iov[], size_t iovused);
tport_vtable_t const tport_sctp_client_vtable = tport_vtable_t const tport_sctp_client_vtable =
{ {
@ -254,8 +254,8 @@ int tport_recv_sctp(tport_t *self)
return 2; return 2;
} }
static int tport_send_sctp(tport_t const *self, msg_t *msg, static ssize_t tport_send_sctp(tport_t const *self, msg_t *msg,
msg_iovec_t iov[], int iovused) msg_iovec_t iov[], size_t iovused)
{ {