Re: [SR-Users] Routing problem

2010-05-19 Thread Klaus Darilion
Lots of possible reasons: - different From: - different To - To and RURI differ ... It would be interesting to verify if direct calling still works if you use a numerical username (as what happens when dialing via Openser), or the other way round, when going via the SIP proxy but in From still

Re: [SR-Users] Routing problem

2010-05-19 Thread alet
Hi, On Tue, May 18, 2010 at 09:46:09AM +0200, Klaus Darilion wrote: > > As your config and the log messages seems to be correct, you should > debug on the network and verify which SIP messages are sent to which > location. You can use tcpdump/wireshark or the simple (my preferred > choice) ngrep t

Re: [SR-Users] Need help in routing configuration

2010-05-19 Thread Klaus Darilion
From Kamailio point of view everything is OK. There are just some issues with your network/TCP configuration. Kamailio is unable to open a TCP connection to 10.98.118.20, this can have several reasons: - no route to 10.98.118.20 - at 10.98.118.20 there is no application listening on port 5060

Re: [SR-Users] Siremis - missing cdr calcs and repeats

2010-05-19 Thread Anders
#2 of the issues below I "solved" - I restarted the box, and it caught up on the back-lag and is calculating everything right. I have no clue why, - but it works. The first one I still wonder about, so if any SIREMIS gurus have input, I'm all ears... //Anders On Wed, May 19, 2010 at 11:30 AM, An

Re: [SR-Users] Need help in routing configuration

2010-05-19 Thread Nelson Pereira
I did see that the TM module syntax did change, so I made the changes in the route, and it looks like this: # main request routing logic route{ if (!mf_process_maxfwd_header("10")) { sl_send_reply("483","Too Many Hops"); exit; }; if (msg:le

Re: [SR-Users] Need help in routing configuration

2010-05-19 Thread Alex Balashov
You might do well to specify what about it "doesn't work," e.g. log messages and such. If you're using Kamailio 3.0+, the reason is most likely that t_relay() invocation syntax has changed: http://www.kamailio.org/docs/modules/3.0.x/modules/tm.html#t_relay On 05/19/2010 01:41 PM, Nelson Pere

[SR-Users] Need help in routing configuration

