[asterisk-dev] [svn-commits] moy: branch moy/dahdi-tap-1.6.2 r257024 - /team/moy/dahdi-tap-1.6.2/channels/

Richard Mudgett rmudgett at digium.com
Tue Apr 13 10:24:52 CDT 2010


----- "SVN commits to the Digium repositories" <svn-commits at lists.digium.com> wrote:

> Author: moy
> Date: Tue Apr 13 09:15:09 2010
> New Revision: 257024
> 
> URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=257024
> Log:
> add some more pri capabilities ( it may not work though )
> 
> Modified:
>     team/moy/dahdi-tap-1.6.2/channels/chan_dahdi.c
> 
> Modified: team/moy/dahdi-tap-1.6.2/channels/chan_dahdi.c
> URL:
> http://svnview.digium.com/svn/asterisk/team/moy/dahdi-tap-1.6.2/channels/chan_dahdi.c?view=diff&rev=257024&r1=257023&r2=257024
> ==============================================================================
> --- team/moy/dahdi-tap-1.6.2/channels/chan_dahdi.c (original)
> +++ team/moy/dahdi-tap-1.6.2/channels/chan_dahdi.c Tue Apr 13 09:15:09
> 2010
> @@ -12520,7 +12520,8 @@
>  			ast_log(LOG_NOTICE, "Not monitoring call with unsupported layer 1
> format %d\n", layer1);
>  			break;
>  		}
> -		if (transcap != PRI_TRANS_CAP_SPEECH) {
> +		
> +		if (transcap != PRI_TRANS_CAP_SPEECH || transcap !=
> PRI_TRANS_CAP_3_1K_AUDIO || transcap != PRI_TRANS_CAP_7K_AUDIO) {

This test will always be true.  The ||'s need to be replace with &&'s.

>  			ast_log(LOG_NOTICE, "Not monitoring call with unsupported
> capability %d\n", transcap);
>  			break;
>  		}
> 
> 
> -- 
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> svn-commits mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/svn-commits



More information about the asterisk-dev mailing list