Re: [SR-Users] Carrierroute, fallback, reinvites

2017-08-12 Thread David Villasmil
There's probably thousands of setup like that, it works great. On Aug 12, 2017 21:37, wrote: > Hello. Trying to implement fallback route for carrierroute and got sick to > make reinvites working correctly. Until fallback route triggers, everything > is OK. Anyone has working

Re: [SR-Users] Kamilio new user - help get going

2017-07-13 Thread David Villasmil
You should get the kamailio book, http://www.asipto.com/index.php/kamailio-admin-book/ Actually READ IT, and the come back to us with any questions you might have. On Thu, Jul 13, 2017 at 11:49 PM Kenneth Knudsen wrote: > Thanks, but then I’m missing the next step,

Re: [SR-Users] Kamilio new user - help get going

2017-07-14 Thread David Villasmil
I also took this training, it's worth it. On Fri, Jul 14, 2017 at 11:00 AM Daniel Tryba wrote: > On Thu, Jul 13, 2017 at 09:46:03PM +, Kenneth Knudsen wrote: > > Thanks, but then I’m missing the next step, how do we configure the > > connection between Kamilio and the

Re: [SR-Users] Display name in contact

2017-07-17 Thread David Villasmil
("Contact: <$var(mycontact)>\r\n"); Hope this helps ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, Jul 17, 2017 at 8:48 PM, Diego Nadares <dnada...@gmail.com> wrote: > Hi guys, > > Is possible to cut change/delete

Re: [SR-Users] Kamailio cannot be installed in ubuntu

2017-07-28 Thread David Villasmil
I would never use ubuntu, try with debian. You shouldn't have issue at all. On Fri, Jul 28, 2017 at 9:13 AM David Villasmil < david.villasmil.w...@gmail.com> wrote: > I think on ubuntu that's no really an installation error per se, but > That's the startup, it changed to systemd. >

Re: [SR-Users] contact issue on kamailio with sipml/jssip over wss

2017-06-28 Thread David Villasmil
Hello guys, Nevermind, i changed add_contact_alias() for add_rcv_param() And kamailio seems happy now, still testing, though. thanks! ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Jun 29, 2017 at 2:06 AM, David Villasmil < david.villasmi

[SR-Users] contact issue on kamailio with sipml/jssip over wss

2017-06-28 Thread David Villasmil
ound) add_contact_alias() fails because it tries to find whether the ip address in the contact header is different from the received ip, and if not, it adds the received ip as a parameter... so the call doesn't work... I assume there's a way around this, can anyone help? Regards, Dav

Re: [SR-Users] Dialog List cannot be listed using kamcmd

