Hello all,
I'm using Kamailio as SIP redirect where I'm appending the contact header then
send reply back using sl_send_reply("300","Multiple Choices").
But I'm getting "print_dset(): no r-uri or branches" as warning in the log and
no packet is sent back from Kamailio to the original sender.
Thanks Daniel,
Works like a charm!
Regards,
From: Daniel-Constantin Mierla
Sent: Friday, November 17, 2023 10:17 AM
To: Kamailio (SER) - Users Mailing List
Cc: Ali Taher
Subject: Re: [SR-Users] Re: pv cache limit is going to be exceeded
Hello,
the way the pseudo-variables were designed
Hello all,
If the data returned from redis is of type array, and if I want to iterate
through all the elements in the array, then I have to get $redis(r=>value[x])
for each element, and a pseudo variable for each element is allocated in the
memory, is that correct?
Regards,
From: Ali Ta
Hello all,
I'm using the following Lua script to fetch data from Redis, which is in form
of list:
function split(str, delimiter)
for token in string.gmatch(str, "[^" .. delimiter .. "]+") do
return token
end
end
function contains(mainString, subString)
return
to redis
being only wrapped via hirer's client library.
Btw if uou use lua < 5.2 you may try redis-lua library. It is easier to use
with lua.
On Thu, 9 Nov 2023, 09:34 Ali Taher via sr-users,
mailto:sr-users@lists.kamailio.org>> wrote:
I’m still stuck… I appreciate any assistance here.
I'm still stuck... I appreciate any assistance here.
From: Ali Taher via sr-users
Sent: Tuesday, November 7, 2023 12:47 PM
To: Kamailio (SER) - Users Mailing List
Cc: Ali Taher
Subject: [SR-Users] Redis issue when getting results in Kamailio
Hello all,
I have redis database where the data
Hello all,
I have redis database where the data is inserted in JSON format:
#Redis Command
JSON.GET Index1J:12345678
#Redis Result
[
{
"SupplierID": "7",
"BCode": "987654",
"Rate": 0.159
},
{
"SupplierID": "7",
"BCode": "765432",
"Rate": 0.159
},
{
Hi Yuriy,
Thanks, I used what you suggested below, and still getting 1 as result for
loose_route(), but BYE message is not routed anywhere.
Regards,
From: Yuriy G
Sent: Thursday, November 2, 2023 3:05 PM
To: Kamailio (SER) - Users Mailing List
Cc: James Browne ; Ali Taher
Subject: Re: [SR
Hi James,
Here are my listen directives:
listen=udp:192.168.1.2:5060
listen=tcp: 192.168.1.2:5060
knowing that:
Kamailio IP: 192.168.1.2
SBC IP: 192.168.1.1
Caller IP: 192.168.1.5
-Original Message-
From: Ali Taher via sr-users
Sent: Thursday, November 2, 2023 1:42 PM
To: James Browne
xlog("L_INFO","INSIDE BYE");
$var(loose) = loose_route();
xlog("L_INFO","LOOSE : $var(loose)");
}
Regards,
-Original Message-
From: James Browne
Sent: Thursday, November 2, 2023 12:31 PM
To: Kamailio (SER) - Users Mailing List
Cc: Ali Taher
Subj
Hello all,
I'm using Kamailio as SIP proxy between session manager and SBC.
I came across an issue in BYE request where the SBC sent in the header list of
Routes where first route is Kamailio IP, and the second is SM IP, in addition
to other routes (last route is the caller party)
What Kamailio
Hello,
I'm using Kamailio as SIP proxy between Session Manager and SBC
So here is the scenario :
Session Manager sends a call (Invite) to Kamailio, kamailio needs to relay it
to SBC after doing some modification.
(-Session Manager-) --- > (Kamailio) --- >
UAs to send.
>
>> On 13 Oct 2023, at 08:30, Ali Taher via sr-users
>> wrote:
>>
>> Hello,
>> Is there a way to send PRACK as reply to a 183 Session Progress (with
>> Require: 100rel) sent to Kamailio sip proxy?
>> Regards,
>> ___
Hello,
Is there a way to send PRACK as reply to a 183 Session Progress (with Require:
100rel) sent to Kamailio sip proxy?
Regards,
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to
Hello,
I'm using Kamailio as SIP proxy between Session Manager and SBC
So here is the scenario :
Session Manager sends a call (Invite) to Kamailio, kamailio needs to relay it
to SBC after doing some modification.
(-Session Manager-) --- > (Kamailio) --- >
=z9hG4bK2d97.61de75dd58fa7ca7450cc8b9b01db62f.0
As far as I know, the IP that should be used in the new added VIA header must
be Kamailio IP, but it's not the case here, knowing that Kamailio is not behind
NAT.
Regards,
Ali Taher
__
Kamailio - Users
be a reasonably stateless way to do that.
> On Sep 5, 2023, at 8:45 AM, Ali Taher wrote:
>
> Hello,
> Is it possible to put a kind of license for Kamailio, in a way that it works
> for 1 week for example, and after that it will not process new reque
Hello,
Is it possible to put a kind of license for Kamailio, in a way that it works
for 1 week for example, and after that it will not process new requests?
Regards,
__
Kamailio - Users Mailing List - Non Commercial Discussions
To
Hello,
I'm trying to install latest Kamailio version on RHEL 9.2.
All is good, but I couldn't find kamailio-postgres package related to postgres
module, knowing that I have installed Postgresql 15.
Is there a rpm file that I can download to install kamailio-postgres ?
Regards,
I used append_to_reply function to rebuild the To header, but the problem is
that the old To header stays there even if I use remove_hf method to remove it.
What I’m doing wrong here?
My logic is set inside a route block.
Regards,
Sent from my iPhone
On Aug 9, 2023, at 2:55 PM, Ali Taher
Hello,
I'm using Kamailio as SIP redirect where SBC sends INVITE packet to kamailio
and "302","Multiple Choices" is sent back to SBC.
What I want is to modify the URI part in the To header of the Multiple Choices
packet sent from kamailio. I tried to use
,
Kaufman
From: Ali Taher mailto:ata...@vanrise.com>>
Sent: Wednesday, August 2, 2023 1:20 AM
To: Kamailio (SER) - Users Mailing List
mailto:sr-users@lists.kamailio.org>>
Subject: [SR-Users] change A number using a pool of numbers
CAUTION: This email originated from outside the orga
Hello,
I'm looking to change the A number (from number) to a number selected randomly
from a pool of existing numbers (hundreds) and then relay the call to a certain
gateway.
What is the best and more efficient way to do it in kamailio?
Thanks in advance
Hello,
As per Kamailio documentation, $RANDOM returns a random value from the [0 -
2^31) range. But when testing it it's always returning a random number of 9 or
10 digits.
I'm not sure if it's always the case or if it can also returns numbers with 1
or 2 digits as well.
Another question, how
) - Users Mailing List
Cc: Ali Taher
Subject: RE: Randomize calling number
Hello,
ah, you want to change the From URI user. Yes, uac_replace_from is a common
approach for that.
This function will change the From URI when you send out the message, you will
not see it with a xlog in the cfg.
https
; call leg "A" comes in, and call leg
"A" goes back out, with the same Call-ID, CSeq, etc. If you send the INVITE
back to the same gateway that originated the request, it will likely reject it
since it is literally the same request it itself created.
-- Alex
> On Jul 6, 20
the request URI user of the INVITE in Kamailio to the new
generated number and send it out again.
Cheers,
Henning
--
Henning Westerholt – https://skalatan.de/blog/
Kamailio services – https://gilawa.com<https://gilawa.com/>
From: Ali Taher
Sent: Donnerstag, 6. Juli 2023 15:15
To: sr
* send back the invite packet including the new calling number to the
original source.
Regards,
Ali Taher
__
Kamailio - Users Mailing List - Non Commercial Discussions
To unsubscribe send an email to sr-users-le...@lists.kamailio.org
t;). Could be that in case of packet exceeding MTU
size it's not considered as invite packet by Kamailio?
I have Kamailio 5.2.5.
Regards,
Ali Taher
__
Kamailio - Users Mailing List - Non Commercial Discussions
* sr-users@lists.kamailio.org
Impor
Hello all,
I'm using sqlops module to connect to postgres and get the routing of calls
from postgresql database.
In order to troubleshoot issues in case they happened, I added each call
details to Kamailio log.
In some cases, when there is heavy traffic load (around 100 cps), I don't find
What do you recommend using : http sync or async client modules?
-Original Message-
From: sr-users On Behalf Of Alex Balashov
Sent: Monday, December 14, 2020 10:31 PM
To: sr-users@lists.kamailio.org
Subject: Re: [SR-Users] voltdb support
On 12/14/20 3:28 PM, Ali Taher wrote:
> Wha
://docs.voltdb.com/UsingVoltDB/ChapAppDesign.php
On 12/14/20 2:57 PM, Ali Taher wrote:
> Hi Alex,
>
> Thanks for your answer. How to proceed to let Kamailio talk manually
> to VoltDB ?
>
> Regards,
>
> Ali Taher
--
Alex Balashov | Principal | Evariste Systems LLC
Tel: +1-706-51
Hi Alex,
Thanks for your answer. How to proceed to let Kamailio talk manually to VoltDB ?
Regards,
Ali Taher
From: sr-users On Behalf Of Alex Balashov
Sent: Monday, December 14, 2020 6:38 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] voltdb support
Is VoltDB’s wire
Hello,
I just need to know if kamailio can communicate with Voltdb for sqlops
operations for example.
Regards,
Ali Taher
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
routing decision by
running a query on the database and send it back to the SBC. Excuse my lack of
knowledge in how linux processes work.
Regards,
Ali Taher
-Original Message-
From: sr-users On Behalf Of Alex Balashov
Sent: Tuesday, September 1, 2020 8:22 PM
To: sr-users@lists.kamailio.org
this cause an issue knowing that maximum worker processes is 24 ?
Regards,
Ali Taher
From: Daniel-Constantin Mierla
Sent: Tuesday, September 1, 2020 6:48 PM
To: Ali Taher ; Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] worker processes
Hello,
in this case there are 3 distinct
gt;postgres://postgres:kamailio@localhost:5432/cataleya_mitto")
modparam("sqlops","sqlcon","sp=>postgres://postgres:kamailio@localhost:5432/cataleya_spactron")
regards,
Ali Taher
From: Daniel-Constantin Mierla
Sent: Tuesday, September 1, 2020 1:52 PM
To: Ali Ta
Thanks for your answer.
Please note that I have set 3 connection strings in SQLOPS module for 3
Postgres databases. How many connections per database does Kamailio open?
(knowing that children=12 and only one listening interface).
Regards,
Ali Taher
From: Daniel-Constantin Mierla
Sent
will be 36. Is this
good configuration ? will the other 24 processes be used or they are reserved
to the 2 other interfaces which are not receiving any SIP packets and then will
be useless ?
Regards,
Ali Taher
___
Kamailio (SER) - Users Mailing List
sr
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] change module parameter in routing logic
On Tue, Apr 28, 2020 at 12:57:16PM +, Ali Taher wrote:
> Should I be worried about using same sqlres (ra) while fetching the
> result from the database?
No, as long you sql_resul
.
Should I be worried about using same sqlres (ra) while fetching the result from
the database?
Regards,
Ali Taher
From: sr-users On Behalf Of Alex Balashov
Sent: Tuesday, April 28, 2020 1:30 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] change module parameter in routing logic
Hi,
Is it possible to change a module parameter inside the routing logic ?
For example I want to change sqlcon parameter of sqlops module based on the
originating IP.
Regards,
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
Hello,
Is there a way in sqlops module to use multiple postgres databases based on
routing logic ?
Here is what I'm using right now:
modparam("sqlops","sqlcon","cb=>postgres://postgres:postgres@localhost:5432/db1")
Thanks
Ali Taher
Hello Alex,
You mean handle the cancel from Kamailio side ? can you give me hint how to do
it ?
Regards,
Ali Taher
From: sr-users On Behalf Of Alex Balashov
Sent: Tuesday, January 28, 2020 4:07 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] SIP Redirect CANCEL handling
OK and 487
Request Terminated and then sends CANCEL request to Kamailio.
I'm not sure how Kamailio should handle the CANCEL request here, should it send
only 200 OK back to SBC or also should send 487 request terminated?
Regards,
Ali Taher
___
Kamailio
can be added to the string.
How to get the value of first occurrence of tgrp param ?
Regards,
Ali Taher
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Sorry I meant putting modparam("tm", "auto_inv_100_reason", "Trying") as
parameter.
As per tm module , auto_inv_100 parameter is by default set as 1 , but still
Kamailio is not sending it, is there some function that trigger it ?
-Original Message-
From: sr
ason",
"Trying") in the beginning of if (is_method("INVITE")) block ?
Regards,
Ali Taher
-Original Message-
From: sr-users On Behalf Of Alex Balashov
Sent: Tuesday, December 10, 2019 11:21 AM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kama
ent host?
This really doesn't seem Kamalio-related, but PGSQL-related.
Regards,
David Villasmil
email: david.villasmil.w...@gmail.com<mailto:david.villasmil.w...@gmail.com>
phone: +34669448337
On Tue, Dec 10, 2019 at 12:41 PM Ali Taher
mailto:ata...@vanrise.com>> wrote:
Hello,
into
kamailio.
Regards,
Ali Taher
From: sr-users On Behalf Of David
Villasmil
Sent: Tuesday, December 10, 2019 5:04 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kamailio delayed reponse in case of database load
Hello,
Have you checked yourself how long PGSQL takes to answer
Hello,
I have Kamailio installed as SIP redirect for an SBC to make routing decisions.
I'm using SQLOps module with postgresql 11.5 where I have multiple tables
containing each around 6M record of routing codes:
Code options
---
392342 sup1|sup2|sup3
Where code field
up){s.select,$var(i),|});
$var(s)=$(var(s){s.select,0,;});
append_to_reply("");
if($var(i)<$var(suplen)) append_to_reply(",");
$var(i)=$var(i)+1;
}
append_to_reply("\r\n");
sl_send_reply("300","Multiple Choices");
exit;
}
route[block]
{
Hi Alex,
What do I have to put in routing logic in this case ?
Regards,
Ali Taher
From: sr-users On Behalf Of Alex Balashov
Sent: Friday, May 3, 2019 5:45 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] Kamailio bypassing RTP media
Yes, this is possible. In fact
the softswitch send rtp direct to
backend server.
5.rtp packets are transfered between softswitch and backend server.
6.backend server send bye to kamailio
7.kamailio send bye to softswitch.
Any help is appreciated.
Regards,
Ali Taher
Thank you Konstantin,
What I can’t understand is why media packets are sent correctly to the public
IP , while early media (RBT) are sent on private.
Regards,
Ali
From: Konstantin Polyakov
Sent: Monday, July 23, 2018 1:38 PM
To: Ali Taher
Subject: Re[4]: [SR-Users] NATHELPER issue
map:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
where:
X.X.X.X is Kamailio IP
Y.Y.Y.Y is origination public IP
Regards,
Ali
From: Konstantin Polyakov
Sent: Monday, July 23, 2018 12:08 PM
To: Ali Taher
Subject: Re[2]: [SR-Users] NATHELPER issue
Hello Ali,
Could
map:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
Regards,
Ali
From: Konstantin Polyakov
Sent: Monday, July 23, 2018 12:08 PM
To: Ali Taher
Subject: Re[2]: [SR-Users] NATHELPER issue
Hello Ali,
Could you show your latest INVITE and OK?
Check you SDP bodies in t
silence till the called party answer the call and RTP flow normally.
How can I handle this case?
Thanks,
Ali
From: Konstantin Polyakov
Sent: Friday, July 20, 2018 3:01 PM
To: sr-users@lists.kamailio.org; Ali Taher
Subject: Re: [SR-Users] NATHELPER issue
Hello Ali,
ACK is sent by UAC
setflag(FLT_NATS);
}
#!endif
return;
}
route[DLGURI] {
#!ifdef WITH_NAT
if(!isdsturiset()) {
handle_ruri_alias();
}
#!endif
return;
}
Can you please check why the ACK is still sent on private IP ?
Hi Alex,
How can I troubleshoot the issue in this case ?
Noting that I'm using Kamailio 4.2.0
Thanks
Ali Taher
-Original Message-
From: sr-users On Behalf Of Alex Balashov
Sent: Wednesday, July 18, 2018 4:50 PM
To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] in-dialog
Hi Alex,
Yes I did, but I noticed that all in-dialog requests sent by freeswitch to
kamailio were ignored and no packet was generated from kamailio in this regard.
I'm not sure if t_relay is working as expected at my side.
Thanks.
Ali Taher
-Original Message-
From: sr-users On Behalf
receiving them from
freeswitch.
I'm not sure also if what's I'm doing is statefull or stateless.
Any help is appreciated.
Thanks,
Ali Taher
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
. 9after altering 183 packet to 180) ,
handling the in-dialog invites sent by my switch , which needs to be sent to
the customer by kamailio.
Thanks
Ali Taher
From: sr-users On Behalf Of
y...@yu-boot.ru
Sent: Tuesday, July 17, 2018 9:41 PM
To: Kamailio (SER) - Users Mailing List
Cc: sr
Hi Alex,
Thank you for your reply.
Does below config forward all sip requests coming from the customer to the
supplier , and relay sip replies back to customer ?
Where re-invite packets are handled in the below config file?
Thank you
Ali Taher
-Original Message-
From: sr-users
Hi Alex,
So loose_route() is only responsible of In-dialog requests ?
Can you please send me a simplified config that suit my case ?
Noting that I'm using Kamailio only as proxy between my customer and my
supplier.
Much appreciated.
Ali Taher
-Original Message-
From: sr-users
er --> Kamailio ---> ---Supplier---
I have a case where the supplier sends in some cases an in-dialog invite
(Re-Invite) , which is considered I think as SIP-Request and thus as per
above routing logic , kamailio is sending it back to t
.
Regards,
Ali Taher
-Original Message-
From: Ali Taher [mailto:ata...@vanrise.com]
Sent: Friday, March 30, 2018 10:02 AM
To: 'Kamailio (SER) - Users Mailing List' <sr-users@lists.kamailio.org>
Cc: 'Ali Taher~Vanrise Technical Support' <ata...@vanrise.com>
Subject: RE: [SR-Users] 180
this is a test");
}
forward(127.0.0.1,5060);
}
reply_route {
if (status == "183") {
change_reply_status(180, "Ringing");
exit;
}
}
Regards,
Ali Taher
-Original Message-
From: sr-users [mailto:sr-users-boun...@lists.kamailio.org] On Behalf Of Alex
Bala
is not hearing the RBT and asking to send 180 rather than 183 . (the
supplier is only sending 183 without 180).
Is it possible using kamailio to replace this 183 message with 180 message ,
or even add 180 message while keeping the same 183 message ?
Regards,
Ali Taher
69 matches
Mail list logo