[Asterisk-cvs] asterisk/include/asterisk dundi.h,1.3,1.4
markster at lists.digium.com
markster at lists.digium.com
Wed Oct 27 09:55:12 CDT 2004
Update of /usr/cvsroot/asterisk/include/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv8127/include/asterisk
Modified Files:
dundi.h
Log Message:
Preliminary "PRECACHE" / push support...
Index: dundi.h
===================================================================
RCS file: /usr/cvsroot/asterisk/include/asterisk/dundi.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- dundi.h 24 Oct 2004 05:51:57 -0000 1.3
+++ dundi.h 27 Oct 2004 13:58:31 -0000 1.4
@@ -101,7 +101,8 @@
#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 @@
/* 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 */
More information about the svn-commits
mailing list