aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-24 05:51:57 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-10-24 05:51:57 +0000
commit0a95ef7a1692562f449ffcd7f3339ff299f11222 (patch)
tree919a32145b1901308333c1428715fadf082e4c1c /include
parente39bbff418df27e0aaecf9980c7d2dda832b1664 (diff)
Add cache bypass mode
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4075 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include')
-rwxr-xr-xinclude/asterisk/dundi.h3
1 files changed, 2 insertions, 1 deletions
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);