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
Hello Joel,
manythanks for your reply.
Background info: Iam trying to implement Kamailio as stateless as possible and
wonder how I cancache and reuse the information from a TLS connection within a
database.
And does cachingmake sense?
Best regards,
Toffi
Am Mittwoch, 31.
On Wed, Oct 31, 2018 at 10:16:40AM -0700, Isaac wrote:
> How can I determine the address family (IPv6 or IPv4) of a destination? The
> destination in this case is a hostname. I'd like to set a flag if the
> destination is IPv6 but not sure how to go about it.
Hi,
You can look up the underlying
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", "
When the below format is sent from rest , kamailio crashes
List[{
List[{
List[{
]}
]}
]}
(Json with 3 nested lists),
With 2 lists it works properly,
When diameter is translated to json with 3 lists by this module it also
works properly,
Json format is
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:
>
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
>
> ᐧ
>
>
Hello,
How can I determine the address family (IPv6 or IPv4) of a destination?
The destination in this case is a hostname. I'd like to set a flag if
the destination is IPv6 but not sure how to go about it.
Thanks,
Isaac
___
Kamailio (SER) - Users
That's exactly what I need.
Thanks!
On 10/31/2018 10:15 AM, Alex Balashov wrote:
On Wed, Oct 31, 2018 at 10:16:40AM -0700, Isaac wrote:
How can I determine the address family (IPv6 or IPv4) of a destination? The
destination in this case is a hostname. I'd like to set a flag if the
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":
Hi.
There are some reason for this issue.
The three nested json is not reason for crash ims_diameter.
Let try this senario.
Chenge type of the last indoor level of json from List to other type(like
int or ...).
Then check the lamailio is crashed or not?
With Regards.Mojtaba
On Wed, 31 Oct 2018
Hi
I tried it before,it must be list for our purpose,int or string doesnt meet
our purpose
thanks
On Thu, Nov 1, 2018 at 9:00 AM Mojtaba wrote:
> Hi.
> There are some reason for this issue.
> The three nested json is not reason for crash ims_diameter.
> Let try this senario.
> Chenge type of
Am Mittwoch, 31. Oktober 2018, 02:05:09 CET schrieb Sergiu Pojoga:
> May be for a start someone can clarify the general rules of engagement in
> this battle with regex transformations.
> https://www.kamailio.org/wiki/cookbooks/5.1.x/transformations#resubst_expres
> sion
>
> What kind of regex
13 matches
Mail list logo