Re: [SR-Users] Kamailio CDRs for calls interrupted without BYE

2019-05-22 Thread David Villasmil
Silent-timeout, not silence. Corrector. On Wed, 22 May 2019 at 14:04, David Villasmil < david.villasmil.w...@gmail.com> wrote: > Have you tried setting the —silence-timeout on rtpengine? > > On Wed, 22 May 2019 at 13:56, Ildar Mukhametzhanov > wrote: > >> dlg_

Re: [SR-Users] Kamailio CDRs for calls interrupted without BYE

2019-05-22 Thread David Villasmil
_____ >> Kamailio (SER) - Users Mailing List >> sr-users@lists.kamailio.org >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> > > ___ > Kamailio (SER) - Users Mailing > Listsr-users@lists.kamailio.orghttps://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > > -- > > Sincerely, > *Ildar Mukhametzhanov* > Head of software development > VoiceON Telecom Services GmbH > i...@voice-on.net > t. +49 30 398 20 500-77 > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] How to get started (configuring an interconnection)

2019-05-21 Thread David Villasmil
Zurlindenstrasse 29 > <https://maps.google.com/?q=Zurlindenstrasse+29&entry=gmail&source=g> > Tel +41 61 826 93 00 > CH-4133 PrattelnFax +41 61 826 93 01 > Schweiz Web http://www.imp.ch > ______ > &

Re: [SR-Users] BYE relays Digest and others in Proxy-Authorization header

2019-05-19 Thread David Villasmil
ion. >>>> >>>> -- Juha >>>> >>>> ___ >>>> Kamailio (SER) - Users Mailing List >>>> sr-users@lists.kamailio.org >>>> https://lists.kamailio.org/cgi-b

Re: [SR-Users] Sip proxy for Asterisk with RFC3966 and 100Rel

2019-05-14 Thread David Villasmil
Did the patch not make it to master? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, May 14, 2019 at 8:31 PM Henning Westerholt wrote: > Hello Paolo, > > just to note, the tel2sip function has some issues, this is documented at >

Re: [SR-Users] define a DBURL with SLQOPS fails

