[svn-commits] oej: trunk r64158 - in /trunk: ./ main/channel.c

svn-commits at lists.digium.com svn-commits at lists.digium.com
Mon May 14 03:40:50 MST 2007


Author: oej
Date: Mon May 14 05:40:50 2007
New Revision: 64158

URL: http://svn.digium.com/view/asterisk?view=rev&rev=64158
Log:
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

........

Modified:
    trunk/   (props changed)
    trunk/main/channel.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/main/channel.c
URL: http://svn.digium.com/view/asterisk/trunk/main/channel.c?view=diff&rev=64158&r1=64157&r2=64158
==============================================================================
--- trunk/main/channel.c (original)
+++ trunk/main/channel.c Mon May 14 05:40:50 2007
@@ -3083,6 +3083,7 @@
 		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;
 		}



More information about the svn-commits mailing list