2017-07-06 Thread David Villasmil
Take a look at the source code, there should be a limit, maybe you can modify it... beware of performance consequences (don't know if there are any) On Thu, Jul 6, 2017 at 1:45 PM Muhammad Zaka wrote: > Hi > > > > We have over 400 active dialogs and I wanted to list

[SR-Users] kamailio and siremis

2017-04-27 Thread David Villasmil
cadmin' LIMIT 1 BIND: ','n/a' '04/27/2017','20:25:22','DEBUG','DATAOBJ','Update Sql = UPDATE user SET lastlogin = :_v1, update_by = :_v2, update_time = :_v3 WHERE id='4'; BIND: 2017-04-27 20:25:22,4,2017-04-27 20:25:22','n/a' {code} nothing else is shown, nothing happens... Thanks for your help!

Re: [SR-Users] "kamctl restart" fails

2017-08-08 Thread David Villasmil
You need to configure kamctlrc properly, it probably doesn't know where the pid file is. On Tue, Aug 8, 2017 at 10:22 AM Yu Boot wrote: > # kamctl restart > > INFO: Stopping Kamailio : > INFO: stopped > > INFO: Starting Kamailio : > 2292 pts/0S+ 0:00 /bin/egrep

Re: [SR-Users] forced tls over tcp

2017-05-15 Thread David Villasmil
Sorry, the complete error is: WARNING: [forward.c:268]: get_send_socket2(): protocol/port mismatch (forced tcp:1.2.3.4:5111, to tls:9.8.7.6:5111) ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Mon, May 15, 2017 at 3:20 PM, David Villasmil

Re: [SR-Users] forced tls over tcp

2017-05-15 Thread David Villasmil
ultimately what you want. > > I'm sure you can get this to work, and I'm sure there's an answer - it > just seems like you're going to end up with something fairly fragile. It > seems like something you'd want to avoid unless you absolutely can't. > > Best, > Colin > > On Mo

Re: [SR-Users] Kamailio ro user

2017-05-10 Thread David Villasmil
try configuring it with root, if that works, then your user was not created properly... ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Wed, May 10, 2017 at 9:32 AM, Донат Зеничев <donat.zenic...@gmail.com> wrote: > Yes, I saw this part of kam

Re: [SR-Users] [sr-dev] Live streaming from Kamailio World Conference 2017

2017-05-10 Thread David Villasmil
Hello, I just joined, it's an empty zoom conference? David On Wed, May 10, 2017 at 11:26 AM Daniel-Constantin Mierla wrote: > Hello, > > if you haven't noticed from other social networking channels, there is a > live stream from Kamailio World 2017, thanks to Pascom team: >

Re: [SR-Users] permissions module db

2017-05-10 Thread David Villasmil
The view i created on mysql returns an INT for port and mask, it looks like kamailio doesn't like this... It looks to be expecting a smallint?? the view returns an INT and that fails ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Wed, May 10, 2017

Re: [SR-Users] permissions module db

2017-05-10 Thread David Villasmil
I don't think I can... there's no cast to smallint :( On Wed, May 10, 2017 at 8:37 PM Daniel Tryba <d.tr...@pocos.nl> wrote: > On Wed, May 10, 2017 at 05:31:28PM +0200, David Villasmil wrote: > > The view i created on mysql returns an INT for port and mask, it looks > like &g

Re: [SR-Users] Repeat of packets

2017-05-17 Thread David Villasmil
there a way to mitigate this external issue ? The softphone works ok > directly connected to asterisk for instance > > Rgds > J. > > > On Tue, May 16, 2017 at 6:15 PM, David Villasmil < > david.villasmil.w...@gmail.com> wrote: > >> There isn't an ACK receiv

[SR-Users] TLS to TCP

2017-05-12 Thread David Villasmil
Hello Guys, I have a kamailio 4.2.8 receiving on tls and i'm trying to forward on tcp, but AFTER the call is established, kamailio hangs the call with "SIPS required"... Has this happened to anyone? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +346

Re: [SR-Users] TLS to TCP

2017-05-12 Thread David Villasmil
y hiding somewhere, so that the client doesn't realizes the siganlling is being downgraded... Any ideas? (I will take a look at the other kam's config) David ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Fri, May 12, 2017 at 6:48 PM, Colin M

Re: [SR-Users] SIREMIS 4.3.0 and Kamilio 5.1.0-dev1

2017-05-12 Thread David Villasmil
Looks like you have the domain duplicated on the table? On Fri, May 12, 2017 at 11:14 PM Emil Morganti wrote: > Hi everybody, > I am installing siremis 4.3.0 with kamilio 5.1.0-dev1 but when i step to > the second step i get an error: > > ERROR: SQLSTATE[23000]:

Re: [SR-Users] user management of kamailio cluster

2017-06-09 Thread David Villasmil
You can use the alias=udp:myglobaldomain:5060 to use a single domain, and direct the users to their closest ip. ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Fri, Jun 9, 2017 at 1:59 AM, 赵国杰 <zhaoguojie2...@163.com> wrote: > hello David, >

Re: [SR-Users] Print current route

2017-06-26 Thread David Villasmil
el/pseudovariables#cfg_key_-_config_file_attributes > > Perhaps it can be added another one to return route name. For now you can > set a variable at the beginning of route block and then use that variable > in the log messages. > > Cheers, > Daniel > > On 21.06.17 19:00

Re: [SR-Users] Siremis upgrade and features

2017-05-20 Thread David Villasmil
You can add/change/remove users in siremis. Go to "sip menu" on the top right. On Sat, May 20, 2017 at 4:14 PM Fred Posner wrote: > On 05/20/2017 09:29 AM, javier falbo wrote: > > > > I will suggest the developpers to include a USER management GUI visual > > interfase, as

Re: [SR-Users] Siremis v4.4.0 Released

2017-05-22 Thread David Villasmil
Tested, works beautifully! Thanks! ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, May 18, 2017 at 7:40 PM, Daniel-Constantin Mierla <mico...@gmail.com > wrote: > Hello, > > a short note to announce that Siremis v4.4.0 has been rel

Re: [SR-Users] Rtpproxy didn't work

2017-06-03 Thread David Villasmil
Get rtpptoxy from their repo and compile it On Sat, Jun 3, 2017 at 3:06 AM sgy wrote: > > I install rtpproxy and config as follow, but it didn't work, is my config > OK ? > > errorlog: > Jun 3 15:00:56 iZ2ze3uk97m2bfv681kyx4Z /usr/local/sbin/kamailio[28971]: > ERROR: rtpproxy

Re: [SR-Users] user management of kamailio cluster

2017-06-08 Thread David Villasmil
Sorry, i have to ask: why not just 1 account for all servers? There are many solutions to replicate the dbs, share the dbs amongst all kamailios, etc... just wondering On Thu, Jun 8, 2017 at 8:42 AM zhaoguojie2...@163.com < zhaoguojie2...@163.com> wrote: > Hi all. > I have 10 kamailio servers

Re: [SR-Users] user management of kamailio cluster

2017-06-08 Thread David Villasmil
Ah i misread, it's the same account. Still me question about the db stands... On Thu, Jun 8, 2017 at 10:46 AM David Villasmil < david.villasmil.w...@gmail.com> wrote: > Sorry, i have to ask: why not just 1 account for all servers? There are > many solutions to replicate the dbs, s

Re: [SR-Users] Strange issue in registering users in Kamailio

2017-06-11 Thread David Villasmil
We're not psychics :) some info on what's going on, logs, configs, etc. Is mandatory... On Mon, Jun 12, 2017 at 1:48 AM Mojtaba wrote: > Does any person solve this problem? > > -- > --Mojtaba Esfandiari.S > > ___ > Kamailio (SER) -

Re: [SR-Users] if condition causes the kamailio 4.4.1 to not start

2017-05-04 Thread David Villasmil
]: bind_force_send_ip(): force_send_ip_str not specified in .cfg file! ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, May 4, 2017 at 12:29 PM, David Escartín Almudévar <descar...@bts.io> wrote: > hello Daniel > > launching the kamailio with

