Re: [SR-Users] remove_hf() leaves junk in the headers?

2019-05-27 Thread Henning Westerholt
Hello Alex, just a small comment: If you use an appropriate db_mode for the dialog module storage then this mode is also restart-persistent. I did some improvements here recently, the fix was also back-ported. Cheers, Henning Am 27.05.19 um 01:01 schrieb Alex Balashov: > On Sun, May 26, 2019

Re: [SR-Users] mem leak on 5.1.2?

2019-05-27 Thread Henning Westerholt
Hello Andrew, additional to the memory debugging comment - I would suggest to first update to a newer Kamailio version, e.g. to 5.1.8. The version you use is now over a year old and there have been a lot of fixes in this time. Cheers, Henning Am 24.05.19 um 17:34 schrieb Andrew Chen: Hey guy

[SR-Users] Getting the following error when sending INVITE request for calling

2019-05-27 Thread Mohit Chawla
Hi , I am getting the following error in trying to send INVITE message from SIP client. {2 2 INVITE 4_Do2VIMWLR6Wf5ubiBxgg..} NOTICE: acc [acc.c:281]: acc_log_request(): ACC: transaction answered: timestamp=1558902843;method=INVITE;from_tag=69588468;to_tag=ebd29a60;call_id=4_Do2VIMWLR6Wf5ubiBxgg..

Re: [SR-Users] Getting the following error when sending INVITE request for calling

2019-05-27 Thread David Villasmil
That’s really a warning, not a error. The call should work fine; but if it doesn’t it’s not because of this. In the default kamailio cfg there is a bunch of ALTER TABLE, connect to the kamailio dB and execute them. They will add some extra fields that are not created by default and that script is

Re: [SR-Users] Getting the following error when sending INVITE request for calling

2019-05-27 Thread Mohit Chawla
Hi David, Thanks for the response. Yes, I have modified the cfg file to execute ALTER TABLE command. But somehow, I am facing the problem in starting the Kamailio after the change. Please find the enclosed modified Kamailio.cfg with this mail. Can you please help me in understandin

Re: [SR-Users] Getting the following error when sending INVITE request for calling

2019-05-27 Thread David Villasmil
Can’t read a cfg file now, please set the extension to txt On Mon, 27 May 2019 at 12:55, Mohit Chawla wrote: > Hi David, > > > > Thanks for the response. > > > > Yes, I have modified the cfg file to execute ALTER TABLE command. But > somehow, I am facing the problem in starting the Kamailio afte

[SR-Users] FW: Getting the following error when sending INVITE request for calling

2019-05-27 Thread Mohit Chawla
Hi David, Not able to send the .txt file directly. I have zipped the (.txt) file and then sending it to you. Regards, Mohit From: Mohit Chawla [mailto:mohit.cha...@azcom.in] Sent: Monday, May 27, 2019 6:52 PM To: 'Kamailio (SER) - Users Mailing List' Subject: RE: [SR-Users] Getti

Re: [SR-Users] mem leak on 5.1.2?

2019-05-27 Thread Andrew Chen
Thanks for the responses. I'll look into on how to do this because I installed Kamailio using apt-get install on 18.04 Ubuntu. On Mon, May 27, 2019 at 4:02 AM Henning Westerholt wrote: > Hello Andrew, > > additional to the memory debugging comment - I would suggest to first > update to a newer

Re: [SR-Users] FW: Getting the following error when sending INVITE request for calling

2019-05-27 Thread David Villasmil
Hello, Did you execute on your MySQL ALTER TABLE acc ADD COLUMN src_user VARCHAR(64) NOT NULL DEFAULT ''; ALTER TABLE acc ADD COLUMN src_domain VARCHAR(128) NOT NULL DEFAULT ''; ALTER TABLE acc ADD COLUMN src_ip varchar(64) NOT NULL default ''; ALTER TABLE acc ADD COLUMN dst_ouser VARCHA

Re: [SR-Users] mem leak on 5.1.2?

2019-05-27 Thread David Villasmil
You can do apt-get update Then apt-cache showpkg kamailio That will show you what version will be installed, if your happy with the result, simply: apt-get install kamailio (and the mods you have installed) That should upgrade it. On Mon, 27 May 2019 at 14:47, Andrew Chen wrote: > Thanks f

Re: [SR-Users] mem leak on 5.1.2?

2019-05-27 Thread Andrew Chen
Sorry I meant for the debug params you set during recompile? How do you set them with apt repo? On Mon, May 27, 2019, 12:16 David Villasmil wrote: > You can do > > apt-get update > > Then > > apt-cache showpkg kamailio > > That will show you what version will be installed, if your happy with the

Re: [SR-Users] mem leak on 5.1.2?

2019-05-27 Thread David Villasmil
Oh no, for debugging flags you need to compile. But for testing with a newer version before going into compiling, it’s like that. Test first with a newer version, since what you’re experiencing might already be fixed on a newer version. On Mon, 27 May 2019 at 18:09, Andrew Chen wrote: > Sorry I

Re: [SR-Users] mem leak on 5.1.2?

2019-05-27 Thread Henning Westerholt
Hello Andrew, you find updated packages for 5.1. and 5.2 releases here: deb.kamailio.org They are available also for Ubuntu. You need to add the correct config to your apt configuration, have a look e.g. to this tutorial: https://kamailio.org/docs/tutorials/devel/kamailio-install-guide-deb/ Ch

Re: [SR-Users] mem leak on 5.1.2?

2019-05-27 Thread Andrew Chen
Thanks guys. On Mon, May 27, 2019, 16:08 Henning Westerholt wrote: > Hello Andrew, > > you find updated packages for 5.1. and 5.2 releases here: deb.kamailio.org > > They are available also for Ubuntu. You need to add the correct config to > your apt configuration, have a look e.g. to this tutor

Re: [SR-Users] Getting the following error when sending INVITE request for calling

2019-05-27 Thread Mohit Chawla
Hi David, Yes sure. Thanks very much for your support. Please find Kamailio.txt with the mail. Regards, Mohit From: sr-users [mailto:sr-users-boun...@lists.kamailio.org] On Behalf Of David Villasmil Sent: Monday, May 27, 2019 6:47 PM To: Kamailio (SER) - Users Mailing List Subject

[SR-Users] usrloc extra attributes and db_mode=0

2019-05-27 Thread Patrick Wakano
Hello list, Hope you all doing well! I am trying to use the extra attributes (xavp_contact) of the usrloc module to save some additional info about the user. I am setting the value before the save() and doing a call to registered() (not lookup()) before trying to access these extra attributes. Thi

Re: [SR-Users] usrloc extra attributes and db_mode=0

2019-05-27 Thread Patrick Wakano
Forgot to mention I am using version 5.2.2. # kamailio -v version: kamailio 5.2.2 (x86_64/linux) 67f967 flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, Q_MALLOC, F_MALLOC, TLSF_MALLOC, DBG_SR_MEMORY, USE_