2019-05-14 Thread David Villasmil
mypass@db.mydomaincom/kamailio%25> ... > > And in kamailio.cfg: > > modparam("acc", "db_url", "DBURL") > ... > modparam("sqlops","sqlcon", "cb=>DBURL") > ... > modparam("sqlops","sqlcon", &q

Re: [SR-Users] Sip proxy for Asterisk with RFC3966 and 100Rel

2019-05-14 Thread David Villasmil
__ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 _

Re: [SR-Users] sip trunk with kamailio

2019-05-14 Thread David Villasmil
onse > back. Any other, configuration is required which I'm missing. > > I have attached the tcpdump snapshot of the above scenario. > > Thanks, > > Arish > > > _______ > Kamailio (SER) - Users Ma

Re: [SR-Users] Sip proxy for Asterisk with RFC3966 and 100Rel

2019-05-14 Thread David Villasmil
/without RFC 3966 and somehow I can tell Kamailio to add (and strip) > the missing RFC 3969 part. > > > Il 13/05/19 23:49, David Villasmil ha scritto: > > Someone correct me if I’m wrong, but I believe Kamailio supports both. > > http://www.kamailio.org/docs/modules/0.9.x/u

Re: [SR-Users] Sip proxy for Asterisk with RFC3966 and 100Rel

2019-05-13 Thread David Villasmil
alls? > > And it is possible to connect all to an Asterisk server? > > Thank you in advance > > Best regards. > > Paolo Visnoviz > > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https:/

Re: [SR-Users] define a DBURL with SLQOPS fails

2019-05-12 Thread David Villasmil
Finally figured out how to do it: cfg: modparam("acc", "db_url", DBURL) ... modparam("sqlops","sqlcon", CBDBURL) ... modparam("sqlops","sqlcon", ASGDBURL) and startup: kamailio -f /etc/kamailio/kamailio.cfg -E \ -A 'DBURL="mysql://admin:mypass@db.mydomaincom/kamailio"' \ -A "CBDBURL=\"cb=>a

Re: [SR-Users] define a DBURL with SLQOPS fails

2019-05-12 Thread David Villasmil
, column 13-24: Can't get from cache: $sqlrows(cb) while hardcoded does work... Don't really know where to go from here... It seems sqlops just doesn't take a define as the dburl source Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Sun, M

Re: [SR-Users] define a DBURL with SLQOPS fails

2019-05-11 Thread David Villasmil
ing only standalone tokens, not inside string values, > like you have for sqlcon. > > More docs about should be in core cookbook from wiki. > > Cheers, > Daniel > On 11.05.19 02:05, David Villasmil wrote: > > yes that works. > > My problem is not with sqlops. > &

Re: [SR-Users] define a DBURL with SLQOPS fails

2019-05-10 Thread David Villasmil
://user:password@localhost/dbname" (quotes included) so modparam("sqlops","sqlcon","cb=>DBURL") translates into modparam("sqlops","sqlcon","cb=>"mysql://user:password@localhost/dbname"") and that, of course, fails. R

Re: [SR-Users] define a DBURL with SLQOPS fails

2019-05-10 Thread David Villasmil
that works great on modparam("domain", "db_url", DBURL) because it translates into: modparam("domain", "db_url", "mysql://user:admin@dbuser/dbname") But not on the sqlops case Regards, David Villasmil email: david.villasmil.w...@gmail.com pho

[SR-Users] define a DBURL with SLQOPS fails

2019-05-10 Thread David Villasmil
Hello guys, So, i'm defining: DBURL "mysql://user:password@dbhost/dbname" and later on... modparam("sqlops","sqlcon","cb=>"DBURL) and this fails miserably.. What do do on this case? Thanks all! Regards, David Villasmil email: da

Re: [SR-Users] How to configure Kamailio 5.1 with Asterisk pjsip

2019-05-08 Thread David Villasmil
/ I hope you learn how to ask for help in the future. Cheers David On Wed, 8 May 2019 at 14:37, Social Boh wrote: > Try and failure. The best for you. > > --- > I'm SoCIaL, MayBe > > On 5/8/19 07:31, PICCORO McKAY Lenz wrote: > > El dom., 5 de may. de 2019 a

Re: [SR-Users] HELP ME

2019-05-07 Thread David Villasmil
o//kamctl/kamdbctl.mysql for database engine MYSQL > > ERROR: database engine not loaded - tried 'MYSQL' >> > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailm

Re: [SR-Users] How to configure Kamailio 5.1 with Asterisk pjsip

2019-05-05 Thread David Villasmil
) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ___ Kamailio (SER) - Users Mailing List sr-users@lis

Re: [SR-Users] How to configure Kamailio 5.1 with Asterisk pjsip

2019-05-04 Thread David Villasmil
like for example login multiple endpoints on that same > credentials without logout previous endpoint. > > What I want? Proof of concept HA clouded PBX for multi-tenant clients > > sob., 4 maj 2019 o 20:59 David Villasmil > napisał(a): > >> You’re probably better off doi

Re: [SR-Users] How to configure Kamailio 5.1 with Asterisk pjsip

2019-05-04 Thread David Villasmil
t is good idea, maybe > not. > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villa

Re: [SR-Users] Kamailio bypassing RTP media

2019-05-03 Thread David Villasmil
__ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 __

Re: [SR-Users] Kamailio bypassing RTP media

2019-05-03 Thread David Villasmil
kamailio > >7.kamailio send bye to softswitch. > > > > Any help is appreciated. > > > > Regards, > > Ali Taher > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listin

Re: [SR-Users] forcing socket doesn't work for ACK

2019-05-03 Thread David Villasmil
t; internal servers instead of the egress (public) IP. > > Thanks, > Joel > > On Mon, Apr 1, 2019 at 13:54 David Villasmil < > david.villasmil.w...@gmail.com> wrote: > >> Well, >> >> As suggested, i decided to go with a single ip address. >> Thank

Re: [SR-Users] listening at link local IPv6 address

