One my server with perl external script time to time is stopping processing
SIP messages. Perl script make calls to kamailio database on mysql.
I have found this in logs
DEBUG: [core/io_wait.h:380]: io_watch_add(): DBG:
io_watch_add(0x56427eb40c40, 495, 2, 0x7f1a9f9ba408), fd_no=33
DEBUG:
ReInvites like all in-dialog requests are processed in has_totag()/loose_route
part. Default kamailio.cfg has almost identical part for this purpose.
Main idea is that an initial request (non in-dialog) hasn't To tag already. It
appears only when your request "hits" remote side (called or
Hi
what are the requirements to configure the ims to work with kamailio.
--
Thanks and regards
Vinod.M.N
___
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
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 On
On Tue, Jul 17, 2018 at 04:21:25PM +0300, Ali Taher wrote:
> Can you please send me a simplified config that suit my case ?
Try this for a main request route:
---
route {
if(!mf_process_maxfwd_header("10")) {
sl_send_reply("483", "Too Many Hops");
exit;
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 On
Hi,
In-dialog requests must be handled using loose_route(). You can find the
proper boilerplate in the stock configuration file:
https://github.com/kamailio/kamailio/blob/master/etc/kamailio.cfg#L587
To note, your config is not sufficient to handle all aspects of a call
between endpoints in an
Hello,
I'm using below routing logic to change the 183 reply to 180 and send it
back to the origination.
Noting that Kamailio is listening on 5065.
route{
if (is_method("INVITE")) {
xlog("L_INFO","INSIDE request route $si \n");
insert_hf("X-AUTH-IP: $si\r\n");
}
Hello. I want that all dialog- and acc- related stuff were saved on
kamailio restart and then on Kamailio startup was loaded from SQL tables.
dialog settings:
modparam("dialog", "db_url", DBURL)
modparam("dialog", "db_mode", 1)
modparam("dialog", "dlg_flag", 4)
modparam("dialog",
Hi,
via kamctl/kamcmd only..
Regards
Il 17/07/18 10:51, Daniel-Constantin Mierla ha scritto:
Hello,
what do you use for sending the rpc command? Is via kamctl/kamcmd or you
have your own implementation?
Cheers,
Daniel
On 17.07.18 10:24, Laura wrote:
Hello,
i just log all the traffic
Yep that works thx!
2018-07-17 9:14 GMT+03:00 Daniel-Constantin Mierla :
> Hello,
>
> one more thing, do:
>
> $dlg_var(cseq_diff) = $null;
>
> when you reset the internal flag for uac auth.
>
> Cheers,
> Daniel
>
> On 16.07.18 21:13, Yuriy Gorlichenko wrote:
>
> Hi
> thx for answer
> But still
Hello,
what do you use for sending the rpc command? Is via kamctl/kamcmd or you
have your own implementation?
Cheers,
Daniel
On 17.07.18 10:24, Laura wrote:
> Hello,
>
> i just log all the traffic inside this system on 5060, so that i can
> control sip signaling, but, how can i trace the rpc
Hello,
i just log all the traffic inside this system on 5060, so that i can
control sip signaling, but, how can i trace the rpc command ?
Cheers,
Laura
Il 17/07/18 10:17, Daniel-Constantin Mierla ha scritto:
Hello,
based on the log messages it appears that the rpc command to end the
Hello,
based on the log messages it appears that the rpc command to end the
dialog is received before 200ok/ACK for initial INVITE or after the call
was ended already. Can you watch the network for these rpc commands and
compare with what happens for sip packets traffic?
Cheers,
Daniel
On
Hello,
I have an external program that query RPC for the list of active calls
"kamctl dialog show" and kill calls only when the system decide to close
a customer.. but this cannot be the situation becuase i have these
errors every few seconds...
Also I'm using dialog timeout parameters
Hello,
one more thing, do:
$dlg_var(cseq_diff) = $null;
when you reset the internal flag for uac auth.
Cheers,
Daniel
On 16.07.18 21:13, Yuriy Gorlichenko wrote:
> HiĀ
> thx for answer
> But still the same
> I tried to use thids flag in case if answer not 401 or 407 in failure
> route but
16 matches
Mail list logo