[asterisk-dev] proposed api change/addition - ast_stun_request()

Hans Petter Selasky hselasky at c2i.net
Thu Jul 12 13:12:46 CDT 2007


Hi,

I think that you should introduce a new function.

void ast_rtp_stun_request(struct ast_rtp *rtp,
     struct sockaddr_in *suggestion, const char *username)
{
	ast_rtp_stun_request_sock(rtp->xxx, suggestion, username);
	return;
}

void
ast_stun_request_sock(int sock, struct sockaddr_in *dest, ...)
{
	....
}

--HPS



More information about the asterisk-dev mailing list