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

2018-10-31 Thread Joel Serrano
In my test it added it correctly. I tried with master. On Wed, Oct 31, 2018 at 10:28 AM David Villasmil < david.villasmil.w...@gmail.com> wrote: > doesn't say which param, upping the debug! > > Regards, > > David Villasmil > email: david.villasmil.w...@gmail.com > phone: +34669448337 > > ᐧ > >

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 some useful erros: >

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

2018-10-31 Thread David Villasmil
Hey thanks!! not working, but i'm finally getting some useful erros: Oct 31 13:22:52 sip2 /usr/sbin/kamailio[1326]: DEBUG: jsonrpcs [jsonrpcs_fifo.c:449]: jsonrpc_fifo_server(): preparing to execute fifo jsonrpc [{"jsonrpc": "2.0", "method": "ul.add", "params": ["location", "

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

2018-10-31 Thread Joel Serrano
Hi David, Sorry for the delay.. You are missing parameters: root@sbc02:~# kamctl rpc ul.add location 361119...@m.domain.com sip:361119997@4.3.2.1 3600 1 sip:4.3.2.1:5060 { "jsonrpc": "2.0", "error": { "code": 500, "message": "Not enough parameters or wrong format" }, "id":

[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