Merge another change from team/russell/events ...
commit69d6256d6eadeeb429a2478f40b2f81a20c0bc7c
authorrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Tue, 10 Jun 2008 12:48:50 +0000 (10 12:48 +0000)
committerrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Tue, 10 Jun 2008 12:48:50 +0000 (10 12:48 +0000)
tree6628d8e6cf74abb51f1267effcf152b32c7401ba
parent167d9925ecdd2e61dc33621f615a02a2293b8d8c
Merge another change from team/russell/events ...

DUNDi uses a concept called the Entity ID for unique server identifiers.  I have
pulled out the handling of EIDs and made it something available to all of Asterisk.
There is now a global Entity ID that can be used for other purposes as well, such
as code providing distributed device state, which is why I did this.  The global
Entity ID is set automatically, just like it was done in DUNDi, but it can also be
set in asterisk.conf.  DUNDi will now use this global EID unless one is specified
in dundi.conf.

The current EID for the system can be seen in the "core show settings" CLI command.
It is also available in the dialplan via the ENTITYID variable.

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@121439 614ede4d-c843-0410-af14-a771ab80d22e
doc/tex/asterisk-conf.tex
doc/tex/channelvariables.tex
include/asterisk/dundi.h
include/asterisk/utils.h
main/asterisk.c
main/netsock.c
main/pbx.c
pbx/dundi-parser.c
pbx/dundi-parser.h
pbx/pbx_dundi.c