THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#51 - route is not called and no error is produced
User who did this - Juha Heinanen (jh)
----------
i still think this is a bug, because trying to execute a non-existing route (in this case "$var(test)"), should produce an error to syslog.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=51#comment47
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has been re-opened:
FS#51 - route is not called and no error is produced
User who did this - Juha Heinanen (jh)
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=51
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has been re-opened:
FS#51 - route is not called and no error is produced
User who did this - Juha Heinanen (jh)
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=51
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#47 - allow choosing of avp syntax
User who did this - Andrei Pelinescu-Onciul (andrei)
Reason for closing: Implemented
Additional comments about closing: It's already implemented: start your .cfg file with #!KAMAILIO or #!OPENSER and you will have kamailio/openser syntax.
Use #!SER if you want ser syntax and nothing or #!ALL or #!MAXCOMPAT if you want the combination between the two (ser & k syntax in the same time).
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=47
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task is now closed:
FS#51 - route is not called and no error is produced
User who did this - Andrei Pelinescu-Onciul (andrei)
Reason for closing: Not a bug
Additional comments about closing: You are trying to execute the route "$var(test)" which does not exist (rvals are _not_ expanded when quoted).
It's the same as trying route("foobar").
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=51
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A user has added themself to the list of users assigned to this task.
FS#52 - pv argument support for route() function
User who did this - Juha Heinanen (jh)
http://sip-router.org/tracker/index.php?do=details&task_id=52
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Juha Heinanen (jh)
Attached to Project - sip-router
Summary - pv argument support for route() function
Task Type - Feature Request
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Medium
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - it would be good if route() function would be able to take the name of the route to be executed from a pv argument. that would avoid long switch statements in the script. also, together with #include capability, it would make possible to add new route blocks to the script without a need change the parts of the script that calls them.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=52
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A user has added themself to the list of users assigned to this task.
FS#51 - route is not called and no error is produced
User who did this - Juha Heinanen (jh)
http://sip-router.org/tracker/index.php?do=details&task_id=51
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Juha Heinanen (jh)
Attached to Project - sip-router
Summary - route is not called and no error is produced
Task Type - Bug Report
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Medium
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - i tested if route() with pv arg would work. i created a route block:
route [test] {
xlog("here we are\n");
return;
}
and then as the very first thing in the main route block i have:
$var(test) = "test";
route("$var(test)");
when i send the proxy a sip request, i don't get anything related to
this to syslog, i.e., no "here we are" line nor an error message.
if route() accepts a pv argument, then route [test] should be executed.
if it does not accept pv argument, an error should be produced.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=51
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Ovidiu Sas (osas)
Attached to Project - sip-router
Summary - inconsitent config.mak for different targets
Task Type - Bug Report
Category - tools/scripts
Status - Unconfirmed
Assigned To -
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - I'm working on building an rpm spec file for kamailio 3.0.1.
While building kamailio on CentOS I noticed that the default location for the config file is wrong (got /usr/etc/kamailio/ instead of /etc/kamailio/).
The make cfg options that I was using on centos are similar with the ones used to build a debian package.
I did an experiment by playing with the config options and the results are different based on 'cfg_prefix' and 'basedir' options.
Here are the steps to reproduce the issue (on a debian box):
# get the latest kamailio code:
cd /usr/local/src
rm -rf kamailio-3.0.1
git clone --depth 1 git://git.sip-router.org/sip-router kamailio-3.0.1
cd kamailio-3.0.1
git checkout -b kamailio_3.0 origin/kamailio_3.0
# configure kamailio in debian style:
make cfg prefix=/usr cfg_prefix=/usr/local/src/kamailio-3.0.1/debian/kamailio cfg_target=/etc/kamailio/ basedir=/usr/local/src/kamailio-3.0.1/debian/kamailio
# save the generated config.mak file:
cp config.mak config.mak.deb
#clean up the repo:
rm -rf config.mak modules.lst
# configure kamailio in centos style:
make cfg prefix=/usr cfg_prefix=/var/tmp/kamailio-3.0.1-buildroot cfg-target=/etc/kamailio/ basedir=/var/tmp/kamailio-3.0.1-buildroot
# save the generated config.mak file:
cp config.mak config.mak.centos
# run a diff between the two generated file:
diff config.mak.centos config.mak.deb
The output is quite different:
11c11
< C_DEFS= -DNAME='"kamailio"' -DVERSION='"3.0.1"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.3.2"' -D__CPU_i386 -D__OS_linux -DSER_VER=3000001 -DCFG_DIR='"/usr/etc/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DF_MALLOC -DUSE_TLS -DTLS_HOOKS -DSTATISTICS -DMALLOC_STATS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT
---
> C_DEFS= -DNAME='"kamailio"' -DVERSION='"3.0.1"' -DARCH='"i386"' -DOS='linux_' -DOS_QUOTED='"linux"' -DCOMPILER='"gcc 4.3.2"' -D__CPU_i386 -D__OS_linux -DSER_VER=3000001 -DCFG_DIR='"/etc/kamailio/"' -DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DDNS_IP_HACK -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP -DDISABLE_NAGLE -DHAVE_RESOLV_RES -DUSE_DNS_CACHE -DUSE_DNS_FAILOVER -DUSE_DST_BLACKLIST -DUSE_NAPTR -DF_MALLOC -DUSE_TLS -DTLS_HOOKS -DSTATISTICS -DMALLOC_STATS -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024 -DCC_GCC_LIKE_ASM -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN -DHAVE_SCHED_YIELD -DHAVE_MSG_NOSIGNAL -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_ALLOCA_H -DHAVE_TIMEGM -DHAVE_SCHED_SETSCHEDULER -DHAVE_EPOLL -DHAVE_SIGIO_RT -DSIGINFO64_WORKARROUND -DUSE_FUTEX -DHAVE_SELECT
53c53
< basedir= /var/tmp/kamailio-3.0.1-buildroot
---
> basedir= /usr/local/src/kamailio-3.0.1/debian/kamailio
57c57
< cfg_prefix= /var/tmp/kamailio-3.0.1-buildroot
---
> cfg_prefix= /usr/local/src/kamailio-3.0.1/debian/kamailio
75c75
< cfg_target= $(prefix)/$(cfg_dir)
---
> cfg_target= /etc/kamailio/
The cfg_target is not identical for the two config files and therefore when kamailio is built on CentOS, the default kamailio config file location is /usr/etc/kamailio/ instead of being /etc/kamailio/. I would expect the cfg_target to be identical in both cases.
Regards,
Ovidiu Sas
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=50
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.