Hi,

In order to add a SIP Trunk ...
 - added 'sipTrunk' in 'Name' field;
 - checked 'Use built-in SIP Trunk SBC';
 - chose 'VoIP User' from a 'Use provider template' combox;
 - pressed 'Apply' button.
After that I noticed that sipxbridge.xml file is unchanged.

This is because in GatewayContextImpl.storeGateway(Gateway gateway)
method the code looks like ...
boolean isNew = gateway.isNew();
// Replicate occurs only for update gateway
        if (!isNew) {
            m_dialPlanActivationManager.replicateDialPlan(true);
            SbcDevice sbc = gateway.getSbcDevice();
            if (sbc != null) {
                sbc.generateProfiles(sbc.getProfileLocation());
                sbc.restart();
            }
        }

So, only if I press twice the 'Apply' button, the sipxbridge.xml file is
changed (populated with '<itsp-account> tag).

Does anyone know the reason for replicating sipxbridge.xml and dial plan
files only when gateway is updated (not also on gateway creation)?
Do you think we should change this and to replicate sipxbridge.xml also on
gateway creation?

Thanks,
Laurentiu
_______________________________________________
sipx-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-dev/

Reply via email to