Re: [SR-Users] Questions

2018-10-25 Thread YAS0 CANER
Hello Yu, it isnt related but i couldnt install rtpengine on Centos(6.X or 7.X) because when start rtpengine or restart system , network interfaces are disappeared. In addition , i think rtpproxy doesnt support T.38. Because i tried and asked on google group about T.38 , there isnt any answer

[SR-Users] Questions

2018-10-25 Thread Yu Boot
Hello. Have a following auestions on Kami 4.4.7. Centos 6.9 1. Dialog modules stores entire dialog data in SQL. When I do "kamctl restart", dialog data is still on SQL, but dialog module ignores it and start new dialog. I've expeced previous dialog will be catched up and contonue and finally

Re: [SR-Users] Postgres: server version < 9.5 does not support insert_update

2018-10-25 Thread Julien Chavanton
This is correct, insert_update is used instead of insert when needed and available by userloc. This is providing better consistency in some cases, because the insert will not fail in case of constraint violation but will update instead last one will prevail. Not a problem, just a warning to let yo

Re: [SR-Users] Kamailio Slack channel

2018-10-25 Thread Alex Balashov
We've got about 20 people now, so while it is early to proclaim enduring success, I think it illustrates that there are in fact a lot of Slack users here and that this phenomenon has some traction. If you have not yet joined, check it out: https://join.slack.com/t/kamailio/shared_invite/enQtND

Re: [SR-Users] Kamailio as SBC

2018-10-25 Thread Joel Serrano
Asterisk is compatible with "path" in pjsip. If you need it for chan_sip in was implemented in asterisk v12 AFAIR. On Wed, Oct 24, 2018 at 11:11 PM Ellad Yatsko wrote: > Hello Alex! > > 1. First of all I'd like to apologize about my yesterday unwise notice. :-) > > 2. Regarding your paragraph

Re: [SR-Users] Why set this flag on registration?

2018-10-25 Thread Isaac
Right. However, in this case I didn't think the "FLB_IPV6" flag was being used by any modules. I did some research and came across this on https://www.kamailio.org/dokuwiki/doku.php/utils:flags "branch flags - (NEW) are saved also in transaction, but per branch; also they will be saved in usrl

[SR-Users] How is ruid calculated

2018-10-25 Thread Kjeld Flarup
I got two tablets registering with the same username, this used to work but now I got a bug report that only one of them gets a call. I found out that the problem is in the ruid column as they both end up with this ruid value uloc-1-5bd0abe9-83c-e4 How is that ruid value calculated, and how c

Re: [SR-Users] Fwd: Set a system variable in the request route

2018-10-25 Thread Nicolas Breuer
Hello Joel, A lot of thanks ! It works indeed great 😊 Again thanks for your help De : sr-users De la part de Joel Serrano EnvoyĂ© : jeudi 25 octobre 2018 21:57 À : Kamailio (SER) - Users Mailing List Objet : Re: [SR-Users] Fwd: Set a system variable in the request route I just tested and it s

Re: [SR-Users] Fwd: Set a system variable in the request route

2018-10-25 Thread Joel Serrano
I just tested and it should work with jsonrpc_exec... root@sbc02:/etc/kamailio# kamctl rpc cfg.get system shutdownmode { "jsonrpc": "2.0", "result": 0, "id": 9809 } root@sbc02:/etc/kamailio# kamctl rpc cfg.set system shutdownmode 1 { "jsonrpc": "2.0", "result": { }, "id": 9890 } ro

Re: [SR-Users] add_authinfo_hdr not Added in 200 OK

2018-10-25 Thread Henning Westerholt
Am Donnerstag, 25. Oktober 2018, 10:30:35 CEST schrieb Seshu Kumar: > As you pointed out Authenticatio-Info header is prepared, but it > not added while forming 200 OK packet. > In ims_registrar_scscf module "200 OK" is formed in reply.c but no where I > see > Authentication-info header being add

Re: [SR-Users] Fwd: Set a system variable in the request route

