dect
/
asterisk
Archived
13
0
Fork 0

Fix SIP_CODEC support

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1729 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
martinp 2003-11-12 16:36:35 +00:00
parent 54ff0e853d
commit af4b5e70d6
1 changed files with 1 additions and 1 deletions

View File

@ -1138,7 +1138,7 @@ static int sip_answer(struct ast_channel *ast)
fmt=ast_getformatbyname(codec);
if (fmt) {
ast_log(LOG_NOTICE, "Changing codec to '%s' for this call because of ${SIP_CODEC) variable\n",codec);
p->capability=fmt;
p->jointcapability=fmt;
} else ast_log(LOG_NOTICE, "Ignoring ${SIP_CODEC} variable because of unrecognized/not configured codec (check allow/disallow in sip.conf): %s\n",codec);
}