THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#145 - crash at startup if listen address does not exist
User who did this - Juha Heinanen (jh)
----------
Forgot to include list of loaded modules.
-- juha
loadpath "/usr/lib/sip-proxy/modules"
ifelse(ENABLE_LUA, 1, `loadmodule "app_lua"')
loadmodule "auth"
loadmodule "avpops"
loadmodule "db_mysql"
loadmodule "tm"
loadmodule "lcr"
loadmodule "cfg_rpc"
loadmodule "ctl"
loadmodule "dialplan"
loadmodule "enum"
ifelse(ENABLE_GEOIP, 1, `loadmodule "geoip"')
loadmodule "mediaproxy"
loadmodule "mi_rpc"
loadmodule "mtree"
loadmodule "peering"
loadmodule "sdpops"
loadmodule "sl"
ifelse(ENABLE_TLS, 1, `loadmodule "tls"')
loadmodule "utils"
loadmodule "xmlrpc"
loadpath "/usr/lib/sip-proxy/modules_s"
loadmodule "domain"
loadpath "/usr/lib/sip-proxy/modules_k"
loadmodule "tmx"
loadmodule "cfgutils"
loadmodule "sqlops"
loadmodule "pv"
loadmodule "rr"
loadmodule "maxfwd"
loadmodule "usrloc"
loadmodule "registrar"
loadmodule "acc"
loadmodule "auth_radius"
loadmodule "misc_radius"
loadmodule "siputils"
loadmodule "permissions"
loadmodule "uac_redirect"
loadmodule "nathelper"
loadmodule "xlog"
loadmodule "pike"
loadmodule "msilo"
loadmodule "htable"
loadmodule "kex"
loadmodule "path"
loadmodule "textops"
loadmodule "rtimer"
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=145#comment292
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 a new comment added:
FS#153 - dialplan replacement with AVPs doesn't work
User who did this - Andrew Pogrebennyk (marduk)
----------
Ok, here it is:
Oct 5 09:06:30 sp1 /usr/sbin/kamailio[27050]: INFO: <script>: Applying callee-in domain rewrite rules using dpid '11' - M=INVITE R=sip:0991002@192.168.51.131 F=sip:user1@192.168.51.131 T=sip:0991002@192.168.51.131 IP=192.168.51.1:5070 (127.0.0.1:5060) ID=yxczvwqrrznvlma@darkstar
Oct 5 09:06:30 sp1 /usr/sbin/kamailio[27050]: INFO: <script>: avps are <43> <99>
Oct 5 09:06:30 sp1 /usr/sbin/kamailio[27050]: DEBUG: dialplan [dialplan.c:235]: searching 4
Oct 5 09:06:30 sp1 /usr/sbin/kamailio[27050]: DEBUG: dialplan [dialplan.c:251]: searching 7
Oct 5 09:06:30 sp1 /usr/sbin/kamailio[27050]: DEBUG: dialplan [dialplan.c:338]: input is 0991002
Oct 5 09:06:30 sp1 /usr/sbin/kamailio[27050]: DEBUG: dialplan [dp_repl.c:326]: regex operator testing
Oct 5 09:06:30 sp1 /usr/sbin/kamailio[27050]: DEBUG: dialplan [dp_repl.c:326]: regex operator testing
Oct 5 09:06:30 sp1 /usr/sbin/kamailio[27050]: DEBUG: dialplan [dp_repl.c:362]: found a matching rule 0x7fcf2246f450: pr 3, match_exp ^0([1-9][0-9]+)$
Oct 5 09:06:30 sp1 /usr/sbin/kamailio[27050]: DEBUG: dialplan [dp_repl.c:268]: copying pvar value <> token size 17
Oct 5 09:06:30 sp1 /usr/sbin/kamailio[27050]: DEBUG: dialplan [dp_repl.c:268]: copying pvar value <> token size 17
Oct 5 09:06:30 sp1 /usr/sbin/kamailio[27050]: DEBUG: dialplan [dp_repl.c:219]: copying match <991002> token size 2
Oct 5 09:06:30 sp1 /usr/sbin/kamailio[27050]: DEBUG: dialplan [dialplan.c:347]: input 0991002 with dpid 11 => output 991002
Oct 5 09:06:30 sp1 /usr/sbin/kamailio[27050]: INFO: <script>: Rewriting callee '0991002' to '991002' - M=INVITE R=sip:0991002@192.168.51.131 F=sip:user1@192.168.51.131 T=sip:0991002@192.168.51.131 IP=192.168.51.1:5070 (127.0.0.1:5060) ID=yxczvwqrrznvlma@darkstar
But there must be prefix 43 in output:
mysql> select * from dialplan where dpid=11\G
*************************** 1. row ***************************
id: 5
dpid: 11
pr: 0
match_op: 1
match_exp: ^(00|\+)([1-9][0-9]+)$
match_len: 0
subst_exp: ^(00|\+)([1-9][0-9]+)$
repl_exp: \2
attrs:
*************************** 2. row ***************************
id: 17
dpid: 11
pr: 3
match_op: 1
match_exp: ^0([1-9][0-9]+)$
match_len: 0
subst_exp: ^0([1-9][0-9]+)$
repl_exp: $avp(s:caller_cc)$avp(s:caller_ac)\1
attrs:
2 rows in set (0.00 sec)
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=153#comment291
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 a new comment added:
FS#145 - crash at startup if listen address does not exist
User who did this - Juha Heinanen (jh)
----------
I just built new sip router and at startup it is still crashing:
Oct 5 09:54:44 sip /usr/sbin/sip-proxy[12757]: ERROR: <core> [udp_server.c:401]: ERROR: udp_init: bind(9, 0xb7229fa0, 16) on 192.98.102.10: Cannot assign requested address
Oct 5 09:54:44 sip kernel: [67602.220819] sip-proxy[12757]: segfault at 786e6570 ip b7693e38 sp bfc5242c error 4 in libc-2.11.2.so[b7621000+140000]
i had sr running with this kind of interface configuration:
eth0 Link encap:Ethernet HWaddr 00:26:18:92:69:72
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:24
eth0:1 Link encap:Ethernet HWaddr 00:26:18:92:69:72
inet addr:192.98.102.10 Bcast:192.98.99.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
Interrupt:24
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:77636 errors:0 dropped:0 overruns:0 frame:0
TX packets:77636 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:15497470 (14.7 MiB) TX bytes:15497470 (14.7 MiB)
ppp0 Link encap:Point-to-Point Protocol
inet addr:87.93.95.247 P-t-P:10.0.0.1 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:18687 errors:0 dropped:0 overruns:0 frame:0
TX packets:15357 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:20198357 (19.2 MiB) TX bytes:1962241 (1.8 MiB)
then i gave command
# ifdown eth0:1
after which the ip (192.98.102.10) and its interface are gone and there is no ip on eth0 either.
i just made a new test and the crash happened also when i gave wrong ip address to eth0:1.
-- juha
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=145#comment290
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 a new comment added:
FS#145 - crash at startup if listen address does not exist
User who did this - Daniel-Constantin Mierla (miconda)
----------
Was there a fix for this? I tried to reproduce with latest master, but didn't happen. Does it still happen for you? If yes, can you list the loaded module?
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=145#comment289
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.
Daniel-Constantin Mierla has taken ownership of the following task:
FS#153 - dialplan replacement with AVPs doesn't work
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=153
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 a new comment added:
FS#153 - dialplan replacement with AVPs doesn't work
User who did this - Daniel-Constantin Mierla (miconda)
----------
Can you add an xlog with the value of avps before calling dp_translate(), something like:
xlog("avps are <$avp(s:caller_cc)> <$avp(s:caller_ac)>\n");
Redo the test and put again all the above log messages along with the new one. In the sources nothing looks bad, as I could spot so far.
----------
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=153#comment288
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.
Module: sip-router
Branch: master
Commit: 2a9b1cdc98d322032598d0c48fc4d7db085a83a0
URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=2a9b1cd…
Author: Carsten Bock <carsten(a)bock.info>
Committer: Carsten Bock <carsten(a)bock.info>
Date: Tue Oct 4 17:14:44 2011 +0200
- In active probing mode (ds_probing_mode=1) disable gateways not only on "408" but also on any non-successful reply (as per ds_reply_codes)
(e.g. SEMS replies with "503" when in shutdown mode)
---
modules_k/dispatcher/dispatch.c | 4 +---
modules_k/dispatcher/doc/dispatcher_admin.xml | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/modules_k/dispatcher/dispatch.c b/modules_k/dispatcher/dispatch.c
index f5f5242..2c28fb6 100644
--- a/modules_k/dispatcher/dispatch.c
+++ b/modules_k/dispatcher/dispatch.c
@@ -2342,9 +2342,7 @@ static void ds_options_callback( struct cell *t, int type,
LM_ERR("Setting the state failed (%.*s, group %d)\n", uri.len,
uri.s, group);
}
- }
- if(ds_probing_mode==1 && ps->code == 408)
- {
+ } else if (ds_probing_mode==1) {
if (faked_msg_init() < 0)
{
diff --git a/modules_k/dispatcher/doc/dispatcher_admin.xml b/modules_k/dispatcher/doc/dispatcher_admin.xml
index d6d961a..3aeb737 100644
--- a/modules_k/dispatcher/doc/dispatcher_admin.xml
+++ b/modules_k/dispatcher/doc/dispatcher_admin.xml
@@ -586,7 +586,7 @@ modparam("dispatcher", "force_dst", 1)
<para>
Controls what gateways are tested to see if they are reachable. If set
to 0, only the gateways with state PROBING are tested, if set to 1, all
- gateways are tested. If set to 1 and the response is 408 (timeout),
+ gateways are tested. If set to 1 and the is failure to the above list,
an active gateway is set to PROBING state.
</para>
<para>
Hi all
I'm trying to build kamailio on debian/wheezy. The compilation fails on
modules_k/mi_xmlrpc because of unsupported libxmlrpc-c3 version.
Here's the log:
xmlrpc.c: In function ‘rpc_scan’:
xmlrpc.c:1454:6: warning: variable ‘fmt_len’ set but not used
[-Wunused-but-set-variable] LD (gcc) [M xmlrpc.so] xmlrpc.so
CC (gcc) [M xmlops.so] pv_xml.o
CC (gcc) [M xmlops.so] xmlops_mod.o
LD (gcc) [M xmlops.so] xmlops.so
Makefile:46: You are using an unsupported libxmlrpc-c3 version (1.16.33),
compile at your own risk! Makefile:46: You are using an unsupported
libxmlrpc-c3 version (1.16.33), compile at your own risk!
CC (gcc) [Mmi_xmlrpc.so] abyss_conf.o
CC (gcc) [Mmi_xmlrpc.so] abyss_conn.o
CC (gcc) [Mmi_xmlrpc.so] abyss_data.o abyss_data.c:219:24: error: unknown
type name ‘TBuffer’ abyss_data.c:236:17: error: unknown type name ‘TBuffer’
abyss_data.c:249:26: error: unknown type name ‘TBuffer’
abyss_data.c:287:24: error: unknown type name ‘TString’
abyss_data.c:299:25: error: unknown type name ‘TString’
abyss_data.c:312:30: error: unknown type name ‘TString’
abyss_data.c:326:17: error: unknown type name ‘TString’
abyss_data.c:332:18: error: unknown type name ‘TString’
make[2]: *** [abyss_data.o] Error 1
make[1]: *** [modules_k] Error 1
make[1]: se sale del directorio `/usr/src/static/kamailiomaster'
make: *** [build-stamp] Error 2
dpkg-buildpackage: fallo: debian/rules build devolvió un estado de salida de
error 2
Is this something to handle or should I just blacklist that module in wheezy?
cheers,
Jon