Re: [SR-Users] Unknown caller gets online user's identity

2014-07-16 Thread g . aloitus
Hello, Has anybody any solution or suggestion? If I for example launch MicroSIP (no doubt it could be some other SIP client), and simply call: sip:some_extens...@my.public.ip.address call is established, if there is online user/users. Naturally this incoming call should be handled by

[SR-Users] rtpengine upgrade fails

2014-07-16 Thread Juha Heinanen
i build debian packages for rtpengine branch 3.3.0.0+0~mr3.4.1.0. after that i did 'apt-get dist-upgrade' and it failed like this: Setting up ngcp-rtpengine-daemon (3.3.0.0+0~mr3.4.1.0) ... Installing new version of config file /etc/init.d/ngcp-rtpengine-daemon ... Restarting RTP/media proxy:

Re: [SR-Users] have problem with iptel account

2014-07-16 Thread Daniel-Constantin Mierla
Hello, if you are discussing about using the free iptel.org sip service, then the appropriate mailing list is at: - http://lists.iptel.org/mailman/listinfo/services Cheers, Daniel On 15/07/14 05:28, Samhu wrote: hi, This is Sam from Draytek Crop. We have a IPPBX device with iptel for SIP

Re: [SR-Users] BUG: ip_addr2sbuf: unknown address family 0

2014-07-16 Thread Daniel-Constantin Mierla
Hello, the timer executes using a fake sip request which doesn't have all the attributes related to source and destination address. Perhaps exec_avp() tries to set one of these addresses as a environment variable. I will check the code and try to come up with a fix. Cheers, Daniel On

Re: [SR-Users] Msilo not delivering message (status 408)

2014-07-16 Thread Daniel-Constantin Mierla
Hello, can you watch the sip traffic on the network to see if the sip messages is sent out? You can use ngrep, like: ngrep -d any -qt -W byline sip port 5060 Cheers, Daniel On 14/07/14 19:56, Peter Villeneuve wrote: Hi, This is most likely a stupid mistake on my route config, but msilo

[SR-Users] Rtpproxy redundancy

2014-07-16 Thread Dren Daka
Hi, I'm using kamailio with two network interfaces also running rtpproxy on the same interfaces so rtpproxy is load balancing, when one of the connections is down rtprpoxy still sends 50% of the calls in that interface. How can i make rtprpoxy to do failover from the non working connection to the

[SR-Users] KAMILIO-4.1.4 REGISTRATION ISSUE

2014-07-16 Thread Cibin Paul
I have kamailio 4.1.4 installed with DB Engine as mysql. I added users using the command kamctl add and I could see the entry in subscriber table. When I am trying to register, kamailio is accepting any combination of username and password not listed in the table. What could be wrong? I

Re: [SR-Users] KAMILIO-4.1.4 REGISTRATION ISSUE

2014-07-16 Thread g . aloitus
Hello, And you have: #!define WITH_MYSQL and #!define WITH_AUTH in you kamailio.cfg? Best, Teijo 16.7.2014 14:38, Cibin Paul kirjoitti: I have kamailio 4.1.4 installed with DB Engine as mysql. I added users using the command kamctl add and I could see the entry in subscriber table. When I

Re: [SR-Users] KAMILIO-4.1.4 REGISTRATION ISSUE

2014-07-16 Thread Cibin Paul
Hello, I have the following configuration #!ifdef WITH_MYSQL loadmodule “db_mysql.so #!ifdef WITH_AUTH loadmodule auth.so loadmodule auth_db.so #!ifdef WITH_USRLOCDB modparam(usrloc, db_url, DBURL) modparam(usrloc, db_mode, 2) modparam(usrloc, use_domain, MULTIDOMAIN) #!endif #!ifdef WITH_AUTH

Re: [SR-Users] KAMILIO-4.1.4 REGISTRATION ISSUE

2014-07-16 Thread g . aloitus
Hello, To get code within #!ifdef block to be executed, yo have to place corresponding #!define statements on top of kamailio.cfg, just after #!KAMAILIO line. Best, Teijo 16.7.2014 15:21, Cibin Paul kirjoitti: Hello, I have the following configuration #!ifdef WITH_MYSQL loadmodule

[SR-Users] Condition Statements - How many levels

2014-07-16 Thread Joel White
I was wondering how many levels deep in conditional _if_ _else_ statements can go. I need to create a statement that has 4 possible outcomes and need to know if this is possible. I have two variables I want one thing to happen if only the first variable is present Another if only the second

Re: [SR-Users] KAMILIO-4.1.4 REGISTRATION ISSUE

2014-07-16 Thread Cibin Paul
Hello, It is working now. Thanks for your prompt help. Regards Cibin On 16-Jul-2014, at 6:16 pm, g.aloi...@gmail.com wrote: Hello, To get code within #!ifdef block to be executed, yo have to place corresponding #!define statements on top of kamailio.cfg, just after #!KAMAILIO line.

Re: [SR-Users] rtpengine upgrade fails

2014-07-16 Thread Richard Fuchs
On 07/16/14 03:21, Juha Heinanen wrote: i build debian packages for rtpengine branch 3.3.0.0+0~mr3.4.1.0. after that i did 'apt-get dist-upgrade' and it failed like this: Setting up ngcp-rtpengine-daemon (3.3.0.0+0~mr3.4.1.0) ... Installing new version of config file

Re: [SR-Users] how to remove non-digits using dp_translate