2018-10-25 Thread Nicolas Breuer
Indeed it’s a Kamailio configuration variable Le 25 oct. 2018 Ă  21:39, Joel Serrano mailto:j...@textplus.com>> a Ă©crit : But wait, why are you using jsonrpc_exec for this? What you are talking about is a kamailio configuration parameter, not a system wide variable... I don't know how you can

Re: [SR-Users] Fwd: Set a system variable in the request route

2018-10-25 Thread Joel Serrano
But wait, why are you using jsonrpc_exec for this? What you are talking about is a kamailio configuration parameter, not a system wide variable... I don't know how you can change the value during runtime. On Thu, Oct 25, 2018 at 12:25 PM Joel Serrano wrote: > Hi Nicolas, > > I don't think the f

Re: [SR-Users] Fwd: Set a system variable in the request route

2018-10-25 Thread Joel Serrano
Hi Nicolas, I don't think the format of your jsonrpc_exec is correct. Try adding an 'id' and the 'params' to your jsonrpc_exec line: jsonrpc_exec('{"jsonrpc": "2.0","method": "cfg.set","params": ["system.shutdownmode=1"],"id": 1}'); Haven't tried it myself. On Thu, Oct 25, 2018 at 11:53 AM Ni

[SR-Users] Fwd: Set a system variable in the request route

2018-10-25 Thread Nicolas Breuer
Nobody can helps ??? Début du message transféré : Expéditeur: Nicolas Breuer mailto:nicolas.bre...@belcenter.biz>> Date: 22 octobre 2018 à 22:15:10 UTC+2 Destinataire: "Kamailio (SER) - Users Mailing List" mailto:sr-users@lists.kamailio.org>> Objet: Rép :⁚ [SR-Users] Set a system variable in

Re: [SR-Users] Kamailio Slack channel

2018-10-25 Thread Alex Balashov
Well, we've got 12 people on, so clearly there has been some interest. On Thu, Oct 25, 2018 at 08:39:52AM -0700, Joel Serrano wrote: > +1. I love the idea. Might work, might not, for me personally I can tell > you already it 100% works. > > Thanks guys for taking the initiative! > > > > On T

Re: [SR-Users] RtpEngine and iLBC support

2018-10-25 Thread Richard Fuchs
On 2018-10-25 11:15, Lars Olsson wrote: Hi, Can anyone give a quick answer regarding RtpEngine and support for iLBC codec? I have followed the instructions how to build and enable codecs according to the GitHub manual. But iLBC codec is missing when performing "rtpengine --codecs". I have

Re: [SR-Users] Kamailio Slack channel

2018-10-25 Thread Joel Serrano
+1. I love the idea. Might work, might not, for me personally I can tell you already it 100% works. Thanks guys for taking the initiative! On Thu, Oct 25, 2018 at 8:38 AM David Villasmil < david.villasmil.w...@gmail.com> wrote: > That's a great idea, though i doubt it'll get much traction... b

Re: [SR-Users] Kamailio Slack channel

2018-10-25 Thread David Villasmil
That's a great idea, though i doubt it'll get much traction... be right in! On Thu, Oct 25, 2018, 16:29 Alex Balashov wrote: > Hi, > > I'd like to submit for the community's consideration the idea of having > a Kamailio Slack channel. > > Emmanuel Schmidbauer took the initiative to create one: >

[SR-Users] Kamailio Slack channel

2018-10-25 Thread Alex Balashov
Hi, I'd like to submit for the community's consideration the idea of having a Kamailio Slack channel. Emmanuel Schmidbauer took the initiative to create one: https://kamailio.slack.com/ The sign-in link is: https://join.slack.com/t/kamailio/shared_invite/enQtNDY1NDc5MzMwNDIzLWJlNTFhYmYwO

[SR-Users] RtpEngine and iLBC support