Re: [SR-Users] sipp audio file

2017-09-19 Thread David Villasmil
Just make a filter to show only rtp, then export those selected packets.. works really well On Sep 19, 2017 20:38, "Alex Balashov" wrote: > On Tue, Sep 19, 2017 at 01:20:46PM -0300, Diego Nadares wrote: > > > Any body know how to create pcap (with audio) file to use

[SR-Users] jsonrpc execution error

2017-09-11 Thread David Villasmil
ot;: 32022 } root@ip-172-31-30-160:/home/admin# kamctl trusted reload { "jsonrpc": "2.0", "error": { "code": -32000, "message": "Execution Error" }, "id": 32041 } Any help? Thanks! Regards, David Villasmil email:

[SR-Users] jsonrpcs execution error

2017-08-23 Thread David Villasmil
ot;: 32022 } root@ip-172-31-30-160:/home/admin# kamctl trusted reload { "jsonrpc": "2.0", "error": { "code": -32000, "message": "Execution Error" }, "id": 32041 } Any help? Thanks! Regards, David Villasmil email:

Re: [SR-Users] jsonrpcs execution error

2017-09-01 Thread David Villasmil
Any help on this, guys? ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Wed, Aug 23, 2017 at 5:51 PM, David Villasmil < david.villasmil.w...@gmail.com> wrote: > Hello guys, > > i configured jsonrpc on kamailio.cfg and RPCFIFOP

Re: [SR-Users] Homer confusion ....

2017-09-04 Thread David Villasmil
orrectly I actually need to run > siptrace on the kamailio copy the phones are connected to which will then > send the results over to another copy which runs sipcapture…. > > > Mark > > > On 1 Sep 2017, at 17:35, David Villasmil <david.villasmil.w...@gmail.com> >

Re: [SR-Users] Kamailio installation