2019-04-21 Thread David Villasmil
(SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ___ Kamailio (SER) - Users Mailing L

Re: [SR-Users] listening at link local IPv6 address

2019-04-21 Thread David Villasmil
ers Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ___ Kamailio (SER) - Users Mailing List sr-user

Re: [SR-Users] push to talk over cellular application server and related media server implementation

2019-04-21 Thread David Villasmil
> ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 _

Re: [SR-Users] authentication using auth_db

2019-04-21 Thread David Villasmil
g > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] authentication using auth_db

2019-04-20 Thread David Villasmil
me know. > > thanks, > Arish > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337

Re: [SR-Users] Kamailio, TLS, and LetsEncrypt

2019-04-19 Thread David Villasmil
;<<<<<<<<<<<<<<<<<<<<<<<<<<<<<---- > > plz help > > > > -- > > > > > > > > > *Regards:* > Gaurav Kumar > >

Re: [SR-Users] authentication using auth_db module

2019-04-18 Thread David Villasmil
for suggestions. > > With Regards, > Arish > > > ___ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +3466944833

[SR-Users] After-parsing config file?

2019-04-18 Thread David Villasmil Govea
Hello all, Kind of a weird question: is it possible to get a config file AFTER it’s been parsed? I.e: after it’s skipped all non-defined blocks, after substdef have been applied, etc. In the form of a normal config file Is this possible? -- DVG -- Imagination is more important than knowledge

Re: [SR-Users] Use domain instead of IP in kamailio for register user

2019-04-18 Thread David Villasmil
mailio.org >>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >>> >> ___ >> Kamailio (SER) - Users Mailing List >> sr-users@lists.kamailio.org >> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users >> > > > -- > > > > >

Re: [SR-Users] Does Kamailio provide any API for other program to create sip account

2019-04-18 Thread David Villasmil
ers Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Rewrite private IP in SDP

2019-04-17 Thread David Villasmil
You need to paste the whole trace. There can be a private up VIA as long as the first VIA is an IP reachable. My point is, for audio issues, it’s not the VIA, it’s the SDP. On Thu, 18 Apr 2019 at 00:00, David Villasmil < david.villasmil.w...@gmail.com> wrote: > The VÍA is not really

Re: [SR-Users] Rewrite private IP in SDP

2019-04-17 Thread David Villasmil
__ > Kamailio (SER) - Users Mailing List > sr-users@lists.kamailio.org > https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users > -- Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Kamailio and CDR

2019-04-05 Thread David Villasmil
If > >>>>>>> documentation says different, maybe it was forgotten to be updated. > >>>>>>> > >>>>>>> Or you look for something different than using dialog+acc? > >>>>>>> > >>>>>>>

Re: [SR-Users] dispatcher "failover feature disabled"

2019-04-03 Thread David Villasmil
Nevermind everyone, i was looking in the wrong doc, it's: http://kamailio.org/docs/modules/5.0.x/modules/dispatcher Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Wed, Apr 3, 2019 at 8:16 PM David Villasmil < david.villasmil.w...@gmail.com> w

Re: [SR-Users] dispatcher "failover feature disabled"

2019-04-03 Thread David Villasmil
As suggested by @Joel Serrano i was missing modparam("dispatcher", "sock_avp", "$avp(s:dsp_uri_socket)") which is NOT documented on http://kamailio.org/docs/modules/5.0.x/modules/rtpengine.html#rtpengine.p.setid_default Thanks @Joel Serrano !! R

[SR-Users] dispatcher "failover feature disabled"

2019-04-03 Thread David Villasmil
ing_mode", 1) # size of hash table storing data for call load dispatching, power of two modparam("dispatcher", "ds_hash_size", 10) # expiration time in seconds to remove the load on a destination if no BYE was received modparam("dispatcher", "ds_hash_e

Re: [SR-Users] forcing socket doesn't work for ACK

2019-04-01 Thread David Villasmil
, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Apr 1, 2019 at 8:38 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > actually that's a good point, the default gateway. > But, ven if i have 2 different IPs, those 2 would still have dire

Re: [SR-Users] forcing socket doesn't work for ACK [solved]

