[Freeswitch-trunk] [commit] r13662 - freeswitch/trunk/src/mod/applications/mod_nibblebill

FreeSWITCH SVN mrene at freeswitch.org
Sat Jun 6 04:31:38 PDT 2009


Author: mrene
Date: Sat Jun  6 06:31:37 2009
New Revision: 13662

Log:
MODAPP-286

Modified:
   freeswitch/trunk/src/mod/applications/mod_nibblebill/mod_nibblebill.c

Modified: freeswitch/trunk/src/mod/applications/mod_nibblebill/mod_nibblebill.c
==============================================================================
--- freeswitch/trunk/src/mod/applications/mod_nibblebill/mod_nibblebill.c	(original)
+++ freeswitch/trunk/src/mod/applications/mod_nibblebill/mod_nibblebill.c	Sat Jun  6 06:31:37 2009
@@ -413,7 +413,7 @@
 	/* Get caller profile info from channel */
 	profile = switch_channel_get_caller_profile(channel);
 
-	if (!profile) {
+	if (!profile || !profile->times) {
 		/* No caller profile (why would this happen?) */
 		return SWITCH_STATUS_SUCCESS;
 	}



More information about the Freeswitch-trunk mailing list