static void send_ack_callback( pjsip_send_state *send_state,
			       pj_ssize_t sent, pj_bool_t *cont )
{
    if (sent > 0)
	return;

    if (*cont) {
	PJ_PERROR(3,(THIS_FILE, (pj_status_t)-sent,
		     "Temporary failure in sending %s, "
		     "will try next server",
		     pjsip_tx_data_get_info(send_state->tdata)));
    } else {
	PJ_PERROR(3,(THIS_FILE, (pj_status_t)-sent,
		     "Failed to send %s!",
		     pjsip_tx_data_get_info(send_state->tdata)));
    }
}
static void send_ack_callback( pjsip_send_state *send_state,
			       pj_ssize_t sent, pj_bool_t *cont )
{
    if (sent > 0)
	return;

    if (*cont) {
	PJ_PERROR(3,(THIS_FILE, (pj_status_t)-sent,
		     "Temporary failure in sending %s, "
		     "will try next server",
		     pjsip_tx_data_get_info(send_state->tdata)));
    } else {
	PJ_PERROR(3,(THIS_FILE, (pj_status_t)-sent,
		     "Failed to send %s!",
		     pjsip_tx_data_get_info(send_state->tdata)));
    }
}