THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Daniel Grotti (dgrotti)
Attached to Project - sip-router
Summary - UAC restore_mode "auto" fails to restore From if UA changes From header
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To -
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - 4.0
Due in Version - Undecided
Due Date - Undecided
Details - If a UA initiate a session with the following From in the INVITE :
INVITE
From: "Daniel Grotti" <sip:051764814@sip.mydomain.com>;tag=9B0D4664-1DCB
and afterwards set a different From inside 200 OK's ACK :
ACK
From: "Daniel Grotti" <sip:051764814@10.15.20.180>;tag=9B0D4664-1DCB
kamailio, with UAC module's parameter:
modparam("uac","restore_mode","auto")
can't restore the original From and sends out an ACK with a broken From like:
From: "Daniel Grotti" <sip:mydomain@%=&tt!-)>l29Vr.com>;tag=9B0D4664-1DCB
I solved for now setting:
modparam("uac","restore_mode","none")
But maybe could be interesting to solve the problem.
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=354
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
Hello,
Some of the kamctl commands don't work properly with sqlite because it uses
SQL functions that sqlite does not support.
For example:
- kamctl domain add ...
Fails with:
sqlite_query: /usr/bin/sqlite3 /etc/kamailio/db.sqlite insert into
domain (domain, last_modified) VALUES ('...',now());
Error: no such function: now
ERROR: domain - SQL Error
- kamctl speeddial list...
Fails with:
Dumping speed-dials for user=<...>
sqlite_query: /usr/bin/sqlite3 /etc/kamailio/db.sqlite SELECT
CONCAT(sd_username,'@',sd_domain) AS 'Short number', new_uri AS 'New
URI',description FROM speed_dial WHERE username='...' AND domain='...';
Error: no such function: CONCAT
There are probably lots of other examples too.
Regards,
Peter
--
Peter Dunkley
Technical Director
Crocodile RCS Ltd
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - Oli Roth (kolibri99)
Attached to Project - sip-router
Summary - carrierroute not loading with kamailio 4.0.x
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To -
Operating System - Linux
Severity - Critical
Priority - Normal
Reported Version - 4.0
Due in Version - Undecided
Due Date - Undecided
Details - hi all
Module carrierroute not working starting from version kamailio 4.0.x
trying to activate carrierroute in kamailio.cfg
loadmodule "carrierroute.so"
i get the following error when starting kamailio
0(7547) ERROR: <core> [sr_module.c:572]: load_module(): ERROR: load_module: could not open module </usr/lib64/kamailio/modules/carrierroute.so>: /usr/lib64/kamailio/modules/carrierroute.so: undefined symbol: cfg_set_error_function
0(7547) : <core> [cfg.y:3567]: yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 219, column 12-28: failed to load module
ERROR: bad config file (1 errors)
the function "cfg_set_error_function" is different, if i use another linux system. I tested with ubuntu 12.04 & 10.04.
I installed with apt-get install and I also compiled the version using GIT.
I did a crosscheck with kamailio 3.3 and there it seems to work!
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=353
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
A new Flyspray task has been opened. Details are below.
User who did this - rene montilva (renex)
Attached to Project - sip-router
Summary - UAC Module Fail to refresh REGISTER
Task Type - Bug Report
Category - Module
Status - Unconfirmed
Assigned To -
Operating System - Linux
Severity - Low
Priority - Normal
Reported Version - 4.0
Due in Version - Undecided
Due Date - Undecided
Details - i'm testing uac module with a did provider, apparently it works the first register, when it's going to refresh the session the register packed don't send the proxy-authorization header.
My kamailio is 4.0, the debian wheezy repository
this is my parameter config:
#!ifdef WITH_UAC
#---------- uac params ----------#
modparam("uac", "reg_db_url",DBURL)
modparam("uac", "reg_timer_interval",60)
modparam("uac", "reg_retry_interval",120)
modparam("uac", "reg_db_table", "uacreg")
modparam("uac","credential","username:domain:password")
modparam("uac","auth_realm_avp","$avp(i:10)")
modparam("uac","auth_username_avp","$avp(i:11)")
modparam("uac","auth_password_avp","$avp(i:12)")
modparam("uac","restore_mode","auto")
modparam("uac", "reg_contact_addr", "xx.xx.xx:5060")
#!endif
this is the route block:
if(uac_reg_request_to("$fU", 1))
{
xlog("L_NOTICE", "Found remote user [$rU] on [$rd] via [$du]");
t_on_failure("REMOTE_AUTH");
t_relay();
}
inside route[LOCATION] at the end:
#!ifdef WITH_UAC
if(uac_reg_lookup("$rU", "$ru")) {
xlog("request from a remote SIP provider [$ou => $ru]\n");
}
lookup("location");
#!endif
failure_route[REMOTE_AUTH] {
if ($T_reply_code == 401 or $T_reply_code == 407) {
xlog("L_NOTICE", "Remote asked for authentication");
uac_auth();
}
}
this is the error log by syslog
ct 11 13:52:47 rene /usr/sbin/kamailio[7413]: INFO: <script>: Routing locally generated REGISTER to<sip:ippbx.xxxxx.com>
Oct 11 13:52:47 rene /usr/sbin/kamailio[7400]: ERROR: uac [uac_reg.c:537]: uac_reg_tm_callback(): authentication failed for <2127207679>
this is sip trace with first register:
Frame 209: 671 bytes on wire (5368 bits), 671 bytes captured (5368 bits) on interface 0
Ethernet II, Src: Hewlett-_6b:6e:49 (10:1f:74:6b:6e:49), Dst: Cisco_7f:1e:69 (00:13:1a:7f:1e:69)
Internet Protocol Version 4, Src: 10.20.8.45 (10.20.8.45), Dst: xx.xx.xx.xx (xx.xx.xx.xx)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Request-Line: REGISTER sip:ippbx.xxxxx.com SIP/2.0
Message Header
Via: SIP/2.0/UDP 10.20.8.45;branch=z9hG4bKb278.906502e4.0
To: sip:5201341115@ippbx.xxxxx.com
From: sip:5201341115@ippbx.xxxxx.com;tag=533cb9e91f4b999cf76861cbb9ed54ed-4cad
CSeq: 11 REGISTER
Call-ID: 2e81fffd-7628(a)127.0.0.1
Max-Forwards: 70
Content-Length: 0
User-Agent: kamailio (4.0.3 (i386/linux))
Contact: <sip:01133212720@xxx.xxx.xxx:5060>
Expires: 60
Proxy-Authorization: Digest username="1341115", realm="xxxxx", nonce="5DB4B614FCD76AD44FFFC3BEAECBDA9B", uri="sip:ippbx.xxxxx.com", response="d7d38055e339a2554cf2bb7e79e9b6f4", algorithm=MD5
this is sip trace with the second register:
Frame 681: 468 bytes on wire (3744 bits), 468 bytes captured (3744 bits) on interface 0
Ethernet II, Src: Hewlett-_6b:6e:49 (10:1f:74:6b:6e:49), Dst: Cisco_7f:1e:69 (00:13:1a:7f:1e:69)
Internet Protocol Version 4, Src: 10.20.8.45 (10.20.8.45), Dst: xx.xx.xx.xx (66.33.146.52)
User Datagram Protocol, Src Port: sip (5060), Dst Port: sip (5060)
Session Initiation Protocol
Request-Line: REGISTER sip:ippbx.xxxxx.com SIP/2.0
Message Header
Via: SIP/2.0/UDP 10.20.8.45;branch=z9hG4bKb278.a06502e4.0
To: sip:5201341115@ippbx.xxxxx.com
From: sip:5201341115@ippbx.xxxxx.com;tag=533cb9e91f4b999cf76861cbb9ed54ed-4d45
CSeq: 10 REGISTER
Call-ID: 2e81fffe-7628(a)127.0.0.1
Max-Forwards: 70
Content-Length: 0
User-Agent: kamailio (4.0.3 (i386/linux))
Contact: <sip:01133212720@xxx.xxx.xxx:5060>
Expires: 60
there isn't proxy-authorization Header
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=352
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
gcc version 4.7.2 (Debian 4.7.2-5)
latest trunk version of kamailio
sca_call_info.c: In function âsca_call_info_updateâ:
sca_call_info.c:1977:7: warning: the comparison will always evaluate
as âtrueâ for the address of âcall_infoâ will never be NULL
[-Waddress]
sca_call_info.c:1984:14: warning: the comparison will always evaluate
as âtrueâ for the address of âcall_infoâ will never be NULL
[-Waddress]
Regards,
Ovidiu Sas
--
VoIP Embedded, Inc.
http://www.voipembedded.com
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#348 - Invalide tel INVITE crashes 4.0.3
User who did this - Daniel Tryba (dtryba)
----------
This time with a syslog which isn't dropping messages due to rate limiting.
----------
One or more files have been attached.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=348#comment1118
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#348 - Invalide tel INVITE crashes 4.0.3
User who did this - Daniel Tryba (dtryba)
----------
More info from a kamailio build for debugging
----------
One or more files have been attached.
More information can be found at the following URL:
http://sip-router.org/tracker/index.php?do=details&task_id=348#comment1117
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY.
The following task has a new comment added:
FS#351 - registrar: process expired contacts first
User who did this - Víctor Seva (linuxmaniac)
----------
Created new db_update_ucontact_instance and call it instead of db_update_ucontact_addr.
This fixes the update on the ddbb. If I send two different register messages for the second, first with Contact: <sip:testuser1003@127.0.0.1:50602;ob>;expires=593;+sip.instance="<urn:uuid:C3DD6013-20E8-40E3-8EA2-5849B02ED0C4>";reg-id=1
and the second with Contact: <sip:testuser1003@127.0.0.1:6666;ob>;expires=0
I get the right result: testuser1003@127.0.0.1:50602;ob on mem and ddbb
But If I send the second message with both contacts... I get none on mem or ddbb.
----------
One or more files have been attached.
More information can be found at the following URL:
https://sip-router.org/tracker/index.php?do=details&task_id=351#comment1116
You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.