2019-04-01 Thread David Villasmil
, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Apr 1, 2019 at 9:01 PM Antony Stone < antony.st...@kamailio.open.source.it> wrote: > On Monday 01 April 2019 at 21:51:13, David Villasmil wrote: > > > They're not, they're in the same

Re: [SR-Users] forcing socket doesn't work for ACK

2019-04-01 Thread David Villasmil
They're not, they're in the same subnet. At least on my tests. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Apr 1, 2019 at 8:47 PM Antony Stone < antony.st...@kamailio.open.source.it> wrote: > On Monday 01 April 2019 at 21:38:

Re: [SR-Users] forcing socket doesn't work for ACK

2019-04-01 Thread David Villasmil
actually that's a good point, the default gateway. But, ven if i have 2 different IPs, those 2 would still have direct contact with the private IPs. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Apr 1, 2019 at 8:27 PM Antony Stone < a

Re: [SR-Users] forcing socket doesn't work for ACK

2019-04-01 Thread David Villasmil
point taken. But if i do have two separate interfaces, i would still have the same issue, wouldn't i? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Apr 1, 2019 at 8:17 PM Antony Stone < antony.st...@kamailio.open.source.it> wrote: >

Re: [SR-Users] forcing socket doesn't work for ACK

2019-04-01 Thread David Villasmil
Hello Antony, I suppose i could, but i don't much like the thought. I would like to have totally separate IP/port combination. And, in any case, it wouldn't really answer the question, right? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On

Re: [SR-Users] forcing socket doesn't work for ACK

2019-04-01 Thread David Villasmil
I think i see what's happening, ACK is going through the REALY route, but at that point it does NOT have a$du (and $sndto(ip) is null) note: all those ERROR is juts me logging. ERROR:

Re: [SR-Users] forcing socket doesn't work for ACK

2019-04-01 Thread David Villasmil
blocking 5066. Only internal ips will be allowed to 5066. David Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Apr 1, 2019 at 7:35 PM Antony Stone < antony.st...@kamailio.open.source.it> wrote: > On Monday 01 April 2019 at 20:29:22, David

Re: [SR-Users] forcing socket doesn't work for ACK

2019-04-01 Thread David Villasmil
Sergiu, I don't think mhomed will help in this case, since both sockets are able to reach the endpoint. They are both on the same subnet. listen=udp:172.31.69.53:5060 advertuse PUBLIC:5060 listen=udp:172.31.69.53:5066 Regards, David Villasmil email: david.villasmil.w...@gmail.com

Re: [SR-Users] forcing socket doesn't work for ACK

2019-04-01 Thread David Villasmil
Thanks Sergiu, yep, mhomed=1 is there But it's still failing to select the right socket Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Apr 1, 2019 at 7:19 PM Sergiu Pojoga wrote: > Have you tried proposed suggestions? > > On Mon, Apr

Re: [SR-Users] forcing socket doesn't work for ACK

2019-04-01 Thread David Villasmil
8:5080 ACK sip:*TESTCALL@172.31.65.238:5080;transport=udp SIP/2.0. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Apr 1, 2019 at 7:08 PM Antony Stone < antony.st...@kamailio.open.source.it> wrote: > On Monday 01 April 2019 at 17:37:45, David Villasm

Re: [SR-Users] forcing socket doesn't work for ACK

2019-04-01 Thread David Villasmil
anyone? :) David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Apr 1, 2019 at 4:37 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Hello guys, > I have public and private IPs, and i need to force the sending socket > replying

[SR-Users] forcing socket doesn't work for ACK

2019-04-01 Thread David Villasmil
_OUTSIDE_PORT); } This works nicely, except for ACKs and potentially other packets sent statelessly? Anyone knows how to fix this? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] kamailio and rtpengine

2019-03-31 Thread David Villasmil
I was using 5.2 I just downgraded to 5.0 and it starts properly. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Sun, Mar 31, 2019 at 8:51 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > I've tried all the way up to > > /

Re: [SR-Users] kamailio and rtpengine