2014-07-16 Thread Henry Fernandes
Can anyone show me how to use the regexp global flag using dp_translate? -H From: Henry Fernandes he...@usinternet.com Reply-To: Kamailio (SER) - Users Mailing List sr-users@lists.sip-router.org Date: Friday, 11 July, 2014 4:18 PM To: mico...@gmail.com, Kamailio (SER) - Users Mailing List

Re: [SR-Users] Msilo not delivering message (status 408)

2014-07-16 Thread Peter Villeneuve
Thanks for your help Daniel. OK I ngrepped port 5060 and indeed the message tries to get delivered. However it never arrives at the client (1010 in this case). I have added localhost listeners for UDP and TCP, even though all clients register through TLS only (could this be the root of the

Re: [SR-Users] Msilo not delivering message (status 408)

2014-07-16 Thread Peter Villeneuve
And here's the full routing block. I copied it from someone else on the list that was troubleshooting msilo a while back. Also, I can confirm the message never gets delivered because it remains in msilo DB and kamailio logs shows it trying and trying. ### Routing Logic # Main SIP

[SR-Users] Some of the calls drops after 15 minutes + some seconds

2014-07-16 Thread Andras FOGARASI
Hi, I have a simple kamailio install (2 servers, using location service and a failover node with dispatcher, STUN, clients behind different NATs), without rtpproxy, only peer-to-peer RTP and TURN server if the connection is really messy (it's not relevant here). Signaling is over TLS. Both of

Re: [SR-Users] Some of the calls drops after 15 minutes + some seconds

2014-07-16 Thread Daniel-Constantin Mierla
Hello, I expect that the signaling is ok at least for call setup. From signling point of view, I can think of following situations: - endpoints send keep alive packets (or session updates) which are no answered. You can add an xlog(...) at the top of request_route{} and reply_route{} blocks

Re: [SR-Users] Really need help on kamailio-snmpstats module

2014-07-16 Thread Daniel-Constantin Mierla
Hello, there are several specs in the source tree, perhaps some need to be updated or removed. Can you point the path to the one you used? Cheers, Daniel On 11/07/14 04:25, Allen Zhang wrote: Hi, There is a bug in the kamailio.spec file from kamailio-4.0.0.0’s source code directory (if

Re: [SR-Users] Some of the calls drops after 15 minutes + some seconds

2014-07-16 Thread Frank Carmickle
On Jul 16, 2014, at 3:54 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, I expect that the signaling is ok at least for call setup. From signling point of view, I can think of following situations: - endpoints send keep alive packets (or session updates) which are no

Re: [SR-Users] Some of the calls drops after 15 minutes + some seconds

2014-07-16 Thread Andras FOGARASI
On 7/16/14, 10:00 PM, Frank Carmickle wrote: On Jul 16, 2014, at 3:54 PM, Daniel-Constantin Mierla mico...@gmail.com wrote: Hello, I expect that the signaling is ok at least for call setup. From signling point of view, I can think of following situations: - endpoints send keep alive

[SR-Users] Kamailio RtpProxy MHomed

2014-07-16 Thread Pascal Fautré
Hi, I tried to use Kamailio / RTPProxy in mhomed setup without any luck. I had no problem to configure it with only 1 interface, without mhomed, everything worked perfectly. The RTP streams where not established correctly even if I managed to have to proper IP in the SIP INVITE (C O).

Re: [SR-Users] Condition Statements - How many levels

2014-07-16 Thread Brandon Armstead
Joel, You are looking for something like this logically: if(!($var(is_a_present) == $null $var(is_b_present))){ # a and b exist } else if(!($var(is_a_present) == $null){ # a exists } else if(!($var(is_b_present) == $null)){ # b exists } else { # failover } Sincerely, Brandon Armstead On

Re: [SR-Users] Condition Statements - How many levels

2014-07-16 Thread Brandon Armstead
Joel, Forgot second half of initial if if(!($var(is_a_present) == $null $var(is_b_present) *== $null)*){ # a and b exist } else if(!($var(is_a_present) == $null){ # a exists } else if(!($var(is_b_present) == $null)){ # b exists } else { # failover } On Wed, Jul 16, 2014 at 1:37 PM,

Re: [SR-Users] Really need help on kamailio-snmpstats module

2014-07-16 Thread Allen Zhang
Hi, We cloned the kamailio 4.0.0 repository and the spec file was in the source directory: ~/kamailio-4.0.0/pkg/kamailio/centos/6/kamailio.spec Cheers, Allen From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Thursday, 17 July 2014 7:57 a.m. To: Allen Zhang; Kamailio (SER) -

Re: [SR-Users] Kamamilio ignores RTP engine returned string

2014-07-16 Thread Richard Fuchs
On 07/16/14 17:25, Yuriy Gorlichenko wrote: Hello Rtpengine (rtpproxy-ng module) works fine with kamailio till today. Without any changes at kamailio or rtpengine kamailio ignores changed by rtpengine SDP content. To check this I use sdp_get() and after tying to call I print avp from this

Re: [SR-Users] Kamamilio ignores RTP engine returned string

2014-07-16 Thread Yuriy Gorlichenko
I see SDP body at Asterisk behind kamamilio, And I see that body have no changes. 2014-07-17 1:37 GMT+04:00 Richard Fuchs rfu...@sipwise.com: On 07/16/14 17:25, Yuriy Gorlichenko wrote: Hello Rtpengine (rtpproxy-ng module) works fine with kamailio till today. Without any changes at