2010-05-19 Thread Nelson Pereira
I have the bellow setup for openser, yet this wont work in Kamilio. Wondering if anyone could help to make this routing code work? What Im looking to do is receive Invites in UDP and relaying it via TCP route{ if (!mf_process_maxfwd_header("10")) { sl_send_reply("483",

[SR-Users] Siremis - missing cdr calcs and repeats

2010-05-19 Thread Anders
Hi, I'm having some challenges with Siremis, and it says on the project website that this list is the place to ask - so here are the two issues: 1. Repeats: I had problems with repeats in the cdrs table. This was possible, because I had forgotten to set the correct unique index (call_id + from_ta

Re: [SR-Users] Kamailio 3.0.1 output debug to terminal

2010-05-19 Thread Nelson Pereira
Thanks for the response, although I'm not seing anything coming out when tail'ing the syslog file. I only see when kamailio starts: May 19 10:22:14 qa-qsuitePBX-01 kamailio: INFO: [tcp_main.c:4150]: init_tcp: using epoll_lt as the io watch method (auto detected) May 19 10:22:14 qa-qsuitePBX-01

Re: [SR-Users] Routing problem

2010-05-19 Thread Klaus Darilion
Am 19.05.2010 13:40, schrieb Iñaki Baz Castillo: 2010/5/18 Klaus Darilion: 1. install ngrep apt-get install ngrep 2. capture the SIP traffic ngrep -d any -W byline -t -q -P "" port 5060 -d any: sniff on every interface (sometimes messages get lopped via the loopback interface, using -d any s

[SR-Users] Kamailio 3.0.1 output debug to terminal

2010-05-19 Thread Nelson Pereira
How do you output debug info to the terminal? I don't understand this : # Several features can be enabled using '#!define WITH_FEATURE' directives: # # *** To run in debug mode: # - define WITH_DEBUG How do I get debug and output to screen? Nelson Pereira

Re: [SR-Users] Acnnot get Kamailio to start ... GRRR

2010-05-19 Thread Nelson Pereira
Ok, I finally got it running with this deb package. I simply installed the kamailio_3.0.1_amd64.deb and nothing else. I changed the kamailio.cfg to listen on ports 5060, 5065, 5066 and 5067 on both TCP and UDP on the specific interface IP. Now I need to make the relay route? Or is this doen by d

Re: [SR-Users] Acnnot get Kamailio to start ... GRRR

2010-05-19 Thread Nelson Pereira
Ok, so looks like I was missing the openssl dependency. Now I have: -rw-r--r-- 1 root src 4074 2010-05-19 08:22 kamailio_3.0.1_amd64.changes -rw-r--r-- 1 root src 7489262 2010-05-19 08:22 kamailio_3.0.1_amd64.deb -rw-r--r-- 1 root src 1312 2010-05-19 08:16 kamailio_3.0.1.dsc -rw-r-

[SR-Users] could not open module kamailio

2010-05-19 Thread Bruno Bresciani
I compiled the route.so module to the kamailio but when I start kamailio the follow error is generated in the log file: "ERROR:core:sr_load_module: could not open module : /home2/local/kamailio/lib/kamailio/modules/route.so: undefined symbol: add_hash" Someone can help me? Cheers, Bruno ___

Re: [SR-Users] Acnnot get Kamailio to start ... GRRR

2010-05-19 Thread Nelson Pereira
This is what Im getting at the end of the make deb, and it's not making the debian package...: Makefile.defs defs skipped make[3]: Entering directory `/usr/src/kamailio-3.0.1/modules/tls' mkdir -p /usr/src/kamailio-3.0.1/debian/kamailio-tls-modules/etc/kamailio MAIN_NAME=kamailio ./sip-router_ce

Re: [SR-Users] Acnnot get Kamailio to start ... GRRR

2010-05-19 Thread marius zbihlei
Nelson Pereira wrote: r...@qa-qsuitepbx-01:/usr/local/sbin# file /bin/bash /bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped root:x:0:0:root:/root:/bin/bash Hello Nelson Please do a `file /bin/sh` not a `

Re: [SR-Users] Acnnot get Kamailio to start ... GRRR

2010-05-19 Thread Nelson Pereira
r...@qa-qsuitepbx-01:/usr/local/sbin# file /bin/bash /bin/bash: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), for GNU/Linux 2.6.8, dynamically linked (uses shared libs), stripped root:x:0:0:root:/root:/bin/bash Nelson Pereira -Original Message- From: marius zbihlei [mailto:mari

Re: [SR-Users] Routing problem

2010-05-19 Thread Iñaki Baz Castillo
2010/5/18 Klaus Darilion : > 1. install ngrep > apt-get install ngrep > > 2. capture the SIP traffic > ngrep -d any -W byline -t -q -P "" port 5060 > > -d any: sniff on every interface (sometimes messages get lopped via the > loopback interface, using -d any shows you alos the looped messages). > -

Re: [SR-Users] Kamailio 1.5 stops processing messages

2010-05-19 Thread marius zbihlei
Santiago Gimeno wrote: Hi, The problem happened again and I can provide some more info. 6 of the UDP worker processes got blocked. By checking the logs I can see that 4 of them, that seem to be related to the same INVITE request, got blocked at the same time. The other 2 got blocked some hour

Re: [SR-Users] Kamailio 1.5 stops processing messages

2010-05-19 Thread Santiago Gimeno
Hi, The problem happened again and I can provide some more info. 6 of the UDP worker processes got blocked. By checking the logs I can see that 4 of them, that seem to be related to the same INVITE request, got blocked at the same time. The other 2 got blocked some hours later and not at the same

Re: [SR-Users] Acnnot get Kamailio to start ... GRRR

2010-05-19 Thread marius zbihlei
Nelson Pereira wrote: That’s what Im following as instructions, and am now getting: r...@qa-qsuitepbx-01:/etc/default# /etc/init.d/kamailio start /etc/init.d/kamailio: 97: arithmetic expression: expecting primary: "" r...@qa-qsuitepbx-01:/etc/default# *From:* Elena-Ramona Modroiu [mailto:ram

Re: [SR-Users] Acnnot get Kamailio to start ... GRRR

2010-05-19 Thread Henning Westerholt
On Tuesday 18 May 2010, Nelson Pereira wrote: > That’s what Im following as instructions, and am now getting: > > r...@qa-qsuitepbx-01:/etc/default# /etc/init.d/kamailio start > /etc/init.d/kamailio: 97: arithmetic expression: expecting primary: "" > r...@qa-qsuitepbx-01:/etc/default# Hi Nelson,