[OpenSIPS-Devel] [ opensips-Patches-2910271 ] closeddial - cdlookup stop msg processing if no group
SourceForge.net
noreply at sourceforge.net
Wed Feb 3 12:46:20 CET 2010
Patches item #2910271, was opened at 2009-12-07 20:43
Message generated for change (Comment added) made by nobody
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: Nobody/Anonymous (nobody)
Date: 2010-02-03 11:46
Message:
Hello neutrino38.
I will take a look on this I will upload on trunk.
Thanks for reporting.
----------------------------------------------------------------------
Comment By: Emmanuel BUU (neutrino38)
Date: 2009-12-29 09:43
Message:
Any decision on this one?
----------------------------------------------------------------------
Comment By: Emmanuel BUU (neutrino38)
Date: 2009-12-07 20: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