[SR-Users] Database engine not found

2016-03-21 Thread Shiv Patidar
when i run this command kamctl fifo debug 6 then i got WARNING: database engine not found tried 'MYSQL' ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org

Re: [SR-Users] Kamailio 5.0 - Better way of dealing with stateless CANCELs

2016-03-21 Thread Alex Balashov
On 03/15/2016 05:29 AM, Daniel-Constantin Mierla wrote: Tracking only some routing info for invite to help with cancels can eventually done easier as suggested previously, even now. After considering what you have had to say on the complexities in TM, I agree. So, let's drop this item. --

Re: [SR-Users] Missing pipelimit values in data returned by JSONRPC-S

2016-03-21 Thread Daniel-Constantin Mierla
OK -- so all works, I backported to 4.4, will consider it for 4.3 with the next backports in that branch. Cheers, Daniel On 21/03/16 16:42, Brooks Bridges wrote: > Ergh... never mind, stupid typo on my part. It appears to be working. > > [root@dev-server ~]# curl -s --header 'Content-Type:

Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply

2016-03-21 Thread Daniel-Constantin Mierla
Hello, the forward() doesn't take variables as parameter, you have to set $ru or $du to the address where you want to send and then just use forward(). Also, rewrite*() functions do not work with variables. In assignments, inside the strings of expressions, the vars are not evaluated, you need

Re: [SR-Users] Removing Via and Record-Route headers

2016-03-21 Thread Alex Balashov
I grant that the necessary statekeeping is technically possible with enough spiritual commitment, yes, but would repeat my entreatment to ask whether it should be done just because it can be done. Nothing to do with "RFC purity", just a question of best-practical solution with fewest failure

Re: [SR-Users] Missing pipelimit values in data returned by JSONRPC-S

2016-03-21 Thread Brooks Bridges
Ergh... never mind, stupid typo on my part. It appears to be working. [root@dev-server ~]# curl -s --header 'Content-Type: application/json' --data-binary '{"jsonrpc": "2.0", "method": "pl.stats"}' http://1.2.3.4:5060/jsonrpc {"jsonrpc":"2.0","result":["PIPE: id=user_1 load=0 counter=0","PIPE:

Re: [SR-Users] Missing pipelimit values in data returned by JSONRPC-S

2016-03-21 Thread Brooks Bridges
Seems to have broken something. The CLI is returning as expected, but jsonrpc-s is throwing an error now. [root@dev-server pipelimit]# kamcmd pl.stats PIPE: id=user_1 load=0 counter=0 PIPE: id=user_2 load=0 counter=0 [root@dev-server pipelimit]# curl -s --header 'Content-Type:

[SR-Users] Kamailio Bridge

2016-03-21 Thread Nelson Migliaro
Hello, I am trying to set up a Kamailio in Bridge Mode with two interfaces using rtpproxy. The problem I have is SDP information port and IP is not updated from outside to inside. But on the other hand the SDP is rewrited from inside to outside. In the rtpproxy log I am seeing this error: Mar

Re: [SR-Users] TCP connection select problem

2016-03-21 Thread 张顺通
Have provided Callid, thanks. register callid 2bbadd72-d733-434e-bd06-45d9ddb5289b a7fa5d8f-1e46-4605-9a6e-08751bc75fee call 626fec11-684b-1234-d0b9-ecf4bbde9ef8 2016-03-21 16:45 GMT+08:00 Daniel-Constantin Mierla : > Quickly looked at the file and I see several calls there.

Re: [SR-Users] Kamailio 4.3.4: receive_msg(): no via found in reply

2016-03-21 Thread Grant Bagdasarian
Hello Daniel, Thank you for figuring this out and explaining it to me! This has helped me a lot! Regards, Grant From: Daniel-Constantin Mierla [mailto:mico...@gmail.com] Sent: Friday, March 18, 2016 4:33 PM To: Grant Bagdasarian ; Kamailio (SER) - Users Mailing List

Re: [SR-Users] What to read after RFC 3261 to get started with

2016-03-21 Thread Oivvio Polite
On ons, mar 16, 2016 at 08:46:22 +0100, Giovanni Maruzzelli wrote: > There is also a most exquisite book, written by Daniel and Ramona for > Asipto, called "Sip Routing with Kamailio", that is just what you are > looking for. > > Check it out, and buy it here: > >

Re: [SR-Users] LCR prefix based

2016-03-21 Thread Daniel-Constantin Mierla
Hello, did you use t_relay() after all the lcr logic? Cheers, Daniel On 10/03/16 23:19, Roberto Innaimi wrote: > Hi to all, > > i want to use prefix based LCR routing, but for some reason, something > is not working as expected. > > Can anyone help me? > > This is the LCR configuration: > >

Re: [SR-Users] Problem with Freeswitch with IP public and Kamailio behind NAT

2016-03-21 Thread Daniel-Constantin Mierla
Hello, On 11/03/16 05:17, Hai Bui Duc Ha wrote: > [] > View console log on Freeswitch, I see the ecallmgr response to FS3: > > 1. >

Re: [SR-Users] Kamailio behind NAT

2016-03-21 Thread Daniel-Constantin Mierla
Hello, do you have port 5060 forwarding from firewall to kamailio local IP address? Cheers, Daniel On 17/03/16 08:24, Safdar Khan wrote: > Hello > I have been running kamailio on local network including rtpengine and > freeswitch. > Now i am configuring kamailio with my public IP(trying with

Re: [SR-Users] TCP connection select problem

2016-03-21 Thread Daniel-Constantin Mierla
Quickly looked at the file and I see several calls there. All of them are exposing the issue? Or can you give the call-id of the call that didn't work fine? I don't want to lose time looking at all the calls, knowing one that is wrong is enough... Cheers, Daniel On 21/03/16 03:50, 张顺通 wrote: > I

Re: [SR-Users] Removing Via and Record-Route headers

2016-03-21 Thread Daniel-Constantin Mierla
Depending from case to case, the record-routing can be avoided, especially if you know the environment and only one server is used between two endpoints. At that moment you can store existing contact in htable and replace it with one having the server ip. You can eventually use uuid to generate