mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Fix more dev-mode build issues
........ Merged revisions 419129 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 419162 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/12@419163 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -1113,7 +1113,7 @@ static int ooh323_answer(struct ast_channel *ast)
|
||||
ast_channel_lock(ast);
|
||||
if (!p->alertsent) {
|
||||
if (gH323Debug) {
|
||||
ast_debug(1, "Sending forced ringback for %s, res = %d\n",
|
||||
ast_debug(1, "Sending forced ringback for %s, res = %u\n",
|
||||
callToken, ooManualRingback(callToken));
|
||||
} else {
|
||||
ooManualRingback(callToken);
|
||||
@@ -1168,7 +1168,7 @@ static int ooh323_write(struct ast_channel *ast, struct ast_frame *f)
|
||||
p->lastrtptx = time(NULL);
|
||||
|
||||
if (f->frametype == AST_FRAME_MODEM) {
|
||||
ast_debug(1, "Send UDPTL %d/%d len %d for %s\n",
|
||||
ast_debug(1, "Send UDPTL %u/%d len %d for %s\n",
|
||||
f->frametype, f->subclass.integer, f->datalen, ast_channel_name(ast));
|
||||
if (p->udptl)
|
||||
res = ast_udptl_write(p->udptl, f);
|
||||
@@ -1213,7 +1213,7 @@ static int ooh323_write(struct ast_channel *ast, struct ast_frame *f)
|
||||
ast_mutex_unlock(&p->lock);
|
||||
return 0;
|
||||
} else {
|
||||
ast_log(LOG_WARNING, "Can't send %d type frames with OOH323 write\n",
|
||||
ast_log(LOG_WARNING, "Can't send %u type frames with OOH323 write\n",
|
||||
f->frametype);
|
||||
ast_mutex_unlock(&p->lock);
|
||||
return 0;
|
||||
@@ -1277,7 +1277,7 @@ static int ooh323_indicate(struct ast_channel *ast, int condition, const void *d
|
||||
if (ast_channel_state(ast) != AST_STATE_UP) {
|
||||
if (!p->progsent) {
|
||||
if (gH323Debug) {
|
||||
ast_debug(1, "Sending manual progress for %s, res = %d\n", callToken,
|
||||
ast_debug(1, "Sending manual progress for %s, res = %u\n", callToken,
|
||||
ooManualProgress(callToken));
|
||||
} else {
|
||||
ooManualProgress(callToken);
|
||||
@@ -1290,7 +1290,7 @@ static int ooh323_indicate(struct ast_channel *ast, int condition, const void *d
|
||||
if (ast_channel_state(ast) == AST_STATE_RING || ast_channel_state(ast) == AST_STATE_RINGING) {
|
||||
if (!p->alertsent) {
|
||||
if (gH323Debug) {
|
||||
ast_debug(1, "Sending manual ringback for %s, res = %d\n",
|
||||
ast_debug(1, "Sending manual ringback for %s, res = %u\n",
|
||||
callToken,
|
||||
ooManualRingback(callToken));
|
||||
} else {
|
||||
@@ -3177,7 +3177,7 @@ static char *handle_cli_ooh323_show_peer(struct ast_cli_entry *e, int cmd, struc
|
||||
ast_cli(a->fd, "%-15.15s%s\n", "AccountCode: ", peer->accountcode);
|
||||
ast_cli(a->fd, "%-15.15s%s\n", "AMA flags: ", ast_channel_amaflags2string(peer->amaflags));
|
||||
ast_cli(a->fd, "%-15.15s%s\n", "IP:Port: ", ip_port);
|
||||
ast_cli(a->fd, "%-15.15s%d\n", "OutgoingLimit: ", peer->outgoinglimit);
|
||||
ast_cli(a->fd, "%-15.15s%u\n", "OutgoingLimit: ", peer->outgoinglimit);
|
||||
ast_cli(a->fd, "%-15.15s%d\n", "rtptimeout: ", peer->rtptimeout);
|
||||
ast_cli(a->fd, "%-15.15s%s\n", "nat: ", peer->nat?"yes":"no");
|
||||
if (peer->rtpmaskstr[0]) {
|
||||
@@ -3337,7 +3337,7 @@ static char *handle_cli_ooh323_show_user(struct ast_cli_entry *e, int cmd, struc
|
||||
ast_cli(a->fd, "%-15.15s%s\n", "AMA flags: ", ast_channel_amaflags2string(user->amaflags));
|
||||
ast_cli(a->fd, "%-15.15s%s\n", "Context: ", user->context);
|
||||
ast_cli(a->fd, "%-15.15s%d\n", "IncomingLimit: ", user->incominglimit);
|
||||
ast_cli(a->fd, "%-15.15s%d\n", "InUse: ", user->inUse);
|
||||
ast_cli(a->fd, "%-15.15s%u\n", "InUse: ", user->inUse);
|
||||
ast_cli(a->fd, "%-15.15s%d\n", "rtptimeout: ", user->rtptimeout);
|
||||
ast_cli(a->fd, "%-15.15s%s\n", "nat: ", user->nat?"yes":"no");
|
||||
if (user->rtpmaskstr[0]) {
|
||||
@@ -4361,7 +4361,7 @@ static enum ast_rtp_glue_result ooh323_get_rtp_peer(struct ast_channel *chan, st
|
||||
|
||||
ast_rtp_instance_get_remote_address(*rtp, &tmp);
|
||||
if (gH323Debug) {
|
||||
ast_verb(0, "ooh323_get_rtp_peer %s -> %s:%d, %d\n", ast_channel_name(chan), ast_sockaddr_stringify_addr(&tmp),
|
||||
ast_verb(0, "ooh323_get_rtp_peer %s -> %s:%d, %u\n", ast_channel_name(chan), ast_sockaddr_stringify_addr(&tmp),
|
||||
ast_sockaddr_port(&tmp), res);
|
||||
}
|
||||
if (gH323Debug) {
|
||||
@@ -4912,7 +4912,7 @@ struct ast_frame *ooh323_rtp_read(struct ast_channel *ast, struct ooh323_pvt *p)
|
||||
case 5:
|
||||
f = ast_udptl_read(p->udptl); /* UDPTL t.38 data */
|
||||
if (gH323Debug) {
|
||||
ast_debug(1, "Got UDPTL %d/%d len %d for %s\n",
|
||||
ast_debug(1, "Got UDPTL %u/%d len %d for %s\n",
|
||||
f->frametype, f->subclass.integer, f->datalen, ast_channel_name(ast));
|
||||
}
|
||||
p->lastrtprx = time(NULL);
|
||||
|
Reference in New Issue
Block a user