diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-10-27 13:58:31 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-10-27 13:58:31 +0000 |
commit | 8129d4f03e46408d283b2b215171f078de9cdf52 (patch) | |
tree | cf497ad7be4e21bb174e7cf5b4b9d1787acc0a42 /include/asterisk/dundi.h | |
parent | cc209debe27f6b939287ac2de1efea9a79247d6b (diff) |
Preliminary "PRECACHE" / push support...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4110 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/dundi.h')
-rwxr-xr-x | include/asterisk/dundi.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/asterisk/dundi.h b/include/asterisk/dundi.h index 8bd22ddc4..09a3fb1d5 100755 --- a/include/asterisk/dundi.h +++ b/include/asterisk/dundi.h @@ -101,7 +101,8 @@ struct dundi_cause { #define DUNDI_COMMAND_DPRESPONSE (2 | 0x40) /* Respond to a discovery request */ #define DUNDI_COMMAND_EIDQUERY 3 /* Request information for a peer */ #define DUNDI_COMMAND_EIDRESPONSE (4 | 0x40) /* Response to a peer query */ -#define DUNDI_COMMAND_PRECACHE 5 /* Unsolicited answer pre-cache */ +#define DUNDI_COMMAND_PRECACHERQ 5 /* Pre-cache Request */ +#define DUNDI_COMMAND_PRECACHERP (6 | 0x40) /* Pre-cache Response */ #define DUNDI_COMMAND_INVALID (7 | 0x40) /* Invalid dialog state (does not require ack) */ #define DUNDI_COMMAND_UNKNOWN (8 | 0x40) /* Unknown command */ #define DUNDI_COMMAND_NULL 9 /* No-op */ @@ -185,4 +186,7 @@ int dundi_lookup(struct dundi_result *result, int maxret, struct ast_channel *ch /* Retrieve information on a specific EID */ int dundi_query_eid(struct dundi_entity_info *dei, const char *dcontext, dundi_eid eid); + +/* Pre-cache to push upstream peers */ +int dundi_precache(const char *dcontext, const char *number); #endif /* _ASTERISK_DUNDI_H */ |