PJSIP: TOS values should be represented as decimals in sorcery objects

(closes issue ASTERISK-23235)
Reported by: George Joseph
Review: https://reviewboard.asterisk.org/r/3324/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@410574 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jonathan Rose
2014-03-14 16:26:07 +00:00
parent 10e8ad8604
commit 6f4a3ead75
5 changed files with 17 additions and 21 deletions

View File

@@ -894,12 +894,6 @@ const char *ast_tos2str(unsigned int tos)
return "unknown";
}
void ast_tos2str_buf(unsigned int tos, char **buf)
{
const char *tos_string = ast_tos2str(tos);
*buf = ast_strdup(tos_string);
}
int ast_get_ip(struct ast_sockaddr *addr, const char *hostname)
{
return ast_get_ip_or_srv(addr, hostname, NULL);