Sends a SIP request or response on a given socket (in the pvt)
Called by retrans_pkt, send_request, send_response and
__sip_reliable_xmit
+ \return length of transmitted message, XMIT_ERROR on known network failures -1 on other failures.
*/
static int __sip_xmit(struct sip_pvt *p, struct ast_str *data, int len)
{
return res;
}
-/*! \brief Send SIP Request to the other part of the dialogue */
+/*! \brief Send SIP Request to the other part of the dialogue
+ \return see \ref __sip_xmit
+*/
static int send_request(struct sip_pvt *p, struct sip_request *req, enum xmittype reliable, int seqno)
{
int res;
}
/*! \brief Initialize RTP portion of a dialog
- * \returns -1 on failure, 0 on success
+ * \return -1 on failure, 0 on success
*/
static int dialog_initialize_rtp(struct sip_pvt *dialog)
{
return 0;
}
-/*! \brief Register with SIP proxy */
+/*! \brief Register with SIP proxy
+ \return see \ref __sip_xmit
+*/
static int __sip_do_register(struct sip_registry *r)
{
int res;