Re: [SR-Users] P-CSCF using MYSQL database

2014-04-07 Thread Andrea Meroni
Ok, sorry but i will do it in a couple of hours because i'm running Kamailio on VMs and i have to retrieve them Andrea On Mon, Apr 7, 2014 at 11:09 AM, Jason Penton wrote: > No, there is no know issue. can you send me the full debug log file? > > > On Mon, Apr 7, 2014 at 12:07 PM, Andrea Meroni

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-07 Thread Jason Penton
No, there is no know issue. can you send me the full debug log file? On Mon, Apr 7, 2014 at 12:07 PM, Andrea Meroni wrote: > Yes, i'm using master. I browsed the tree searching the nested function > that generates the error (check failed) and it should be getContactP(struct > sip_msg* _m, udoma

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-07 Thread Andrea Meroni
Yes, i'm using master. I browsed the tree searching the nested function that generates the error (check failed) and it should be getContactP(struct sip_msg* _m, udomain_t* _d) in ims_registrar_pcscf/service_routes.c. I will try to do other tests searching on which attribute the check fails. Meanwhi

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-07 Thread Jason Penton
Hi Andrea, Are you using master? Cheers Jason On Mon, Apr 7, 2014 at 11:57 AM, Andrea Meroni wrote: > Update: even with the UCT IMS client it didn't work, both with db mode 0 > and 1. From Kamailio config file i checked out that the exported function > that generates the issue is pcscf_is_reg

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-07 Thread Andrea Meroni
Update: even with the UCT IMS client it didn't work, both with db mode 0 and 1. From Kamailio config file i checked out that the exported function that generates the issue is pcscf_is_registered. But why the check fails? Andrea On Mon, Apr 7, 2014 at 10:29 AM, Andrea Meroni wrote: > I tried to

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-07 Thread Andrea Meroni
I tried to switch to the "old" db_mode 0 (no db at all), and i got the same error for the call. The registrations seems to works fine: running ulpcscf.status from kamcmd gives me that in the P-CSCF memory there are actually 2 AORs, so ... Is it a bug of the new version?? Everything works fine with

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Jason Penton
no you don't need the S-CSCF DB support unless you want it. Can you send debug log of P-CSCF as well as pcap of the same attempt. Include both registrations and the call. cheers Jason On Fri, Apr 4, 2014 at 2:22 PM, Andrea Meroni wrote: > Ok, using the new scheme the contact records are corre

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Andrea Meroni
Ok, using the new scheme the contact records are correctly saved in the DB (both for Alice and Bob). But i still get the same error. Perhaps its a stupid question ... Should i also add the DB support in the S-CSCFs? Isn't enough (for some preliminar tests, just to look at the Kamailio's behavior) t

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Andrea Meroni
Well ... Just let me try to explain the situation: - Alice registers on scscf1 through pcscf: ok - Bob registers on scscf2 through pcscf: ok (i get a 200 OK after the challenge), but the Bob's record isn't inserted in the local db of the pcscf (because probably i mismatch something in the db confi

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Jason Penton
In this case you have not successfully registered the B party for some reason... On Fri, Apr 4, 2014 at 11:33 AM, Andrea Meroni wrote: > Just another couple of questions: > > - now the tables are added simply when is run kamdbctl create? > - the modules read properly the infos from the db or ar

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Andrea Meroni
Just another couple of questions: - now the tables are added simply when is run kamdbctl create? - the modules read properly the infos from the db or are there others open issues (i tried with my db, modified by hand, to registrate a user, and it was ok; then i tried to make a call to another user

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Andrea Meroni
Ok, thank you very much On Fri, Apr 4, 2014 at 10:06 AM, Jason Penton wrote: > master, yes > > utils/kamctl/mysql/ > > > On Fri, Apr 4, 2014 at 11:02 AM, Andrea Meroni wrote: > >> Many many thanks ... Is it in examples/pcscf? In the master branch? >> >> >> On Fri, Apr 4, 2014 at 10:00 AM, Jason

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Jason Penton
master, yes utils/kamctl/mysql/ On Fri, Apr 4, 2014 at 11:02 AM, Andrea Meroni wrote: > Many many thanks ... Is it in examples/pcscf? In the master branch? > > > On Fri, Apr 4, 2014 at 10:00 AM, Jason Penton > wrote: > >> Hi Andrea, >> >> I have just added the schema to git repo. >> >> Cheers

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Andrea Meroni
Many many thanks ... Is it in examples/pcscf? In the master branch? On Fri, Apr 4, 2014 at 10:00 AM, Jason Penton wrote: > Hi Andrea, > > I have just added the schema to git repo. > > Cheers > Jason > > > On Fri, Apr 4, 2014 at 10:17 AM, Andrea Meroni wrote: > >> Edit: i successfully make it wor

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Jason Penton
Hi Andrea, I have just added the schema to git repo. Cheers Jason On Fri, Apr 4, 2014 at 10:17 AM, Andrea Meroni wrote: > Edit: i successfully make it working, by adding the proper columns in the > database. However, i still have some issues ... Does anyone know where i > can get a descriptio

Re: [SR-Users] P-CSCF using MYSQL database

2014-04-04 Thread Andrea Meroni
Edit: i successfully make it working, by adding the proper columns in the database. However, i still have some issues ... Does anyone know where i can get a description of the DB structure of Kamailio? Especially the tables needed for the modules i mentioned in the previous mail? Andrea On Thu,

[SR-Users] P-CSCF using MYSQL database

2014-04-03 Thread Andrea Meroni
Hi all, i am trying to configure an IMS Core Kamailio-based: while configuring the P-CSCF, i set up the parameters 'db_url' and 'db_mode' of the module ims_usrloc_pcscf respectively to 'mysql://kamailio:kamailiorw@localhost/kamailio' and 1 (because i want a DB for persistence). I had created succe