Re: [SR-Users] Problem Storing USRLOC Additional Attributes

2015-07-02 Thread Luca Mularoni
Hi Daniel, yes, when I use db_mode 2 [1 not tested], after 'timer_interval' seconds (30s in my case), data are passed to location_attrs table (through insert query for first registration and then delete/insert for refresh) but just first and last attribute are passed (i.e. in db table I can fin

Re: [SR-Users] start-up crash if wdir is set and WITH_AUTH is defined (Kamailio 4.2)

2015-07-02 Thread Daniel-Constantin Mierla
Hello, it looks like the database path for sqlite is relative to working dir, as I see it is printed as 'tmp/SQLITE_DB' -- then it cannot be found and auth_db cannot be initialized properly. Change it to be absolute path -- you have to add more / in front of the path. Cheers, Daniel On 02/07/15

Re: [SR-Users] Problem Storing USRLOC Additional Attributes

2015-07-02 Thread Daniel-Constantin Mierla
Hello, when you use db_mode 1 or 2, do you see the values in location_attrs database table? Cheers, Daniel On 02/07/15 12:45, Luca Mularoni wrote: > Hi All, > I'm using kamailio 4.2.5 (compiled from source and aligned up to > commit [00a36ae07c587992d6486277ce2e9ae6c009685f]). > In order to enri

Re: [SR-Users] Segment fault

2015-07-02 Thread Daniel-Constantin Mierla
How do you load the value of fwdnumber and then how you use it to update the request uri? The backtrace points to an assignment, but I need to know exactly the operations you do to track it down. Cheers, Daniel On 02/07/15 11:42, Nick Raper wrote: > > I see now that we had an entry in the ‘subsc

[SR-Users] Problem Storing USRLOC Additional Attributes

2015-07-02 Thread Luca Mularoni
Hi All, I'm using kamailio 4.2.5 (compiled from source and aligned up to commit [00a36ae07c587992d6486277ce2e9ae6c009685f]). In order to enrich users data collected during registering phase, I would like to store them in USRLOC Additional Attributes through the use of 'xavp_contact' structure, b

Re: [SR-Users] Segment fault

2015-07-02 Thread Nick Raper
I see now that we had an entry in the 'subscriber' table with forwarding enabled but the 'fwdnumber' field was blank. Could this be the cause? [cid:image001.jpg@01CFEF9D.A1F537A0] Nick Raper Infrastructure Engineer 4th Dimension Technology | South Africa Office: +27 21 506 6260 | 24 hour help

Re: [SR-Users] Segment fault

2015-07-02 Thread Nick Raper
Sorry I forgot to mention the vesion 3.2.1 [cid:image001.jpg@01CFEF9D.A1F537A0] Nick Raper Infrastructure Engineer 4th Dimension Technology | South Africa Office: +27 21 506 6260 | 24 hour helpline: +27 21 506 6260 | Fax: +27 86 610 5792 Email: n...@4dt.co.za | Web: www

[SR-Users] start-up crash if wdir is set and WITH_AUTH is defined (Kamailio 4.2)

2015-07-02 Thread jack wang
Hello, If the 'wdir' (or 'workdir') is not set in kamctl.cfg or WITH_AUTH feature is not defined, kamailio can normally be started. Actually , the purpose is thatI want to add the 'wdir' to set the path coredump file... And ther error logs like following: (modified for hiding private info) ./ka

Re: [SR-Users] dmq/dmq_userloc crash on startup (kamailio 4.3.0)

2015-07-02 Thread Asgaroth
Thanks for the quick look Daniel. If anyone requires any further info, dont hesitate to ask, I still have the core file. On 02/07/2015 07:33, Daniel-Constantin Mierla wrote: Hello, at the quick look it seems that dmq_usrloc was not updated with the latest format of the serialized structure r

Re: [SR-Users] dmq_replicate deserializing?

2015-07-02 Thread Asgaroth
Hi Charles, Thanks, I guess I should have sent in the crash report first. Initially I thought the crash may have been related to my configuration settings as it's my first time playing with dmq/dmq_usrloc. Thanks for (potentially) looking into it :) Cheers Bruce On 02/07/2015 07:57, Charles