2019-03-31 Thread David Villasmil
I've tried all the way up to /usr/sbin/kamailio -P /var/run/kamailio/kamailio.pid -f /etc/kamailio/kamailio.cfg -M 1024 -m 2048 Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Sun, Mar 31, 2019 at 8:50 PM David Villasmil < david.villasmil.w...@g

Re: [SR-Users] kamailio and rtpengine

2019-03-31 Thread David Villasmil
in = 30000 port-max = 4 log-level = 7 log-facility = daemon Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Sun, Mar 31, 2019 at 8:42 PM Alex Balashov wrote: > Use -M to add more “package memory” (private memory per individual > Kamailio

[SR-Users] kamailio and rtpengine

2019-03-31 Thread David Villasmil
Hello guys, i'm trying to configure rtpengine, but when starting kamailio (with an empty table) i'm getting ```build_rtpp_socks(): no more pkg memory for rtpp_socks``` Can anyone help? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +3

Re: [SR-Users] kamailio 5.2.0 with empty table of rtpengine - kamailio doesn't start

2019-03-31 Thread David Villasmil
Hello Grant, Can you elaborate more on your solution? Thanks! Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, Feb 5, 2019 at 7:05 AM Grant Bagdasarian wrote: > I noticed it as well when switching from 5.2.0 to 5.2.1 using the docker > image

Re: [SR-Users] No Media in SIP Incoming calls

2019-01-10 Thread David Villasmil
t IP to use, something like: public ip: rtpproxy_manage("cor", "[PUBLIC-IP]"); private ip: rtpproxy_manage("co", "[PRIVATE-IP]"); good luck. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ On Thu, Jan 10,

Re: [SR-Users] Logging from cfg file

2018-12-29 Thread David Villasmil
yep: $cfg(route) added Jun 2017 Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Sat, Dec 29, 2018 at 10:09 PM * Paolo Visintin - evosip.cloud wrote: > Joel , you could use $cfg(route) ! > > I usually store my breadcrumbs in a define and use

Re: [SR-Users] Logging from cfg file

2018-12-29 Thread David Villasmil
I prefer using log(“L_ERR”, “[REQUEST_ROUTE]: $ci Register Request\n”); That way you have the route block where you are logging from and the Call-ID with your information string. (I mostly use L_ERR when debugging) Cheers On Sat, 29 Dec 2018 at 11:02, Mojtaba wrote: > Hi, > You could use xlog

Re: [SR-Users] kamailio does not responde if an rtpengine is unreachable

2018-12-25 Thread David Villasmil
You could also ask politely, as this IS open source, after all. On Tue, 25 Dec 2018 at 02:42, Juha Heinanen wrote: > * Paolo Visintin - evosip.cloud writes: > > > we solved starting with no rtpengine this produces at startup: > > WARNING: rtpengine [rtpengine_db.c:100]: rtpp_load_db(): No rtpprox

Re: [SR-Users] Automating installation

2018-11-29 Thread David Villasmil
Or you could just: echo "deb http://deb.kamailio.org/kamailio51 jessie main" >> /etc/apt/sources.list echo "deb-src http://deb.kamailio.org/kamailio51 jessie main" >> /etc/apt/sources.list apt-get update && apt-get install kamailio* To install 5.1 On Thu, 29 Nov 2018 at 15:37, Daniel-Constantin M

Re: [SR-Users] Dialiog and dispatcher

2018-11-27 Thread David Villasmil
Do i need to remove the load manually with `ds_load_update()` ?? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ On Tue, Nov 27, 2018 at 3:58 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Hello guys, > > I'm testing the

[SR-Users] Dialiog and dispatcher

2018-11-27 Thread David Villasmil
own, even though /usr/local/kamailio5/sbin/kamctl', 'dialog', 'show Output the correct amount of dialogs. I set the dialog handler just before relaying out: t_on_failure("RTF_DISPATCH"); set_dlg_profile("gateways","$du"); route(RELAY); And

[SR-Users] dispatcher: Get gateway current calls

2018-11-27 Thread David Villasmil
} else { xlog("L_ERR", "[DISPATCH] $ci: did NOT find a gateway to use!\n"); send_reply("404", "No destination"); exit; } xlog("L_DBG", "[DISPATCH] $ci: going to <$ru> via <$du>\n"); t_

