From e85adbd947fac6b5385f1b74eba506e53c78f483 Mon Sep 17 00:00:00 2001 From: Alexei Gradinari Date: Wed, 10 Aug 2016 15:41:38 -0400 Subject: core: Entity ID is not set or invalid The Exchanging Device and Mailbox States could not working if the Entity ID (EID) is not set manually and can't be obtained from ethernet interface. This patch replaces debug message to warning and addes missing description about option 'entityid' to asterisk.conf.sample. With this patch the asterisk also: (1) decline loading the modules which won't work without EID: res_corosync and res_pjsip_publish_asterisk. (2) warn if EID is empty on loading next modules: pbx_dundi, res_xmpp Starting with v197 systemd/udev will automatically assign "predictable" names for all local Ethernet interfaces. This patch also addes some new ethernet prefixes "eno" and "ens". ASTERISK-26164 #close Change-Id: I72d712f1ad5b6f64571bb179c5cb12461e7c58c6 --- configs/samples/asterisk.conf.sample | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'configs') diff --git a/configs/samples/asterisk.conf.sample b/configs/samples/asterisk.conf.sample index 818f5c2fb..6d6d2f0bb 100644 --- a/configs/samples/asterisk.conf.sample +++ b/configs/samples/asterisk.conf.sample @@ -89,6 +89,14 @@ documentation_language = en_US ; Set the language you want documentation ; considered dangerous because they can allow ; privilege escalation. ; Default no +;entityid=00:11:22:33:44:55 ; Entity ID. + ; This is in the form of a MAC address. + ; It should be universally unique. + ; It must be unique between servers communicating + ; with a protocol that uses this value. + ; This is currently is used by DUNDi and + ; Exchanging Device and Mailbox State + ; using protocols: XMPP, Corosync and PJSIP. ; Changing the following lines may compromise your security. ;[files] -- cgit v1.2.3