[OpenSIPS-Devel] [ opensips-Patches-2910271 ] closeddial - cdlookup stop msg processing if no group

SourceForge.net noreply at sourceforge.net
Tue Dec 29 10:43:06 CET 2009


Patches item #2910271, was opened at 2009-12-07 21:43
Message generated for change (Comment added) made by neutrino38
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2910271&group_id=232389

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: 1.6.x
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Sergio Gutierrez (saguti)
Summary: closeddial - cdlookup stop msg processing if no group

Initial Comment:
cdlookup returns 0 if From user does not belong to a group. This causes the message processing to stop. I changed the return value to -2 so message can be further processsed.

----------------------------------------------------------------------

Comment By: Emmanuel BUU (neutrino38)
Date: 2009-12-29 10:43

Message:
Any decision on this one?

----------------------------------------------------------------------

Comment By: Emmanuel BUU (neutrino38)
Date: 2009-12-07 21:43

Message:
Index: cdlookup.c
===================================================================
--- cdlookup.c	(revision 6372)
+++ cdlookup.c	(working copy)
@@ -107,7 +107,7 @@
 
 	/* No group_id found; keeps uri */
 	if(group.len == 0) {
-		return 0;
+		return -2;
 	}
 
 	/* ... where cd_username ... */


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1086412&aid=2910271&group_id=232389



More information about the Devel mailing list