2018-10-25 Thread Lars Olsson
Hi, Can anyone give a quick answer regarding RtpEngine and support for iLBC codec? I have followed the instructions how to build and enable codecs according to the GitHub manual. But iLBC codec is missing when performing "rtpengine --codecs". I have tried to google around for iLBC references, bu

Re: [SR-Users] Odd behavior comparing strings

2018-10-25 Thread Alex Balashov
On Thu, Oct 25, 2018 at 03:10:32PM +0100, Duarte Rocha wrote: > With "eq" it works as it should. Well, in principle, '==' ought to work as it should, too. It's still odd behaviour, I would agree. However, 'ne' and 'eq' are the operators explicitly designed for string comparisons. '==' and '!='

Re: [SR-Users] Why set this flag on registration?

2018-10-25 Thread Alex Balashov
Hi Isaac, Not all flags are explicitly used elsewhere in the logic of a config; some are used to convey information to modules. In this case: modparam("nathelper", "sipping_bflag", FLB_NATSIPPING) https://kamailio.org/docs/modules/5.1.x/modules/nathelper.html#nathelper.p.sipping_bflag

[SR-Users] Why set this flag on registration?

2018-10-25 Thread Isaac
Hello, In the example for a dual-stack IPv6/IPv4 Kamailio setup here: https://kb.asipto.com/kamailio:kamailio-mixed-ipv4-ipv6 the "FLB_IPV6" flag is being sent on IPv6 registrations. Why set this flag on IPv6 registrations? If I understand correctly, registration requests never make it beyond

Re: [SR-Users] Odd behavior comparing strings

2018-10-25 Thread Duarte Rocha
With "eq" it works as it should. Thanks :) ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Odd behavior comparing strings

2018-10-25 Thread Alex Balashov
Just out of curiosity, will this yield the same result? if($var(teste) eq 'Test') ? -- Sent from mobile. Apologies for brevity and errors. -Original Message- From: Duarte Rocha To: sr-users@lists.kamailio.org Sent: Thu, 25 Oct 2018 8:55 AM Subject: [SR-Users] Odd behavior comparing

[SR-Users] Odd behavior comparing strings

2018-10-25 Thread Duarte Rocha
Greetings, I found an odd behaviour in Kamailio and i would like to know if it's intentional. I've made this snippet for showing : $var(teste) = $null; if($var(teste) == "Test") { xerr("TEST : If returned true"); } The "if" returns true if the $var is $null or 0. I'm using the "cmp_str()" no

Re: [SR-Users] add_authinfo_hdr not Added in 200 OK

2018-10-25 Thread Seshu Kumar
Hello Henning, As you pointed out Authenticatio-Info header is prepared, but it not added while forming 200 OK packet. In ims_registrar_scscf module "200 OK" is formed in reply.c but no where I see Authentication-info header being added. Thanks in advance. regards Seshu Kumar On Mon, Oct 15, 201

Re: [SR-Users] kamailio + asterisk + webrtc

2018-10-25 Thread Kenan Kocaerkek
Hi Arish, Your issue is not related to the firewall. Sample SDP message announces local ip address for RTP. You need to update kamailio configuration for re-writing SDP messages with advertised external IP address. You can find details of rtpengine module for kamailio in this doc https://kamailio.

Re: [SR-Users] kamailio + asterisk + webrtc

2018-10-25 Thread arish haque
Hi, I am using this command for starting RTPengine - /usr/sbin/rtpengine --table=0 --interface=192.168.1.x\!182.75.xx.yy --listen-ng=127.0.0.1:2 --pidfile=/var/run/rtpengine.pid --log-level=6 --log-facility=local1 in kamailio.cfg --> listen=MY_SIP_ADDR advertise 182.75.xx.yy:5060 But still the

Re: [SR-Users] : hight shared memory usage

2018-10-25 Thread Henning Westerholt
Am Donnerstag, 25. Oktober 2018, 08:53:44 CEST schrieb Laurent Schweizer: > No, both server have the same script, the only difference is that they are > connected to different DB. > > We increase the max TLS connections because we plan to move some customer on > this proxy and we want to be ready