dect
/
asterisk
Archived
13
0
Fork 0

Merged revisions 64157 via svnmerge from

https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r64157 | oej | 2007-05-14 12:39:12 +0200 (Mon, 14 May 2007) | 2 lines

Add hangupcause when we lack codecs for transcoding

........


git-svn-id: http://svn.digium.com/svn/asterisk/trunk@64158 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
oej 2007-05-14 10:40:50 +00:00
parent a055b8f5c6
commit d0cd2b86bf
1 changed files with 1 additions and 0 deletions

View File

@ -3083,6 +3083,7 @@ struct ast_channel *ast_request(const char *type, int format, void *data, int *c
res = ast_translator_best_choice(&fmt, &capabilities);
if (res < 0) {
ast_log(LOG_WARNING, "No translator path exists for channel type %s (native %d) to %d\n", type, chan->tech->capabilities, format);
*cause = AST_CAUSE_BEARERCAPABILITY_NOTAVAIL;
AST_LIST_UNLOCK(&channels);
return NULL;
}