Hi <br><br>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:<br><br>[...]<br>
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/<div class="gmail_quote">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<br>
[...]<br><br>When I try to start the proxy it complains about:<br><br>CRITICAL:core:yyerror: parse error in config file, line 432, column 1-2: syntax error<br>CRITICAL:core:yyerror: parse error in config file, line 432, column 1-2: invalid local_route statement<br>
<br>As you announced this feature for OpenSER 1.4 release series, I assume this is available for kamailio v1.4.2 ?<br><br>Best regards,<br>Pascal<br><br><br><br></div><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>
From: <b class="gmail_sendername">Pascal Maugeri</b> <span dir="ltr"><<a href="mailto:pascal.maugeri@gmail.com">pascal.maugeri@gmail.com</a>></span><br>Date: Wed, Oct 29, 2008 at 11:17 AM<br>Subject: How to enable local_route feature ?<br>
To: Henning Westerholt <<a href="mailto:henning.westerholt@1und1.de">henning.westerholt@1und1.de</a>><br>Cc: <a href="mailto:devel@lists.openser.org">devel@lists.openser.org</a>, openser users <<a href="mailto:users@lists.openser.org">users@lists.openser.org</a>><br>
<br><br>Hi <br><br>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:<br><br>
[...]<br>
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<br>
[...]<br><br>When I try to start the proxy it complains about:<br><br>CRITICAL:core:yyerror: parse error in config file, line 432, column 1-2: syntax error<br>CRITICAL:core:yyerror: parse error in config file, line 432, column 1-2: invalid local_route statement<br>
<br>As you announced this feature for OpenSER 1.4 release series, I assume this is available for kamailio v1.4.2 ?<br><br>Best regards,<br>Pascal<br><br><br><br><div class="gmail_quote">On Thu, Jun 26, 2008 at 1:11 PM, Henning Westerholt <span dir="ltr"><<a href="mailto:henning.westerholt@1und1.de" target="_blank">henning.westerholt@1und1.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div>On Friday 06 June 2008, Bogdan-Andrei Iancu wrote:<br>
> OpenSER has a new type of route: local route. This route is to be<br>
> executed when a brand new request is internally generated (openser being<br>
> the UAC) ; such requests are result of :<br>
> - t_uac_dlg MI command<br>
> - msilo, sms, presence, cpl-c, dialog (and others) modules<br>
</div>> [..]<br>
<br>
Hello all,<br>
<br>
the addition of this feature short before the code freeze caused some<br>
conflicts, which could not resolved sufficently in time for this release.<br>
Thus the OpenSER board was asked to decide in this matter. The majority of<br>
the board voted for decativating this feature in the 1.4 release series.<br>
<br>
For more details please take a look at the developer mailing list at [1], [2]<br>
and [3]. Details about the "dectivate" commit can be found at [4]<br>
<br>
The local route functionality is still available, but its not activated in the<br>
default installation. In order to use this feature its necessary to set<br>
the "USE_LOCAL_ROUTE" define in the "Makefile.defs" file and compile your own<br>
binary from the source. Then it will possible to use this feature.<br>
<br>
In the 1.5.0 release this functionality (or something resemble this) will be<br>
present, fully usable and supported.<br>
<br>
With best regards,<br>
<br>
Henning Westerholt<br>
<br>
<br>
[1] <a href="http://lists.openser.org/pipermail/devel/2008-June/014028.html" target="_blank">http://lists.openser.org/pipermail/devel/2008-June/014028.html</a><br>
[2] <a href="http://lists.openser.org/pipermail/devel/2008-June/014122.html" target="_blank">http://lists.openser.org/pipermail/devel/2008-June/014122.html</a><br>
[3] <a href="http://lists.openser.org/pipermail/devel/2008-June/014204.html" target="_blank">http://lists.openser.org/pipermail/devel/2008-June/014204.html</a><br>
[4] <a href="http://lists.openser.org/pipermail/devel/2008-June/014444.html" target="_blank">http://lists.openser.org/pipermail/devel/2008-June/014444.html</a><br>
<font color="#888888"><br>
<br>
--<br>
Henning Westerholt - Development Consumer Products / DSL Core<br>
1&1 Internet AG, Ernst-Frey-Str. 9, 76135 Karlsruhe, Germany<br>
</font><div><div></div><div><br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.openser.org" target="_blank">Users@lists.openser.org</a><br>
<a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>
</div><br>