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.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A user has added themself to the list of users assigned to this task.
FS#49 - per module debug level
User who did this - Ovidiu Sas (osas)
http://sip-router.org/tracker/index.php?do=details&task_id=49
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 - per module debug level
Task Type - Feature Request
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - One feature that I'm missing is a per module debug level.
Sometimes, having all the modules at the same debug level may be heavy. Having only one or a few module with a higher debug level then the others may help in debugging issues that are happening in realtime traffic.
If work is scheduled for FS#48 - per transaction debug level, then it might be a good time to combine the work for this two feature requests.
Regards,
Ovidiu Sas
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=49
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 - per transaction debug level
Task Type - Feature Request
Category - Core
Status - Assigned
Assigned To - Andrei Pelinescu-Onciul
Operating System - All
Severity - Low
Priority - Normal
Reported Version - Development
Due in Version - Undecided
Due Date - Undecided
Details - allow overriding debug level per transaction. for example, that would allow logging OPTIONS requests at lower debug level than what default debug level is.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=48
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#48 - per transaction debug level
User who did this - Juha Heinanen (jh)
http://sip-router.org/tracker/index.php?do=details&task_id=48
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#47 - allow choosing of avp syntax
User who did this - Juha Heinanen (jh)
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.