[SR-Users] Call Transfer Scenario Using Freeswitch

2018-08-20 Thread Sunil More
Hi All, I am using kamailio and freeswitch in my setup. While all users are registered on Kamailio, calls are routed to Freeswitch back to kamailio and then upstream providers. I can make user to user calls but in cases of transfer I am stuck. I am using a Polycom IP phone to test this scenario.

[SR-Users] Best practice/routing block for TCP connection errors to UAC?

2018-08-20 Thread Anthony Alba
HI SR-Users Scenario: clients registered by TCP/TLS dropping off the network, kamailio stil thinks the client is registered and relays the INTIVE. The error occurs at the TCP layer so no failure route is called. ERROR: [core/tcp_main.c:2690]: tcpconn_1st_send(): connect 127.0.0.1:48338 failed

Re: [SR-Users] ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed

2018-08-20 Thread Henning Westerholt
Am Montag, 20. August 2018, 11:00:57 CEST schrieb Abdulaziz Alghosh: > i am at the final stages of emigrating from kamailio 3.0.3 to 5.1.0 > including our own module. Unluckily, after writing the command " kamctl > start", the following error is popping up: > > * PID file /var/run/kamailio.pid

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-20 Thread Henning Westerholt
Am Montag, 20. August 2018, 13:22:30 CEST schrieb Kevin Olbrich: > I browsed the files but was unable to find one using Kamailio as SBC > without exposing the Asterisk core. > > Most examples indeed expose the node and let media flow directly ( >

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-20 Thread Matthew Jordan
On Mon, Aug 20, 2018 at 1:04 PM Alex Balashov wrote: > On Mon, Aug 20, 2018 at 09:01:08PM +0300, Dmitri Savolainen wrote: > > > > > > > If Kamailio is going to act as your registrar, then you will need to > > > find some way to expose the registered contacts to Asterisk - > > > > > Matthew,

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-20 Thread Alex Balashov
On Mon, Aug 20, 2018 at 09:01:08PM +0300, Dmitri Savolainen wrote: > > > > If Kamailio is going to act as your registrar, then you will need to > > find some way to expose the registered contacts to Asterisk - > > > Matthew, could you explain why Asterisk have to know about reg contacts in > you

Re: [SR-Users] Dialplan priority

2018-08-20 Thread Dmitri Savolainen
hi, Igor > I'm not sure to understand in which situation "pr" value is used. > assume you want send 200 to 200 and others to 100 1. ^.*$ -> 100 2. ^200$->200 so you should set more priority to second rule (for avoid 200 to 100 translation) like 1. ^.*$ -> 100; pr=2 2. ^200$->200; pr=1 The

Re: [SR-Users] Kamailio 5.1 Nathelper sipping on different transport protocols.

2018-08-20 Thread Володимир Іванець
Dmitri and Daniel, thank you very much! 2018-08-20 20:22 GMT+03:00 Daniel Tryba : > On Mon, Aug 20, 2018 at 07:03:22PM +0300, ?? > ?? wrote: > > It works fine if client is connected over UDP. But as soon as I will > switch > > to TCP or register with client that uses

Re: [SR-Users] Kamailio 5.1 Nathelper sipping on different transport protocols.

2018-08-20 Thread Daniel Tryba
On Mon, Aug 20, 2018 at 07:03:22PM +0300, ?? ?? wrote: > It works fine if client is connected over UDP. But as soon as I will switch > to TCP or register with client that uses WS, Kamailio stops generating > OPTIONS. > > Does anyone know if it is correct behavior or

Re: [SR-Users] Kamailio 5.1 Nathelper sipping on different transport protocols.

2018-08-20 Thread Dmitri Savolainen
hi. It is ok; nathelper sends OPTIONS for UDP only, TCP is managed by core (by using params like "tcp_keepalive") On 20 August 2018 at 19:03, Володимир Іванець wrote: > Hello everyone! > > I have system with Kamailio v5.1 which needs to send OPTIONS packets to > all active clients. Here is

[SR-Users] Kamailio 5.1 Nathelper sipping on different transport protocols.

2018-08-20 Thread Володимир Іванець
Hello everyone! I have system with Kamailio v5.1 which needs to send OPTIONS packets to all active clients. Here is full Nathelper module configuration: *modparam("nathelper", "received_avp", "$avp(s:received)")* *modparam("nathelper", "natping_interval", 30)* *modparam("nathelper",

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-20 Thread Matthew Jordan
For what it's worth, we've set up a network/system where Asterisk resides completely on a private network with Kamailio acting as an edge proxy. RTPEngine is necessary as well to help the media through to the private network, but that's probably not surprising. It is completely doable, although

[SR-Users] Dialplan priority

2018-08-20 Thread igor.potjevlesch
Hello, I'm not sure to understand in which situation "pr" value is used. For example: if I have two identical rules except pr value: 1 with 1 and the second with 2, then the rule with pr 2 is never used. Someone can help me to understand? Thank you. The finality I'd like to accomplish

[SR-Users] Fail to reload htable

2018-08-20 Thread Soltanici Ilie
I'm trying to reload a hash table but receiving an error:  error: 500 - Mtree reload failed  [root@kamailio]# /usr/local/sbin/kamcmd htable.listTables {     name: auth     dbtable:     dbmode: 0     expire: 0     updateexpire: 1     size: 256      dmqreplicate: 0 } [root@kamailio]#

Re: [SR-Users] help

2018-08-20 Thread Pravin .
thanks for your support but the following command not worked properly.. 1. apt-get install mariadb-server after running this command it works but some depended packages not installed correctly..and then what will be next command as given below as it depends on earlier package installed .. 2. apt

Re: [SR-Users] help

2018-08-20 Thread Floimair Florian
Sorry, typo in my previous mail. Correct package name is: mariadb-server With best regards Florian Floimair Innovation - Software-Development COMMEND INTERNATIONAL GMBH A-5020 Salzburg, Saalachstraße 51 http://www.commend.com Security and Communication by Commend

Re: [SR-Users] help

2018-08-20 Thread Floimair Florian
MySQL is no longer part of Debian. Instead they now use the MySQL fork MariaDB. So instead of mysql-server use maria-db-server all the rest of the steps are the same. With best regards Florian Floimair Innovation - Software-Development COMMEND INTERNATIONAL GMBH A-5020 Salzburg,

Re: [SR-Users] What is the typical network setup for kamailio?

2018-08-20 Thread Kevin Olbrich
Hi Henning, I browsed the files but was unable to find one using Kamailio as SBC without exposing the Asterisk core. Most examples indeed expose the node and let media flow directly ( https://www.kamailio.org/events/2017-KamailioWorld/Day1/08-David.Casem-Building-A-Global-VoIP-Network.pdf -

Re: [SR-Users] Releasing Kamailio v5.1.5

2018-08-20 Thread Daniel-Constantin Mierla
Hello, short reminder that 5.1.5 is planned for mid of this week -- I backported many patches by end of last week, but it would be good that everyone checks to see if all patches relevant for own deployments were pushed to 5.1 branch. Cheers, Daniel On 14.08.18 15:21, Daniel-Constantin Mierla

[SR-Users] ERROR: PID file /var/run/kamailio.pid does not exist -- Kamailio start failed

2018-08-20 Thread Abdulaziz Alghosh
Greetings, i am at the final stages of emigrating from kamailio 3.0.3 to 5.1.0 including our own module. Unluckily, after writing the command " kamctl start", the following error is popping up: * PID file /var/run/kamailio.pid does not exist -- Kamailio start failed* Thus, I used the command "

Re: [SR-Users] remove_hf function in INVITE message

2018-08-20 Thread Daniel-Constantin Mierla
The message is broken indeed, at the part: Max-Forwards: 69     sip:7000@192.168.122.1:36853;transport=UDP;alias=192.168.122.1~36853~1To: Likely that is because you do couple of operations over the Contact header, besides remove_hf()/append_hf(), you use also set_contact_alias() or

Re: [SR-Users] JSONRPC-S and async RPC commands

2018-08-20 Thread Daniel-Constantin Mierla
On 18.08.18 19:16, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> I just pushed a commit in master branch, hopefully is fixing the issue >> -- let me know the results and if ok, it will be backported. > Daniel, > > Thanks for the commit. My tm.t_uac_wait test (using master) now