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

creslin at digium.com creslin at digium.com
Thu Oct 28 16:06:07 MST 2004


On Thu, Oct 28, 2004 at 01:46:20PM -0700, Kevin P. Fleming wrote:
> 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?

If you can test it for me :-)  I took it out because of some problems that 
could be related to this that cropped up today.  If anybody else has any problems
I'd like to hear about it.

Matthew Fredrickson



More information about the asterisk-dev mailing list