Re: [SR-Users] issues with the debian repo for kamailio 5.2

2018-11-21 Thread David Villasmil
1024, BUF_SIZE 65535, DEFAULT PKG_SIZE 8MB poll method support: poll, epoll_lt, epoll_et, sigio_rt, select. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ On Wed, Nov 21, 2018 at 5:46 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: >

Re: [SR-Users] issues with the debian repo for kamailio 5.2

2018-11-21 Thread David Villasmil
you can always compile... I'll try on my end, see what happens Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ On Wed, Nov 21, 2018 at 5:39 PM Aleksandar Sosic wrote: > Hi guys, > > I was trying to install the last 5.2 kamailio version editi

Re: [SR-Users] from Asterisk to Kamailio

2018-11-20 Thread David Villasmil
Oh, sorry. I always add it and has come to be default on my config ;) Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ On Tue, Nov 20, 2018 at 4:45 PM Daniel-Constantin Mierla wrote: > A small correction: there is no WITH_DISPATCHER in the default swi

Re: [SR-Users] recording audio stream

2018-11-17 Thread David Villasmil
I think he’s using rtpproxy, not rtp-engine. :) On Sat, 17 Nov 2018 at 20:21, Alex Balashov wrote: > Hi, > > The documentation here explains fairly well how to set up the recording > component of RTPEngine. Recording is then enabled via a command sent in > the rtpengine_offer()/manage() functions

Re: [SR-Users] from Asterisk to Kamailio

2018-11-16 Thread David Villasmil
Your best bet is to use the default config, and enable: #!define WITH_MYSQL #!define WITH_AUTH #!define WITH_DISPATCHER add your users to the db, and the gateways to the dispatcher table with setid 1, you'll be good to go Regards, David Villasmil email: david.villasmil.w...@gmail.com

Re: [SR-Users] Which algorithm to use as load-balance

2018-11-16 Thread David Villasmil
Ok i got part of it to work: if(ds_select_routes("1=10;11=9", "D", "10")) The first 2 setid nodes are filled until the maxload value, looks good: DEBUG: dispatcher [dispatcher.c:679]: ki_ds_select_routes_limit(): routing with setid=1 alg=10 cnt=0 limit=0xa (10) DEBUG: dispatcher [dispatch.c:

Re: [SR-Users] Which algorithm to use as load-balance

2018-11-16 Thread David Villasmil
sorry, instead of ruri, i use destination. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ On Fri, Nov 16, 2018 at 5:31 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Hello Daniel, > > I compiled and i'm testing 5.2, bu

Re: [SR-Users] Which algorithm to use as load-balance

2018-11-16 Thread David Villasmil
hough it should be load-balancing round-robin to the 2 nodes on setid 1. And when those 2 nodes have 10 calls, then start sending to setid 11. Is my config wrong? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ On Thu, Nov 15, 2018 at 4:09 PM David Villasmil &

Re: [SR-Users] Which algorithm to use as load-balance

2018-11-15 Thread David Villasmil
n of the module at this moment. > > Cheers, > Daniel > On 15.11.18 16:48, David Villasmil wrote: > > Hey Daniel, > > Thanks for replying. Can I test this from master? > > David > On Thu, 15 Nov 2018 at 15:12, Daniel-Constantin Mierla > wrote: > >> Hello, &

Re: [SR-Users] Which algorithm to use as load-balance

2018-11-15 Thread David Villasmil
Hey Daniel, Thanks for replying. Can I test this from master? David On Thu, 15 Nov 2018 at 15:12, Daniel-Constantin Mierla wrote: > Hello, > > > On 14.11.18 23:16, David Villasmil wrote: > > Hello, > > > > Is it possible to set an algorithm like the follow

[SR-Users] Which algorithm to use as load-balance

2018-11-14 Thread David Villasmil
fs2 would be used, meaning the fs with the highest priority would be use UNLESS there's 20 calls on that server, in which case, the next server with the highest priority would be used. Thanks!, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448

[SR-Users] priority load balance

2018-11-14 Thread David Villasmil
VP_CNT)") modparam("dispatcher", "dstid_avp", "$avp(dsdstid)") modparam("dispatcher", "attrs_avp", "$avp(dsattrs)")``` Looking at the code, dstid_avp would be null, but not sure why? I have set in the table the priorities