2018-06-18 Thread David Villasmil
nessale/dp/1849515409 Good luck. David Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ On Mon, Jun 18, 2018 at 4:57 PM Danny Roberts wrote: > Ok, I need to get it installed and try it out. > > -Original Message- > From: sr-users [mailto:sr-u

Re: [SR-Users] Kamailio + FreeSwitch + WebRTC

2018-06-14 Thread David Villasmil
Yeah, you need to set the correct offer, i did that a while ago, but i can't remember how i did it. Check out https://github.com/havfo/WEBRTC-to-SIP Hope it help. David On Thu, Jun 14, 2018, 22:26 Daniel Tryba wrote: > On Thu, Jun 14, 2018 at 04:48:40PM -0300, Emanuel Gianico wrote: > > From

Re: [SR-Users] Switching form UDP to TCP causes authentication errors

2018-05-29 Thread David Villasmil
It's not clear who's doing the authentication, Asterisk or Kamailio? On Tue, May 29, 2018, 13:10 Wilkins, Steve wrote: > Thank you for your response. > > I do not have this issue with UDP, it is when I switch to TCP that an > INVITE is sending the Unauthorized. > > If I attempt something like ,

Re: [SR-Users] Realtime Extensions SQLITE

2018-05-29 Thread David Villasmil
You're asking about asterisk on kamailio's mailing list... you should ask on asterisk's list. On Tue, May 29, 2018, 17:10 Benjamin Marty wrote: > I compiled a fresh Asterisk 13.18 certified with res_config_sqlite. > > I configured following: > > extconfig.conf > [settings] > sippeers =>

[SR-Users] CDRs

2018-06-01 Thread David Villasmil
that in the cdr? Thanks! 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 installation

2018-06-23 Thread David Villasmil
For testing and development, sure. In debian you need to add the Repo as stated above, adding the key: wget -O- http://deb.kamailio.org/kamailiodebkey.gpg | sudo apt-key add - Then adding the repo to the apt repo list: echo "deb http://deb.kamailio.org/kamailio51 stretch main" >>

Re: [SR-Users] sip invite proxy-authorization

2018-01-21 Thread David Villasmil
er unwanted traffic, I’ve updated the > configuration to only relay calls using a definitive DDI. > > > > #!ifdef WITH_CONFERENCEBRIDGE > > # Send to bridge > > route[TOBRIDGE] { > > > > * if($rU != "8835100x")* > > * return -1;* &g

Re: [SR-Users] Problem Proxy

2018-01-22 Thread David Villasmil
Hello Without looking at the config. It looks like you're not doing nat traversal. Are you using a default config? Which one? On Mon, Jan 22, 2018, 09:21 Nicolas Breuer wrote: > Hello, > > > > Any ideas on this ?  > > > > > > *De :* sr-users

[SR-Users] how to check $ua

2018-01-13 Thread David Villasmil
I'm trying to verify the auth username begins with, i.e. "32", but i'm using in AUTH route: if( !($au=~"32") ){ do something } and that's not working, and i don't get why? Regards, David Villasmil email: david.villasmil.w...@gmail.com p

[SR-Users] kamctl domain reload

2018-01-24 Thread David Villasmil
uot;, "error": { "code": 500, "message": "Method Not Found" }, "id": 22277 } Any ideas why this might be happening? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ __

Re: [SR-Users] Kamailio with asterisk on private lan

2018-01-27 Thread David Villasmil
If you're implementing webrtc, I'd say you're better off down the road using rtpengine On Sat, Jan 27, 2018, 21:38 Tomi Hakkarainen wrote: > Hi Steve, > > I have noticed that too thet Debian is used a lot and myself prefer Ubuntu > also if I’m asked :) The setup I mentioned

Re: [SR-Users] Load-balance on 2 proxies

2018-02-23 Thread David Villasmil
this to some degree > >> without keeping any state in Kamailio. > >> > >> On Fri, Feb 23, 2018 at 06:05:26PM +, David Villasmil wrote: > >> > >> > Hello guys, > >> > > >> > I hava a setup where there are 2 kamailios i

[SR-Users] Load-balance on 2 proxies

