Hello,
with the perspective that Python2 is going to be removed from the major
Linux distributes starting with the beginning of next year, the work to
upgrade kamcli to run with Python3 has been started.
>From now on, master branch of kamcli is expected to work only with Python3:
* https://github.com/kamailio/kamcli
There is still work to be done to upgrade all the code, but any use of
it should be done with Python3 and eventual issues to be filed on bug
tracker. Of course, pull requests are welcome as always!
Who wants to use the version for Python2 has to use the code from git
branch v1.2-python2. That branch is probably not going to receive any
new feature, it will be kept for use with older systems (as well as a
running option during the upgrade period to Python3).
Cheers,
Daniel
--
Daniel-Constantin Mierla -- www.asipto.comwww.twitter.com/miconda -- www.linkedin.com/in/miconda
Dear all,
I have a kamailio running in version 5.0.8 and since fee weeks we have an issue with different users connected in TCP or TLS, sometimes authorization like for REGISTER are rejected and after a moment (can be few minute or hours) it work again and of course no change was done in the password ....
We see this issue with different device, snom swyx, ... and on UDP we have no issue.
I can see that when the Register is rejected it's with the error -2, so wrong password...
# Authentication route
route[AUTH] {
if (is_method("REGISTER"))
{
# authenticate requests
if (!auth_check("$fd", "subscriber", "1")) {
switch($retcode) {
case -1:
sl_send_reply("503","Service not available");
exit;
case -2:
xlog("L_WARN", "auth error -2 username $au - src ip: $si \n");
auth_challenge("$fd", "0");
exit;
I have attached an example of a trace where we can see a first REGISTER accepted and less than 2 minutes after a new one is rejected. ( in between they is a REGISTER without any Authorization header)
Any idea ?
BR
Laurent
Hello,
Newbie here!
Have Kamailio set up on a 512MB VPS. Created a couple of users, registered
with Zoiper and can call between them.
I am looking for documentation to connect the server to other VoIP
providers (Signalwire, Anveo, VOIP.ms etc.) to make & receive calls from
the external network (DIDs) / PSTN
Can someone point me in the right direction?
Thanks in advance.
Hi,
I have some issue and dont have enought knowledge to fix it. I have simple
infrastructure.
Internet -> router (NAT) -> kamailio
-> asterisk
Kamailio and Asterisk are inside the network and Kamailio places his own
private address in the "record-route" headers instead of who's public.
There is configuration to said to him what IP is proper ?
Hello,
what's best practice for VoiceMail implementation in Kamailio+Asterisk's
scheme?
should I forward register into asterisk? Or I can keep register on
kamailio?
Could you, please, shed any lights on this
Greetings,
I have two Kamailio's working on a HA scenario. Both Kamailio's have DB
replication and each machine has one HA IP. In order to set this up, i have
every GW on the DB duplicated, one with Socket IPA and another with socket
IPB.
I have both GWs in a active state configurated in the replicated DB. They
also both have the same URI and the same group id
Example :
GW1 : Socket = IPA ; GroupID = 1 ; Uri = sip:1.1.1.1:5060
GW2 : Socket = IPB ; GroupID = 1 ; Uri = sip:1.1.1.1:5060
In order to avoid errors, i want to disable on runtime the GWs that have a
socket that doesn't belong, at the moment, to that machine (GW with Socket
IPB on machine with IPA). To do that i would use the dispatcher.set_state,
however it works with group id and address, which in this case it is the
same.
Is there other method to disable the GWs on runtime using other arguments
like duid or socket ?
I thought about using probing for this, since it will disable automatically
the GWs with non-existent socket, but not all my clients support probing,
so it isn't feasible.
Thanks in advance
Hello,
I'm trying to make Kamailio to SIP register on a remote server. However storing plaintext password looks very unsecure.
Is there a possibility to store password for uac module using ha1 hash instead of the plaintext password? I see there's a row for it in the database, but in the source code it's not used and it seems i can't neither use it in db neither set up in-memory as avp.
Maybe there's a workaround to directly access the in-memory uac registration htable?
________________________________
Regards,
Alexandru Covalschi
VoIP Engineer and System Administrator
tel: +37367367850
Hi all:
I am trying to use the procedure for setting BLF lights described in
https://blog.voipxswitch.com/2018/02/22/kamailio-controlling-presence-with-…
WIthout success.
My configuration is 1 Grandstream GXP2130 phone behind a NAT on a public
IP. (IPP in example below)
Kamailio is running on public IP (IPK in example) listening on port 50060
The command I am sending:
curl -d
'{"Call-ID":"1020101@<IPP>","Event-Category":"presence","Event-Name":"update","Event-Package":"dialog","Expires":"3600","To":"sip:1020108@<IPK>:50060","To-User":"1020108","To-Realm":"<IPK>:50060","From":"sip:1020101@<IPP>","From-User":"1020101","From-Realm":"<IPP>","State":"Confirmed"}'
http://localhost:8080/presence/
{"Call-ID":"1020101@<IPP>","Event-Category":"presence","Event-Name":"update","Event-Package":"dialog","Expires":"3600","To":"sip:1020108@<IPK>:50060","To-User":"1020108","To-Realm":"<IPK>:50060","From":"sip:1020101@<IPP>","From-User":"1020101","From-Realm":"<IPP>","State":"Confirmed"}
Kamailio appears to be processing the command OK, so I think I am just
not setting it up properly>
Anybody having any luck with this procedure, let me know how you are
getting it to work.
Bill
Greetings,
Does "event_route[tm:local-request]" works like onsend route ?
I'm having some problems and i'm using local-request to debug and i found
this on the documentation : "Executed after the tm module has sent a local
generated, transaction stateful request."
I'm logging all the requests that go through this route. Is this really the
last place before kamailio send the request? If the request is logged here,
is there anything more in kamailio that can stop the request (pipelimit,
etc) ?
If a packet gets logged on this route does that mean that it was already
sent?
Best Regards,
Duarte Rocha