Re: [SR-Users] from Asterisk to Kamailio

2018-11-14 Thread David Villasmil
You would be authenticating the calls TWICE, is this what you want? I found the easiest would be to just configure in your asterisk the Kamailio gateway as the proxy. I haven’t worked with asterisk in a while, but in freeswitch al that’s needed is adding a parameter called “proxy” and set the Kama

Re: [SR-Users] Error opening Kamailio's FIFO

2018-11-08 Thread David Villasmil
Verify both names are correct on kamailio.cfg and kamctlrc On Thu, Nov 8, 2018, 14:35 Markus wrote: > Hi list, > > when I run "/usr/sbin/kamctl address reload" I get: > > ERROR: Error opening Kamailio's FIFO /tmp/kamailio_fifo > ERROR: Make sure you have the line 'modparam("mi_fifo", "fifo_name"

Re: [SR-Users] Can't add permanent location

2018-10-31 Thread David Villasmil
doesn't say which param, upping the debug! Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ On Wed, Oct 31, 2018 at 6:24 PM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Hey thanks!! > > not working, but i'm finally

Re: [SR-Users] Can't add permanent location

2018-10-31 Thread David Villasmil
insert contact Oct 31 13:22:52 sip2 /usr/sbin/kamailio[1326]: DEBUG: jsonrpcs [jsonrpcs_fifo.c:461]: jsonrpc_fifo_server(): command executed - result: [kamailio_receiver_2583] [500] [0x143dd50] [{#012#011"jsonrpc":#011"2.0",#012#011"error":#0 Regards, David

Re: [SR-Users] USRLOC db_mode=4 and server_id

2018-10-31 Thread David Villasmil
Hey Darren, how do you issue the commad? I'm trying to add permanent location for a user and it's not working for me. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ On Mon, Aug 13, 2018 at 9:23 AM Darren Williams wrote: > I am currently u

Re: [SR-Users] Can't add permanent location

2018-10-31 Thread David Villasmil
Ok, I checked my config and i had save("location","0x01") which disables saving the location in db, now when i register i see the location in the table... But i still can't add a location: Some help would be appreciated! David Regards, David Villasmil email: david

[SR-Users] Can't add permanent location

2018-10-31 Thread David Villasmil
Hello all, I'm trying to add a permanent location. i’m using db_mode 1, use_domain = 1, i tried that command kamctl rpc ul.add location 361119...@m.domain.com sip:361119997@4.3.2.1 3600 0 sip:4.3.2.1:5060 Response is: { "jsonrpc": "2.0", "error": { "code": -32000, "message": "Execution Error"

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: >

Re: [SR-Users] Kamailio as SBC

2018-10-23 Thread David Villasmil
+1 Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ On Tue, Oct 23, 2018 at 1:31 PM Alex Balashov wrote: > Ellad, > > The reason for the lukewarm replies is not a failure on the part of the > public to understand the detailed content of your

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

2018-10-23 Thread David Villasmil
You don't, when forwarding a call out you need to configure rtpengine properly with rtpengine_offer([flags]), etc. You should read http://www.kamailio.org/docs/modules/5.0.x/modules/rtpeng On Tue, Oct 23, 2018, 11:28 arish haque wrote: > Hi Fred, > I have advertised the udp port in kamailio.cfg

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

2018-10-22 Thread David Villasmil
And asking rtpengine to forward via the private ip. On Mon, Oct 22, 2018, 12:47 Fred Posner wrote: > PFsense has no inherent problems for VoIP. Make sure you’re using an > advertised public address for SIP and RTP and also make sure you’re > forwarding RTP port range from outside to RTP engine.

Re: [SR-Users] pause/waiting Timer kamailio

2018-10-18 Thread David Villasmil
You might want to look at t_suspend On Thu, Oct 18, 2018, 14:56 Sergiu Pojoga wrote: > pause(10); > > A simple but probably not the best solution. > > On Thu, Oct 18, 2018, 8:25 AM Alex Balashov, > wrote: > >> Yes, see async module. >> >> -- >> Sent from mobile. Apologies for brevity and errors

Re: [SR-Users] Problem with Kamailio 4.2.0

2018-10-15 Thread David Villasmil
Are you detecting and managing NAT? On Mon, Oct 15, 2018, 16:57 José Antonio Gutiérrez Delgado < joseantonio...@arsoft-company.com> wrote: > Hi, > > I'm using Kamailio 4.2.0 and I'm developing a SIP-based application. > Today I made a test connecting two devices directly to an S7 sharing the > In

Re: [SR-Users] Kamailio with Asterisk as Media Relay

2018-10-11 Thread David Villasmil
The default config should help you understand. I'd recommend you read https://www.kamailio.org/wiki/tutorials/getting-started/main and take it from there. On Thu, Oct 11, 2018, 08:52 Alex Balashov wrote: > On Thu, Oct 11, 2018 at 09:37:05AM +0200, Benjamin Marty wrote: > > > Ok, that sounds perf

Re: [SR-Users] DIALPLAN Module: doubts about regular expression usage

2018-10-10 Thread David Villasmil
Or single-quotes On Wed, Oct 10, 2018, 11:50 Daniel-Constantin Mierla wrote: > Hello, > > this might be due to automatic translation of kamcmd for its parameters > that look like numbers, can you try with: > > kamcmd dialplan.translate 1 s:+39123456 > > If still fails, send here the log messages

Re: [SR-Users] Kamailio with Asterisk as Media Relay

2018-10-08 Thread David Villasmil
Also asterisk is a B2BUA, so if calls are delivered to the B side by asterisk, the B side will see call coming from the Asterisks, not from the Kamailio. On Mon, Oct 8, 2018, 15:54 Alex Balashov wrote: > On Mon, Oct 08, 2018 at 02:35:54PM +0200, Daniel Tryba wrote: > > > On Mon, Oct 08, 2018 at

Re: [SR-Users] force_send_socket

2018-10-07 Thread David Villasmil
the 10.10.0.209. but if i have: listen=udp:1.2.3.4:5060 listen=tcp:1.2.3.4:5060 listen=udp:10.10.0.209:5060 It takes the correct public socket. I'm positive i'm doing it wrong, but this is my case. I believe now i need to remove all cases of ";transport=tcp" ? Thank

Re: [SR-Users] force_send_socket

2018-10-07 Thread David Villasmil
I think this is related to the fact that the client is TCP and i'm trying to send to UDP. I just changed the client to UDP and the branch got sent properly from the public ip in udp... Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Oct 8, 2018

Re: [SR-Users] force_send_socket

2018-10-07 Thread David Villasmil
($avp(office)) - Appending branch\n"); append_branch("sip:$tU@1.2.3.4:5080"); $fs = 'udp:MY_PUBLIC_IP:5060'; } } Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Oct 8, 2018 at 1:55 AM David Vill

Re: [SR-Users] force_send_socket

2018-10-07 Thread David Villasmil
} } But no INVITE is ever sent out... with force_send_socket it would only use the private... Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Oct 8, 2018 at 1:31 AM Alex Balashov wrote: > Hi, > > 1. forc

[SR-Users] force_send_socket

2018-10-07 Thread David Villasmil
19:5060); Right after the "append_branch" to set the socket from where to send, but kamailio is still sending from the private ip. Any ideas? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ___

Re: [SR-Users] kamailio not forwarding 407

2018-09-26 Thread David Villasmil
Nevermind, figure it out... i had the #!ifdef WITH_BLOCK401407 define on.. it's working fine Thanks!! Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ On Wed, Sep 26, 2018 at 10:04 PM Alex Balashov wrote: > Do you have a failure_route that is c

<    1   2   3   4   5   6   7   >