If green interface is in dhcp, it has an IP assigned by interface-update event by S70network-start action.
Since S70nethvoice-update-ip is before in alphabetical order, it is executed before dhcp assigned an ip to the interface and therefore IP is empty
Steps to reproduce
set green interface in dhcp
Expected behavior
nethvoice-update-ip action should be completed without errors
/opt/janus/etc/janus/janus.plugin.sip.cfg and /etc/flexisip/flexisip.conf configuration files should contain the green interface IP address received via DHCP
Actual behavior
nethvoice-update-ip fails
esmith::event[9602]: Can't get green interface ip at /etc/e-smith/events/interface-update/S70nethvoice-update-ip line 16.
esmith::event[9602]: Action: /etc/e-smith/events/interface-update/S70nethvoice-update-ip FAILED: 255 [0.073204]
If green interface is in dhcp, it has an IP assigned by interface-update event by S70network-start action. Since S70nethvoice-update-ip is before in alphabetical order, it is executed before dhcp assigned an ip to the interface and therefore IP is empty
Steps to reproduce
Expected behavior
nethvoice-update-ip action should be completed without errors
/opt/janus/etc/janus/janus.plugin.sip.cfg and /etc/flexisip/flexisip.conf configuration files should contain the green interface IP address received via DHCP
Actual behavior
nethvoice-update-ip fails
Some templates doesn't contains the green IP