[libpri-commits] trunk r351 - /trunk/q931.c

libpri-commits at lists.digium.com libpri-commits at lists.digium.com
Thu Jun 8 15:16:55 MST 2006


Author: mattf
Date: Thu Jun  8 17:16:55 2006
New Revision: 351

URL: http://svn.digium.com/view/libpri?rev=351&view=rev
Log:
Make sure we don't send display if callername is set to a 0 length string.

Modified:
    trunk/q931.c

Modified: trunk/q931.c
URL: http://svn.digium.com/view/libpri/trunk/q931.c?rev=351&r1=350&r2=351&view=diff
==============================================================================
--- trunk/q931.c (original)
+++ trunk/q931.c Thu Jun  8 17:16:55 2006
@@ -1061,6 +1061,9 @@
 {
 	int i;
 	
+	if (!call->callername[0])
+		return 0;
+
 	if ((pri->switchtype == PRI_SWITCH_QSIG)
 		|| ((pri->switchtype == PRI_SWITCH_EUROISDN_E1) && (pri->localtype == PRI_CPE)) ||
 		!call->callername[0])



More information about the libpri-commits mailing list