[Asterisk-Dev] Re: [Asterisk-cvs] libpri q931.c,1.90,1.91

Kevin P. Fleming kpfleming at starnetworks.us
Thu Oct 28 13:46:20 MST 2004


mattf at lists.digium.com wrote:

> Log Message:
> Change to which switchtypes to send facility IEs to
> 
> 
> Index: q931.c
> ===================================================================
> RCS file: /usr/cvsroot/libpri/q931.c,v
> retrieving revision 1.90
> retrieving revision 1.91
> diff -u -d -r1.90 -r1.91
> --- q931.c	27 Oct 2004 20:43:23 -0000	1.90
> +++ q931.c	28 Oct 2004 16:18:14 -0000	1.91
> @@ -990,9 +990,7 @@
>  	struct rose_component *comp;
>  	unsigned char namelen = strlen(call->callername);
>  
> -	if ((pri->switchtype == PRI_SWITCH_QSIG)
> -		|| (pri->switchtype == PRI_SWITCH_ATT4ESS)
> -		|| (pri->switchtype == PRI_SWITCH_NI2)) {
> +	if ((namelen > 0) && (pri->switchtype == PRI_SWITCH_QSIG)) {
>  		ie->data[i] = ROSE_NETWORK_EXTENSION;
>  		i++;
>  		/* Interpretation component */

Is the ability to send Calling Name IEs to NI-2 switches going to come back?



More information about the asterisk-dev mailing list