[OpenSIPS-Users] How to enable local_route feature ?

Pascal Maugeri pascal.maugeri at gmail.com
Wed Oct 29 11:17:55 CET 2008


Hi

Following your instructions I have enable the compilation defined in
Makefile.defs and recompile everything after a make clean. One capture of
the compilation for you to see the define is enable:

[...]
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott
-Wold-style-definition -Wmissing-field-initializers -Wredundant-decls
-DMOD_NAME='"uri_db"'    -DNAME='"kamailio"' -DVERSION='"1.4.2-notls"'
-DARCH='"i386"' -DOS='"linux"' -DCOMPILER='"gcc 4.0.2"' -D__CPU_i386
-D__OS_linux -D__SMP_yes -DCFG_DIR='"/usr/local/etc/kamailio/"' -DPKG_MALLOC
-DSHM_MEM  -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE
-DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL -DF_MALLOC
-DUSE_LOCAL_ROUTE  -DSVNREVISION='"2:5135M"'  -DFAST_LOCK -DADAPTIVE_WAIT
-DADAPTIVE_WAIT_LOOPS=1024  -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL
-DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_EPOLL -DHAVE_SIGIO_RT -DHAVE_SELECT -c
checks.c -o checks.o
[...]

When I try to start the proxy it complains about:

CRITICAL:core:yyerror: parse error in config file, line 432, column 1-2:
syntax error
CRITICAL:core:yyerror: parse error in config file, line 432, column 1-2:
invalid local_route statement

As you announced this feature for OpenSER 1.4 release series, I assume this
is available for kamailio v1.4.2 ?

Best regards,
Pascal



On Thu, Jun 26, 2008 at 1:11 PM, Henning Westerholt <
henning.westerholt at 1und1.de> wrote:

> On Friday 06 June 2008, Bogdan-Andrei Iancu wrote:
> > OpenSER has a new type of route: local route. This route is to be
> > executed when a brand new request is internally generated (openser being
> > the UAC) ; such requests are result of :
> >     - t_uac_dlg MI command
> >     - msilo, sms, presence, cpl-c, dialog (and others) modules
> > [..]
>
> Hello all,
>
> the addition of this feature short before the code freeze caused some
> conflicts, which could not resolved sufficently in time for this release.
> Thus the OpenSER board was asked to decide in this matter. The majority of
> the board voted for decativating this feature in the 1.4 release series.
>
> For more details please take a look at the developer mailing list at [1],
> [2]
> and [3]. Details about the "dectivate" commit can be found at [4]
>
> The local route functionality is still available, but its not activated in
> the
> default installation. In order to use this feature its necessary to set
> the "USE_LOCAL_ROUTE" define in the "Makefile.defs" file and compile your
> own
> binary from the source. Then it will possible to use this feature.
>
> In the 1.5.0 release this functionality (or something resemble this) will
> be
> present, fully usable and supported.
>
> With best regards,
>
> Henning Westerholt
>
>
> [1] http://lists.openser.org/pipermail/devel/2008-June/014028.html
> [2] http://lists.openser.org/pipermail/devel/2008-June/014122.html
> [3] http://lists.openser.org/pipermail/devel/2008-June/014204.html
> [4] http://lists.openser.org/pipermail/devel/2008-June/014444.html
>
>
> --
> Henning Westerholt - Development Consumer Products / DSL Core
> 1&1 Internet AG, Ernst-Frey-Str. 9, 76135 Karlsruhe, Germany
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081029/ddd62a3a/attachment.htm 


More information about the Users mailing list