Bugs item #2796454, was opened at 2009-05-25 14:35
Message generated for change (Comment added) made by henningw
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2796454&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: tools
>Group: ver 1.5.x
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Edson - 4lists (egschubert)
>Assigned to: Henning Westerholt (henningw)
Summary: Problems on 'kamctl' script on CR command
Initial Comment:
Just updated to the last SVN:
...
Kamailio-151:~/sip-server # kamailio -V
version: kamailio 1.5.1-notls (i386/linux)
flags: STATISTICS, USE_IPV6, USE_TCP, USE_SCTP, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, MAX_URI_SIZE 1024, BUF_SIZE 65535, PKG_SIZE 4194304
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
svnrevision: 2:5858M
@(#) $Id: main.c 5608 2009-02-13 16:48:17Z henningw $
main.c compiled on 11:09:12 May 25 2009 with gcc 4.3
And 'kamctl cr' says:
...
cr addcarrier <carrier> <scan_prefix> <domain> <rewrite_host> ................
<prob> <strip> <rewrite_prefix> <rewrite_suffix> ...............
<flags> <mask> <comment> .........................add a carrier
...
But command:
...
Kamailio-151:~/sip-server # kamctl cr addcarrier 1 0 2 X.X.X.X 1 1 123456 '' '' '' 'Output_Route_X123'
Output_Route_X123
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' Rota_de_saida_pelo_IPIPGW)' at line 1
ERROR: cr - SQL Error
Kamailio-151:~/sip-server #
On script 'kamctl', line 1357:
if [ $# -gt 8 ] ; then
COMMENT=$9
Edson.
----------------------------------------------------------------------
>Comment By: Henning Westerholt (henningw)
Date: 2009-05-29 07:40
Message:
Hi Edson,
thanks for the report. Indeed the order of inserted data was not
consistent to the help output, should be fixed now. Please keep in mind
that if you specify the flags as empty strings '' the statement will also
not work, use 0 instead.
./kamctl cr addcarrier 1 0 2 X.X.X.X 1 1 123456 '' '0' '0'
'Output_Route_X123'
Henning
----------------------------------------------------------------------
Comment By: Edson - 4lists (egschubert)
Date: 2009-05-28 15:15
Message:
re-sending...
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2796454&group_…
Revision: 5862
http://openser.svn.sourceforge.net/openser/?rev=5862&view=rev
Author: henningw
Date: 2009-05-29 07:37:12 +0000 (Fri, 29 May 2009)
Log Message:
-----------
- fix bug #2796454, wrong order of inserted data in kamctl command
Modified Paths:
--------------
branches/1.5/scripts/kamctl
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
Bugs item #2798154, was opened at 2009-05-29 00:30
Message generated for change (Comment added) made by ibc_sf
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2798154&group_…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: modules
Group: None
Status: Open
Resolution: None
Priority: 4
Private: No
Submitted By: Iñaki Baz Castillo (ibc_sf)
Assigned to: Nobody/Anonymous (nobody)
Summary: [dialog] Crash when receiving empry "Record-Route"
Initial Comment:
Kamailio 1.5 rev 5834.
I use 'dialog" module and "uac" module (this one to change From username).
Kamailio receives an INVITE, changes From (so addes a long "vsf" parameter to Record-Route) and forwards it to a gateway.
The gateway replies 183 and 200 containing a "Record-Route" with no value (empty).
Then Kamailio shows this error and crashes:
ERROR:core:print_rr_body: failed to parse RR
ERROR:dialog:populate_leg_info: failed to print route records
ERROR:dialog:dlg_onreply: could not add further info to the dialog
CRITICAL:core:receive_fd: EOF on 12
INFO:core:handle_sigs: child process 4505 exited by a signal 11
INFO:core:handle_sigs: core was not generated
INFO:core:handle_sigs: terminating due to SIGCHLD
INFO:core:sig_usr: signal 15 received
I attach the output of the coredump and also the SIP trace showing it.
----------------------------------------------------------------------
>Comment By: Iñaki Baz Castillo (ibc_sf)
Date: 2009-05-29 08:28
Message:
Note that the crash also occur with:
modparam("dialog", "db_mode", 0)
This is: without storing dialogs in database.
----------------------------------------------------------------------
Comment By: Daniel-Constantin Mierla (miconda)
Date: 2009-05-29 08:20
Message:
Seems similar to what Alex Hermann reported in #2797928. I will check.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=743020&aid=2798154&group_…