2018-02-23 Thread David Villasmil
Hello guys, I hava a setup where there are 2 kamailios in active-active connected to the same db (no registration yet). They both forward requests load balancing to several freeswitches. My question is, is the load balance algorithm independent on the 2 servers, or do they act as 1 load balancing

Re: [SR-Users] Load-balance on 2 proxies

2018-02-23 Thread David Villasmil
ve a high level of spiritual commitment to this. The various > load-based features can also be used to achieve this to some degree > without keeping any state in Kamailio. > > On Fri, Feb 23, 2018 at 06:05:26PM +, David Villasmil wrote: > > > Hello guys, > > >

Re: [SR-Users] "kamdbctl create" failing with MySQL 8

2018-08-05 Thread David Villasmil
Some logging would help. On Sun, Aug 5, 2018, 05:41 Wilkins, Steve wrote: > Hello All, > > > > There appears to be issues with running “kamdbctl create” when using MySQL > 8. When this is ran there are syntax SQL errors. One such error is when > doing grants using “IDENTIFIED BY 'password'”;

Re: [SR-Users] domain-based routing

2018-08-19 Thread David Villasmil
regex, > manipulation or use the dest variabile to define your dispatcher Group or > everything is useful for your routing logic. > Dialplan parameters are loaded at startup and stored in memory, in a > performance perspective. > > Cheers > > > Il Dom 19 Ago 2018, 17:47 David Villas

[SR-Users] domain-based routing

2018-08-19 Thread David Villasmil
his server and none are expected. So i'm thinking i will received the invites like: sip:12...@domain1.com sip:12...@domain1.com sip:12...@domain1.com and so on... How would you guys go about associating the domain with the gid list in dispatcher? Thanks a lot for your help! Regards, Da

[SR-Users] null $au

2018-09-05 Thread David Villasmil
en we get the REGISTER with no credentials, and once when the REGISTER comes with credentials after the challenge... is this correct? i need to know how to catch $au when the authentication is successful... help? Thanks! David Villasmil email: david.villasmil.w...@gmail.com phone: +34669

[SR-Users] call_stats

2018-09-06 Thread David Villasmil
Hello all, Anyone got the table definition for call_stats? I'm getting db_mysql_submit_query(): driver error on query: Table 'kamailio.call_stats' doesn't exist (1146) And i can't find the table anywhere. Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ

Re: [SR-Users] MSILO: SIP stored offline MESSAGE repetitive delivery

2018-04-08 Thread David Villasmil
Try and get a trace, so you can see wether the message is ack'd and bump up kamailio's debug and make it actually sees the ackd On Sun, Apr 8, 2018, 20:26 M S wrote: > Hi, > > When kamailio dumps the messages to destination party upon register, do > you see its reply

Re: [SR-Users] Problem capturing packets from kamailio to homer sip-capture

2018-04-05 Thread David Villasmil
yep, you only enabled tcp to listen, but trying to send on udp, you need to also enabled udp ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Thu, Apr 5, 2018 at 8:16 AM, Federico Cabiddu <federico.cabi...@gmail.com > wrote: > Hi, > is y

Re: [SR-Users] Dispatcher Routing Failure

2018-03-27 Thread David Villasmil
Take a look at 3.25. ds_ping_reply_codes(string) This parameter defines the valid response codes, which are accepted as a valid reply to the PING-Method. It is a list separated by colons, whery you may define either a single code (e.g. "code=202" would accept 202 as an additional, valid

[SR-Users] XMLRPC with params

2018-03-20 Thread David Villasmil
Hello guys, I'm trying to call an xmlrpc method with parameters like: dispatcher.set_state state:i group:1 sip:1.2.3.4:5060 I'm getting back "Invalid Parameters". I can't find any documentation as to _how_ to call it with parameters. Can anyone help? Regards, David Villa

Re: [SR-Users] execute only on INITIAL INVITE

2018-03-20 Thread David Villasmil
Many thanks to all! ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, Mar 20, 2018 at 7:50 PM, Alex Balashov <abalas...@evaristesys.com> wrote: > Yes, the presence of a To tag differentiates in-dialog requests from > initial ones.

Re: [SR-Users] XMLRPC with params

2018-03-21 Thread David Villasmil
Any help on this, guys? ᐧ Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 On Tue, Mar 20, 2018 at 11:01 PM, David Villasmil < david.villasmil.w...@gmail.com> wrote: > Hello guys, > > I'm trying to call an xmlrpc method with

[SR-Users] execute only on INITIAL INVITE

2018-03-20 Thread David Villasmil
exit; } sql_result_free("ra"); } #!endif But, say I remove the DID from the allowed list while a call is going on. Then responses to the allowed INVITE would not be processed. How would I limit that to ONLY the INITIAL INVITE? Should I use has_tota

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. force_send_soc

