From 11dfba3120726928aa4db8a2edcd30008c54d25c Mon Sep 17 00:00:00 2001 From: Mark Spencer Date: Sun, 24 Oct 2004 05:51:57 +0000 Subject: Add cache bypass mode git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4075 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- include/asterisk/dundi.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/asterisk/dundi.h') diff --git a/include/asterisk/dundi.h b/include/asterisk/dundi.h index 0dc548c69..8bd22ddc4 100755 --- a/include/asterisk/dundi.h +++ b/include/asterisk/dundi.h @@ -141,6 +141,7 @@ struct dundi_cause { #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 @@ struct dundi_entity_info { /* 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); -- cgit v1.2.3