[Serusers] route managment
Andrei Pelinescu-Onciul
pelinescu-onciul at fokus.fraunhofer.de
Wed Jul 14 22:50:31 CEST 2004
On Jul 14, 2004 at 15:43, Andres <andres at telesip.net> wrote:
>
> >>approach is completely impractical for a large network. Just imagine a
> >>network with 20 Gateways...100 Gateways...
> >>
> >>
> >
> > You can use m4 (or any other) preprocessor to generate the
> > configuration file. It is not the best solution but it certainly
> > helps. A sample file for m4 can be found in sip_router/etc/rules.m4,
> > sample config file using this approach is in
> > sip_router/etc/ser.cfg.m4 (in unstable cvs branch).
> >
> > Jan.
> >
> >
> Hi Jan,
>
> Maybe I am missing something here but I thought ser.cfg had a limit of
> 20 route blocks. Even if we use m4 wouldn't we have this limit? If so
> then how can we implement 100 gateway routes elegantly in their own
> route block? Must we stuff 5 per route block or all in one huge PSTN
> route block?
Yes, it has a 20 route blocks limit by _default_.
Change RT_NO in config.h to 100 (or 10000 if you want :-)) and
recompile.
Andrei
More information about the sr-users
mailing list