[Asterisk-cvs] asterisk/include/asterisk dundi.h,1.2,1.3
markster at lists.digium.com
markster at lists.digium.com
Sun Oct 24 01:48:15 CDT 2004
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv5192/include/asterisk
Modified Files:
dundi.h
Log Message:
Add cache bypass mode
Index: dundi.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/dundi.h,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- dundi.h 22 Oct 2004 14:19:11 -0000 1.2
+++ dundi.h 24 Oct 2004 05:51:57 -0000 1.3
@@ -141,6 +141,7 @@
#define DUNDI_IE_EMAIL 26 /* E-mail addy, for EIDQUERY (string) */
#define DUNDI_IE_PHONE 27 /* Contact Phone, for EIDQUERY (string) */
#define DUNDI_IE_IPADDR 28 /* IP Address, for EIDQUERY (string) */
+#define DUNDI_IE_CACHEBYPASS 29 /* Bypass cache (empty) */
#define DUNDI_FLUFF_TIME 2000 /* Amount of time for answer */
#define DUNDI_TTL_TIME 200 /* Incremental average time */
@@ -180,7 +181,7 @@
/* Lookup the given number in the given dundi context (or e164 if unspecified) using the given callerid (if specified) and return up to maxret results in the array specified.
returns the number of results found or -1 on a hangup of teh channel. */
-int dundi_lookup(struct dundi_result *result, int maxret, struct ast_channel *chan, const char *dcontext, const char *number);
+int dundi_lookup(struct dundi_result *result, int maxret, struct ast_channel *chan, const char *dcontext, const char *number, int nocache);
/* Retrieve information on a specific EID */
int dundi_query_eid(struct dundi_entity_info *dei, const char *dcontext, dundi_eid eid);
More information about the svn-commits
mailing list