[SR-Users] Kamailio P-CSCF error on INVITE

2016-09-08 Thread Owais
Hi guys, Kamailio P-CSCF is unable to return true for: pcscf_is_registered("location") on INVITE and responds to the INVITE with: 403 Forbidden - You must register first with a S-CSCF Registration completes fine and I can see database with valid location entries though... Any ideas? Regards, Owa

Re: [SR-Users] app_lua with lua5.3

2016-09-08 Thread Péter Barabás
Hi, sorry for delay, I updated lua to 5.3 and luarocks also. I installed rocks which is based on lua 5.3. I tried to run lua script from Kamailio routing_logic, but it was not successful since app_lua module supports lua 5.1. I tried to re-compile app_lua module but with no success, needs some

[SR-Users] Kamailio 4.4.2 S-CSCF DB error

2016-09-08 Thread Owais
​I can see queries by S-CSCF like: The subscriber table doesn't contain presentity_uri as per: http://kamailio.org/docs/db-tables/kamailio-db-4.4.x.html#idp58608 Please share a valid mysql schema for tables used by s-cscf an

Re: [SR-Users] help with kamailio rpm made from source

2016-09-08 Thread ycaner
Hello; it is clear that kamailio crashs. Could you start with "kamailio -E -ddd" and then see logs. it gives hit. Probably libraries has some conflicts. -- View this message in context: http://sip-router.1086192.n5.nabble.com/help-with-kamailio-rpm-made-from-source-tp151601p151626.html Sent fr

[SR-Users] DSCP options

2016-09-08 Thread Marcelo Bonin
I need to set DSCP values in Kamailio, I couldn't found a way to set in the configuration. Any help will be appreciated. Thanks. ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-r

Re: [SR-Users] Call forking with delay

2016-09-08 Thread Igor Potjevlesch
Hello Daniel, The second option worked: - relay first to the fixed proxy, which will bounce back to mobile proxy the branch for mobile device But now if I want to be able to choose which phone (mobile or fixe) rings before I have tried by doing the "async_route("RELAY", "7");" in the fixe proxy

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Daniel Tryba
On Thu, Sep 08, 2016 at 04:50:50PM +0200, Federico Cabiddu wrote: > The issue with dispatcher is that, in case of TCP transport, you cannot set > the sending socket for the same reason. > Basically, each time a client TCP socket is open by Kamailio, the SO select > the port, due to the lack of supp

Re: [SR-Users] 4.4 topos ignoring Record-Route?

2016-09-08 Thread Daniel Tryba
On Tue, Sep 06, 2016 at 12:53:35PM +0200, Daniel-Constantin Mierla wrote: > > -Route to the callee has trailing nulls (starting from the first ACK to > > the callee (packet 7 in pcap)) > > [...] > Couldn't spot the real reason to have those zeors in the route value, I > added some trimming before i

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Yuriy Gorlichenko
I know about dispatcher but it not always canbe heplfull. Sometimes i need my own logic that not implemented at the dispatcher. For checking kamailio live from asterisk im use qualfy for keepalives, if i use asterisk only as media server but it not always usefull. Sometimes scenarios need to use a

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Yuriy Gorlichenko
I know about dispatcher but it not always canbe heplfull. Sometimes i need my own logic that not implemented at the dispatcher. For checking kamailio live from asterisk im use qualfy for keepalives, if i use asterisk only as media server but it not always usefull. Sometimes scenarios need to use a

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Federico Cabiddu
The issue with dispatcher is that, in case of TCP transport, you cannot set the sending socket for the same reason. Basically, each time a client TCP socket is open by Kamailio, the SO select the port, due to the lack of support for SO_REUSEPORT. Cheers, Federico On Thu, Sep 8, 2016 at 4:33 PM,

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Daniel Tryba
On Thu, Sep 08, 2016 at 03:38:32PM +0300, Yuriy Gorlichenko wrote: > I didnt thought about keepalive. I suppose it can help. Better than using qualify in asterisk is to use the dispatcher module in kamailio. The idea is the same, but more configurable and it is just 1 keepalive mechanisme so the a

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Yuriy Gorlichenko
hm. thanks for information. I will read this) nice to know that. Thx for advices again 2016-09-08 15:43 GMT+03:00 Daniel Tryba : > On Thu, Sep 08, 2016 at 02:43:03PM +0300, Yuriy Gorlichenko wrote: > > Like User sends registration, kamailio just Transcoding this request to > TCP > > and then rese

Re: [SR-Users] Evapi module is not broadcasting any data

2016-09-08 Thread Daniel-Constantin Mierla
It should be fixed now in the latest 4.4 and master branches. Cheers, Daniel On 07/09/16 08:58, Daniel-Constantin Mierla wrote: > > I forgot about it, I will investigate. > > Cheers, > Daniel > > > On 06/09/16 15:19, DanB wrote: >> >> Have noticed this thread remaining without a follow up. >> >>

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Daniel Tryba
On Thu, Sep 08, 2016 at 02:43:03PM +0300, Yuriy Gorlichenko wrote: > Like User sends registration, kamailio just Transcoding this request to TCP > and then resend this registration packet to Asterisk. > With this example asteisk must originate all PACKETS to TCP port of > kamailio but it tries to s

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Yuriy Gorlichenko
When packet arrives at from the WebSocket its length usually more that 1500 bytes THat is the problem. sometimes sdp data lost while sending. If asterisk at the sama machine it uses lo interface and then it is not a problem but for remote servers it can be. I didnt thought about keepalive. I suppo

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Daniel Tryba
On Thu, Sep 08, 2016 at 02:43:03PM +0300, Yuriy Gorlichenko wrote: > yes. Thats will be great because in some system design it must use same > port that listening for sendinf like in UDP for example for transcoding SIP > over WebSocket to SIP over TCP and masking registration behind thanscoder. >

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Yuriy Gorlichenko
yes. Thats will be great because in some system design it must use same port that listening for sendinf like in UDP for example for transcoding SIP over WebSocket to SIP over TCP and masking registration behind thanscoder. Like User sends registration, kamailio just Transcoding this request to TC

[SR-Users] help with kamailio rpm made from source

2016-09-08 Thread Dmitry
Hello I obtained the source from  https://www.kamailio.org/pub/kamailio/4.3.4/src/kamailio-4.3.4_src.tar.gz I found a SPEC file there and I prepared a RPM with this spec file. When I start a Kamailio (from this rpm) - it starts but the LOG file gives only 1 line:  INFO: [tcp_main.c:4657]: init_

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Daniel Tryba
On Thu, Sep 08, 2016 at 11:16:29AM +0200, Federico Cabiddu wrote: > about this subject: linux kernel starting from 3.9 introduced SO_REUSEPORT > which allows reusing TCP sockets. > It could be interesting supporting this in Kamailio. I worked on a patch > for this, I can open a PR and start a discu

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Federico Cabiddu
Hi, about this subject: linux kernel starting from 3.9 introduced SO_REUSEPORT which allows reusing TCP sockets. It could be interesting supporting this in Kamailio. I worked on a patch for this, I can open a PR and start a discussion if you think it's worth. Regards, Federico On Thu, Sep 8, 201

Re: [SR-Users] Kamailio send TCP packets from random ports

2016-09-08 Thread Daniel Tryba
On Wed, Sep 07, 2016 at 08:35:30PM +0300, Yuriy Gorlichenko wrote: > Before to send to asteisk any packet i added > $fs=ip.add.re.ss:port > > Also discribed > listen=tcp:ip.add.re.ss:port > > But kamailio send outgoing packets from random prot throug TCP > Presume i configured 5060 port but it se