Re: [SR-Users] force_send_socket

2018-10-07 Thread David Villasmil
0.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" ? Thanks! Regards, D

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 Villasmil

[SR-Users] force_send_socket

2018-10-07 Thread David Villasmil
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 ___ Kamailio

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 at 2

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

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 >

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

[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

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

2018-10-31 Thread David Villasmil
ntact 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 Villasmil

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 getting so

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

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",

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

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

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

2018-11-14 Thread David Villasmil
and 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: +34669448337 ᐧ

[SR-Users] priority load balance

2018-11-14 Thread David Villasmil
ot;) 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 as 10 for

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

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

Re: [SR-Users] load-balance to registered trunks?

2018-09-03 Thread David Villasmil
7PM +0100, David Villasmil wrote: > > > I've got this scenario where some gateways will register on my > > kamailio and i need to send them calls on a load-balance fashion. is > > this possible? > > Sure, anything is possible in Kamailio if you write the logic for it. &

[SR-Users] load-balance to registered trunks?

2018-09-02 Thread David Villasmil
Hello guys, I've got this scenario where some gateways will register on my kamailio and i need to send them calls on a load-balance fashion. is this possible? Thanks! Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ

Re: [SR-Users] Can't connect to local MySQL server (13 "Permission denied")

2018-09-04 Thread David Villasmil
You should paste your failing cfg line. On Tue, Sep 4, 2018, 08:39 David Villasmil wrote: > Make sure the password is correct and try with "localhost" and if that > doesn't work, try with 127.0.0.1 > > On Tue, Sep 4, 2018, 07:35 Henning Westerholt wrote: > >> Am

Re: [SR-Users] Can't connect to local MySQL server (13 "Permission denied")

2018-09-04 Thread David Villasmil
Make sure the password is correct and try with "localhost" and if that doesn't work, try with 127.0.0.1 On Tue, Sep 4, 2018, 07:35 Henning Westerholt wrote: > Am Freitag, 31. August 2018, 21:01:13 CEST schrieb Ginhoux, Patrick: > > Usually I connect on a command line like this ; > > > > su-

[SR-Users] uac usage

2018-09-20 Thread David Villasmil
m,300,0,0 But it's not trying to register, and when i do: #> kamcmd uac.reg_info l_uuid 10001 I get: error: 404 - Record not found What am I doing wrong? Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ ___ K

Re: [SR-Users] uac usage

2018-09-21 Thread David Villasmil
replying with a 100, i guess because nothing looks like it's for them. I supposed i need to change all from my.proxy.com to myprovider.com? i'm not clear at all how to do this... Appreciate your help! Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ On Fr

[SR-Users] escape character

2018-09-24 Thread David Villasmil
Hello guys, I'd like to search for " ' or & But i can't seem to figure out how... I tried: $tU =~ "[\"'&]" But that's not catching it... Regards, David Villasmil email: david.villasmil.w...@gmail.com phone: +34669448337 ᐧ __

[SR-Users] kamailio not forwarding 407

2018-09-26 Thread David Villasmil
to kamailio which is properly forwarded to the provider. The provider replies with a 407 and this 407 is NOT forwarded back to the box. Any ideas why? I can't figure it out! 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 captur

[SR-Users] Help with kamailio/freeswitch

2018-09-25 Thread David Villasmil
Hello guys, I know this is kamailio's mailing list, but I'm getting no answer on freeswitch, and i thought someone here has probably done this is the past. I have a proxy in front of freeswitch. I want freeswitch to use the proxy for everything including the termination to my provider. If I

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

2018-11-16 Thread David Villasmil
t 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 < david.

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

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, but

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] 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 u

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

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] 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 editing th

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

  1   2   3   4   5   6   7   >