[Asterisk-cvs] libpri q931.c,1.136,1.137

mattf mattf
Thu Sep 15 11:47:45 CDT 2005


Update of /usr/cvsroot/libpri
In directory mongoose.digium.com:/tmp/cvs-serv12317

Modified Files:
	q931.c 
Log Message:
Q.SIG fix.  Don't send DISPLAY IE for callername


Index: q931.c
===================================================================
RCS file: /usr/cvsroot/libpri/q931.c,v
retrieving revision 1.136
retrieving revision 1.137
diff -u -d -r1.136 -r1.137
--- q931.c	2 Sep 2005 18:37:03 -0000	1.136
+++ q931.c	15 Sep 2005 15:46:09 -0000	1.137
@@ -1036,7 +1036,8 @@
 static FUNC_SEND(transmit_display)
 {
 	int i;
-	if ((pri->switchtype != PRI_SWITCH_NI1) && *call->callername) {
+	if ((pri->switchtype != PRI_SWITCH_NI1) && (pri->switchtype != PRI_SWITCH_QSIG) 
+			&& *call->callername) {
 		i = 0;
 		if(pri->switchtype != PRI_SWITCH_EUROISDN_E1) {
 			ie->data[0] = 0xb1;




More information about the svn-commits mailing list