Re: [sipX-dev] sipx-config: Please apply the following patch to bridge-sbc.xml
M. Ranganathan wrote:
On Wed, Aug 20, 2008 at 3:08 PM, Damian Krzeminski <damian@xxxxxxxxxxx> wrote:
M. Ranganathan wrote:
Attached (includes test case modifications).
Thanks
I am getting test errors after applying the patch.
[junit] TEST
org.sipfoundry.sipxconfig.admin.dialplan.sbc.SbcDeviceManagerImplTestIntegration
FAILED
[...]
Hello,
That test is no longer valid as sipxbridge uses sipxrelay and hence
does not have a port range of its own.
Ranga
Well - the test itself is valid
(SbcDeviceManagerImplTestIntegration.testSaveErrorMaxAllowed)
It's just that after applying the patch storeSbcDevice does not work
anymore. (At the risk of stating the obvious: it's good thing that test
caught it, you would not be able to save sipXbridge configuration if I just
applied the patch)
Someone needs to look at checkForRTPPortRangeOverlap and see how it needs
to be changed. I would think that since SbcBridge does not have its own
port range it can be safely removed, right?
And - there is nearly an exact copy of the same function in
NatTraversalManagerImpl, which tells me we should have more tests failing
not just one ;-)
Any volunteers to clean it up?
Damian