[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 successfully the
DB using kamdbctl, and loaded the module 'db_mysql' in kamailio.cfg. Then i
tried to run Kamailio, and i got this error:

ERROR: db_mysql [km_dbase.c:122]: db_mysql_submit_query: driver error on
query: Unknown column 'aor' in 'field list'

What am i missing? Consider then when i created the DB i answer yes to all
the questions about creating additional tables ...

Andrea
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


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, Apr 3, 2014 at 2:49 PM, Andrea Meroni  wrote:

> 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 successfully the
> DB using kamdbctl, and loaded the module 'db_mysql' in kamailio.cfg. Then i
> tried to run Kamailio, and i got this error:
>
> ERROR: db_mysql [km_dbase.c:122]: db_mysql_submit_query: driver error on
> query: Unknown column 'aor' in 'field list'
>
> What am i missing? Consider then when i created the DB i answer yes to all
> the questions about creating additional tables ...
>
> Andrea
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


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 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, Apr 3, 2014 at 2:49 PM, Andrea Meroni wrote:
>>
>>> 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 successfully the
>>> DB using kamdbctl, and loaded the module 'db_mysql' in kamailio.cfg. Then i
>>> tried to run Kamailio, and i got this error:
>>>
>>> ERROR: db_mysql [km_dbase.c:122]: db_mysql_submit_query: driver error on
>>> query: Unknown column 'aor' in 'field list'
>>>
>>> What am i missing? Consider then when i created the DB i answer yes to
>>> all the questions about creating additional tables ...
>>>
>>> Andrea
>>>
>>
>>
>> ___
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users@lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
>
> --
>
>  *Jason Penton**Senior Manager: Applications and Services* *Smile
> Communications Pty (Ltd)* *Mobile:* +27 (0) 83 283 
> 7000*Skype:*jason.barry.penton
> jason.pen...@smilecoms.com  www.smilecoms.com
>
>
>
> This email is subject to the disclaimer of Smile Communications at 
> http://www.smilecoms.com/home/email-disclaimer/ 
> <http://www.smilecoms.com/disclaimer>
>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


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 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 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, Apr 3, 2014 at 2:49 PM, Andrea Meroni wrote:
>>>>
>>>>> 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 successfully 
>>>>> the
>>>>> DB using kamdbctl, and loaded the module 'db_mysql' in kamailio.cfg. Then 
>>>>> i
>>>>> tried to run Kamailio, and i got this error:
>>>>>
>>>>> ERROR: db_mysql [km_dbase.c:122]: db_mysql_submit_query: driver error
>>>>> on query: Unknown column 'aor' in 'field list'
>>>>>
>>>>> What am i missing? Consider then when i created the DB i answer yes to
>>>>> all the questions about creating additional tables ...
>>>>>
>>>>> Andrea
>>>>>
>>>>
>>>>
>>>> ___
>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>> sr-users@lists.sip-router.org
>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>>>
>>>
>>>
>>> --
>>>
>>>  *Jason Penton**Senior Manager: Applications and Services* *Smile
>>> Communications Pty (Ltd)* *Mobile:* +27 (0) 83 283 7000 
>>> *Skype:*jason.barry.penton
>>> jason.pen...@smilecoms.com 
>>> www.smilecoms.com
>>>
>>>
>>>
>>> This email is subject to the disclaimer of Smile Communications at 
>>> http://www.smilecoms.com/home/email-disclaimer/ 
>>> <http://www.smilecoms.com/disclaimer>
>>>
>>>
>>> ___
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users@lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>
>> ___
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users@lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
>
> --
>
>  *Jason Penton**Senior Manager: Applications and Services* *Smile
> Communications Pty (Ltd)* *Mobile:* +27 (0) 83 283 
> 7000*Skype:*jason.barry.penton
> jason.pen...@smilecoms.com  www.smilecoms.com
>
>
>
> This email is subject to the disclaimer of Smile Communications at 
> http://www.smilecoms.com/home/email-disclaimer/ 
> <http://www.smilecoms.com/disclaimer>
>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


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, but i receive a
Forbidden: you must register with a S-CSCF first)?

Andrea


On Fri, Apr 4, 2014 at 10:13 AM, Andrea Meroni  wrote:

> 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 Penton <
>>> jason.pen...@smilecoms.com> 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 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, Apr 3, 2014 at 2:49 PM, Andrea Meroni wrote:
>>>>>
>>>>>> 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 successfully the DB using
>>>>>> kamdbctl, and loaded the module 'db_mysql' in kamailio.cfg. Then i tried 
>>>>>> to
>>>>>> run Kamailio, and i got this error:
>>>>>>
>>>>>> ERROR: db_mysql [km_dbase.c:122]: db_mysql_submit_query: driver error
>>>>>> on query: Unknown column 'aor' in 'field list'
>>>>>>
>>>>>> What am i missing? Consider then when i created the DB i answer yes
>>>>>> to all the questions about creating additional tables ...
>>>>>>
>>>>>> Andrea
>>>>>>
>>>>>
>>>>>
>>>>> ___
>>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>>> sr-users@lists.sip-router.org
>>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>>  *Jason Penton**Senior Manager: Applications and Services* *Smile
>>>> Communications Pty (Ltd)* *Mobile:* +27 (0) 83 283 7000 
>>>> *Skype:*jason.barry.penton
>>>> jason.pen...@smilecoms.com 
>>>> www.smilecoms.com
>>>>
>>>>
>>>>
>>>> This email is subject to the disclaimer of Smile Communications at 
>>>> http://www.smilecoms.com/home/email-disclaimer/ 
>>>> <http://www.smilecoms.com/disclaimer>
>>>>
>>>>
>>>> ___
>>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>>> sr-users@lists.sip-router.org
>>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>>
>>>>
>>>
>>> ___
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users@lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>
>>
>> --
>>
>>  *Jason Penton**Senior Manager: Applications and Services* *Smile
>> Communications Pty (Ltd)* *Mobile:* +27 (0) 83 283 7000 
>> *Skype:*jason.barry.penton
>> jason.pen...@smilecoms.com  www.smilecoms.com
>>
>>
>>
>> This email is subject to the disclaimer of Smile Communications at 
>> http://www.smilecoms.com/home/email-disclaimer/ 
>> <http://www.smilecoms.com/disclaimer>
>>
>>
>> ___
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users@lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


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 configuration, that
as i told you i did by hand)
- Alice tries to call Bob: after Alice's has sent the first request to the
proxy i get the error response, from the pcscf.

I guess that even if Bob's record hasn't been inserted in the db Kamailio
could retrieve it from the shared memory ... My only concern was that even
Alice's registration was wrong, or that right now the "usrloc-registrar
engine" for both pcscf and scscf isn't able to manage db access. Has
someone already make some tests about that?

Andrea



On Fri, Apr 4, 2014 at 10:35 AM, Jason Penton wrote:

> 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 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, but i receive a
>> Forbidden: you must register with a S-CSCF first)?
>>
>> Andrea
>>
>>
>> On Fri, Apr 4, 2014 at 10:13 AM, Andrea Meroni wrote:
>>
>>> Ok, thank you very much
>>>
>>>
>>> On Fri, Apr 4, 2014 at 10:06 AM, Jason Penton <
>>> jason.pen...@smilecoms.com> 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 Penton <
>>>>> jason.pen...@smilecoms.com> 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 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, Apr 3, 2014 at 2:49 PM, Andrea Meroni 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> 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 successfully the DB using
>>>>>>>> kamdbctl, and loaded the module 'db_mysql' in kamailio.cfg. Then i 
>>>>>>>> tried to
>>>>>>>> run Kamailio, and i got this error:
>>>>>>>>
>>>>>>>> ERROR: db_mysql [km_dbase.c:122]: db_mysql_submit_query: driver
>>>>>>>> error on query: Unknown column 'aor' in 'field list'
>>>>>>>>
>>>>>>>> What am i missing? Consider then when i created the DB i answer yes
>>>>>>>> to all the questions about creating additional tables ...
>>>>>>>>
>>>>>>>> Andrea
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> SIP Express Router (SER) and Kamailio (Open

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)
to add it only for the P-CSCF?

Andrea


On Fri, Apr 4, 2014 at 10:47 AM, Andrea Meroni  wrote:

> 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 configuration, that
> as i told you i did by hand)
> - Alice tries to call Bob: after Alice's has sent the first request to the
> proxy i get the error response, from the pcscf.
>
> I guess that even if Bob's record hasn't been inserted in the db Kamailio
> could retrieve it from the shared memory ... My only concern was that even
> Alice's registration was wrong, or that right now the "usrloc-registrar
> engine" for both pcscf and scscf isn't able to manage db access. Has
> someone already make some tests about that?
>
> Andrea
>
>
>
> On Fri, Apr 4, 2014 at 10:35 AM, Jason Penton 
> wrote:
>
>> 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 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, but i receive a
>>> Forbidden: you must register with a S-CSCF first)?
>>>
>>> Andrea
>>>
>>>
>>> On Fri, Apr 4, 2014 at 10:13 AM, Andrea Meroni wrote:
>>>
>>>> Ok, thank you very much
>>>>
>>>>
>>>> On Fri, Apr 4, 2014 at 10:06 AM, Jason Penton <
>>>> jason.pen...@smilecoms.com> 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 Penton <
>>>>>> jason.pen...@smilecoms.com> 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 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, Apr 3, 2014 at 2:49 PM, Andrea Meroni >>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> 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 successfully the DB using
>>>>>>>>> kamdbctl, and loaded the module 'db_mysql' in kamailio.cfg. Then i 
>>>>>>>>> tried to
&g

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 4.1.x ... Or maybe it is a problem of the SIP requests i've
generated??


On Fri, Apr 4, 2014 at 6:12 PM, Andrea Meroni  wrote:

> Here we are (the pcap are captured with Wireshark). I noticed that:
>
> - the users' are correctly inserted in the location table of the pcscf DB
> - the users' are correctly inserted in the contact table of the scscf DB
>  (alice in scscf and bob in scscf2)
>
> However, as you can see, i'm not able to make a call. But if i set db_mode
> to 0 (for ims_usrloc_pcscf) everything work fine. What am i missing? I
> supposed that some checks on some tables' fields fail ... But i can't
> figure out why ... Sorry for the logs, i'll send you asap
>
> Andrea
>
>
> On Fri, Apr 4, 2014 at 1:48 PM, Jason Penton 
> wrote:
>
>> 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 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)
>>> to add it only for the P-CSCF?
>>>
>>> Andrea
>>>
>>>
>>> On Fri, Apr 4, 2014 at 10:47 AM, Andrea Meroni wrote:
>>>
>>>> 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 configuration, that
>>>> as i told you i did by hand)
>>>> - Alice tries to call Bob: after Alice's has sent the first request to
>>>> the proxy i get the error response, from the pcscf.
>>>>
>>>> I guess that even if Bob's record hasn't been inserted in the db
>>>> Kamailio could retrieve it from the shared memory ... My only concern was
>>>> that even Alice's registration was wrong, or that right now the
>>>> "usrloc-registrar engine" for both pcscf and scscf isn't able to manage db
>>>> access. Has someone already make some tests about that?
>>>>
>>>> Andrea
>>>>
>>>>
>>>>
>>>> On Fri, Apr 4, 2014 at 10:35 AM, Jason Penton <
>>>> jason.pen...@smilecoms.com> wrote:
>>>>
>>>>> 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 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, but i 
>>>>>> receive a
>>>>>> Forbidden: you must register with a S-CSCF first)?
>>>>>>
>>>>>> Andrea
>>>>>>
>>>>>>
>>>>>> On Fri, Apr 4, 2014 at 10:13 AM, Andrea Meroni 
>>>>>> wrote:
>>>>>>
>>>>>>> Ok, thank you very much
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Apr 4, 2014 at 10:06 AM, Jason Penton <
>>>>>>> jason.pen...@smilecoms.com> wrote:
>>>>>>>
>>>>>>>> master, yes
>>>>>>>>
>>>>>>>> utils/kamctl/mysql/
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Apr 4, 2014 at 11:02 AM,

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 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 4.1.x ... Or maybe it is a problem of the SIP requests i've
> generated??
>
>
> On Fri, Apr 4, 2014 at 6:12 PM, Andrea Meroni wrote:
>
>> Here we are (the pcap are captured with Wireshark). I noticed that:
>>
>> - the users' are correctly inserted in the location table of the pcscf DB
>> - the users' are correctly inserted in the contact table of the scscf DB
>>  (alice in scscf and bob in scscf2)
>>
>> However, as you can see, i'm not able to make a call. But if i set
>> db_mode to 0 (for ims_usrloc_pcscf) everything work fine. What am i
>> missing? I supposed that some checks on some tables' fields fail ... But i
>> can't figure out why ... Sorry for the logs, i'll send you asap
>>
>> Andrea
>>
>>
>> On Fri, Apr 4, 2014 at 1:48 PM, Jason Penton 
>> wrote:
>>
>>> 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 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)
>>>> to add it only for the P-CSCF?
>>>>
>>>> Andrea
>>>>
>>>>
>>>> On Fri, Apr 4, 2014 at 10:47 AM, Andrea Meroni wrote:
>>>>
>>>>> 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 configuration, that
>>>>> as i told you i did by hand)
>>>>> - Alice tries to call Bob: after Alice's has sent the first request to
>>>>> the proxy i get the error response, from the pcscf.
>>>>>
>>>>> I guess that even if Bob's record hasn't been inserted in the db
>>>>> Kamailio could retrieve it from the shared memory ... My only concern was
>>>>> that even Alice's registration was wrong, or that right now the
>>>>> "usrloc-registrar engine" for both pcscf and scscf isn't able to manage db
>>>>> access. Has someone already make some tests about that?
>>>>>
>>>>> Andrea
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Apr 4, 2014 at 10:35 AM, Jason Penton <
>>>>> jason.pen...@smilecoms.com> wrote:
>>>>>
>>>>>> 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 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, but i
>>>>>>> receive a Forbidden: you must register with a S-CSCF first)?
>>>>>>>
>>>>>>> Andrea
>>>>>>>
>>>>>>>
>>>&g

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.
Meanwhile, if you don't mind, please tell me if the it is a known bug or
no, so maybe i can fix it :)

Andrea


On Mon, Apr 7, 2014 at 11:02 AM, Jason Penton wrote:

> 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_registered. But why the check fails?
>>
>> Andrea
>>
>>
>> On Mon, Apr 7, 2014 at 10:29 AM, Andrea Meroni wrote:
>>
>>> 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 4.1.x ... Or maybe it is a problem of the SIP requests i've
>>> generated??
>>>
>>>
>>> On Fri, Apr 4, 2014 at 6:12 PM, Andrea Meroni wrote:
>>>
>>>> Here we are (the pcap are captured with Wireshark). I noticed that:
>>>>
>>>> - the users' are correctly inserted in the location table of the pcscf
>>>> DB
>>>> - the users' are correctly inserted in the contact table of the scscf DB
>>>>  (alice in scscf and bob in scscf2)
>>>>
>>>> However, as you can see, i'm not able to make a call. But if i set
>>>> db_mode to 0 (for ims_usrloc_pcscf) everything work fine. What am i
>>>> missing? I supposed that some checks on some tables' fields fail ... But i
>>>> can't figure out why ... Sorry for the logs, i'll send you asap
>>>>
>>>> Andrea
>>>>
>>>>
>>>> On Fri, Apr 4, 2014 at 1:48 PM, Jason Penton <
>>>> jason.pen...@smilecoms.com> wrote:
>>>>
>>>>> 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 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) to add it only for the P-CSCF?
>>>>>>
>>>>>> Andrea
>>>>>>
>>>>>>
>>>>>> On Fri, Apr 4, 2014 at 10:47 AM, Andrea Meroni 
>>>>>> wrote:
>>>>>>
>>>>>>> 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 configuration, 
>>>>>>> that
>>>>>>> as i told you i did by hand)
>>>>>>> - Alice tries to call Bob: after Alice's has sent the first request
>>>>>>> to the proxy i get the error response, from the pcscf.
>>>>>>>
>>>>>>> I guess that even if Bob's record hasn't been inserted in the db
>>>>>>> Kamailio could retrieve it from the shared memory ... My only concern 
>>>>>>> was
>>>>>>> that even Alice's registration was wrong, or that right now the
>>>>>>> "usrloc-registrar engine" for both pcscf and scscf isn't able 

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 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, udomain_t* _d) in ims_registrar_pcscf/service_routes.c. I will
>> try to do other tests searching on which attribute the check fails.
>> Meanwhile, if you don't mind, please tell me if the it is a known bug or
>> no, so maybe i can fix it :)
>>
>> Andrea
>>
>>
>> On Mon, Apr 7, 2014 at 11:02 AM, Jason Penton > > wrote:
>>
>>> 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_registered. But why the check fails?
>>>>
>>>> Andrea
>>>>
>>>>
>>>> On Mon, Apr 7, 2014 at 10:29 AM, Andrea Meroni wrote:
>>>>
>>>>> 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 4.1.x ... Or maybe it is a problem of the SIP requests i've
>>>>> generated??
>>>>>
>>>>>
>>>>> On Fri, Apr 4, 2014 at 6:12 PM, Andrea Meroni wrote:
>>>>>
>>>>>> Here we are (the pcap are captured with Wireshark). I noticed that:
>>>>>>
>>>>>> - the users' are correctly inserted in the location table of the
>>>>>> pcscf DB
>>>>>> - the users' are correctly inserted in the contact table of the scscf
>>>>>> DB
>>>>>>  (alice in scscf and bob in scscf2)
>>>>>>
>>>>>> However, as you can see, i'm not able to make a call. But if i set
>>>>>> db_mode to 0 (for ims_usrloc_pcscf) everything work fine. What am i
>>>>>> missing? I supposed that some checks on some tables' fields fail ... But 
>>>>>> i
>>>>>> can't figure out why ... Sorry for the logs, i'll send you asap
>>>>>>
>>>>>> Andrea
>>>>>>
>>>>>>
>>>>>> On Fri, Apr 4, 2014 at 1:48 PM, Jason Penton <
>>>>>> jason.pen...@smilecoms.com> wrote:
>>>>>>
>>>>>>> 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 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) to add it only for the P-CSCF?
>>>>>>>>
>>>>>>>> Andrea
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Apr 4, 2014 at 10:47 AM, Andrea Meroni <
>>>>>>>> rucola8...@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Well ... Just let me try to explain the situation:
>>>>>>>>>

[SR-Users] Kamailio IMS dnszone

2014-04-09 Thread Andrea Meroni
Issue fixed: i just had to add the following line

dns_try_naptr=yes

to all the kamailio.cfg files of each of my IMS entity. I suggest to modify
accordingly the config files in each of the examples (pcscf, icscf, scscf)
in the master tree in order to make them properly working with the
kamailio_ims_dnszone example

Regards,

Andrea
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio and FHoSS integration

2014-04-17 Thread Andrea Meroni
Hi all,

i am testing a very basic IMS core Kamailio-based using as HSS FHoSS.
However, while using SIPp to stress the system, i noticed that the VM
hosting the FHoSS is overloaded (even with 2 registration scenarios per
second), in particular using top i was able to see that the java process
used almost 200% of the CPU (i run the VM using qemu with options -m 1024
-smp 4). Is it normal or have i misconfigured something? Someone else has
the same problem?

Andrea
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio and FHoSS integration

2014-04-28 Thread Andrea Meroni
You're right, but for the "Kamailio part" i just want to know if the
integration with FHoSS works well ... I mean: FHoSS is advised as HSS to be
used with a Kamailio-based IMS architecture, but is it also the one
preferred by the users/developers for which concerns performance issues?

Andrea


On Mon, Apr 28, 2014 at 9:48 AM, Daniel-Constantin Mierla  wrote:

>  Hello,
>
> maybe asking on the mailing list for FHoSS would give more leads...
>
> Cheers,
> Daniel
>
>
> On 17/04/14 17:29, Andrea Meroni wrote:
>
>  Hi all,
>
>  i am testing a very basic IMS core Kamailio-based using as HSS FHoSS.
> However, while using SIPp to stress the system, i noticed that the VM
> hosting the FHoSS is overloaded (even with 2 registration scenarios per
> second), in particular using top i was able to see that the java process
> used almost 200% of the CPU (i run the VM using qemu with options -m 1024
> -smp 4). Is it normal or have i misconfigured something? Someone else has
> the same problem?
>
>  Andrea
>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing 
> listsr-us...@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda 
> - http://www.linkedin.com/in/miconda
>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio and FHoSS integration

2014-04-28 Thread Andrea Meroni
Yeah, i've already tried it, and it works :). But my problem is different:
when i try to stress the system with a call-rate of just 3 registrations
per second the FHoSS basically crashes (it overloads the CPU)  ... Is
it normal?

Andrea


On Mon, Apr 28, 2014 at 9:54 AM, Jason Penton wrote:

> Yes it will work with FHoSS. The interfaces between I-CSCF and S-CSCF and
> HSS using CxDx interfaces are standards-based using Diameter. Both Kamailio
> IMS modules and FHoSS are based on these standards.
>
> Cheers
> Jason
>
>
> On Mon, Apr 28, 2014 at 10:51 AM, Andrea Meroni wrote:
>
>> You're right, but for the "Kamailio part" i just want to know if the
>> integration with FHoSS works well ... I mean: FHoSS is advised as HSS to be
>> used with a Kamailio-based IMS architecture, but is it also the one
>> preferred by the users/developers for which concerns performance issues?
>>
>> Andrea
>>
>>
>> On Mon, Apr 28, 2014 at 9:48 AM, Daniel-Constantin Mierla <
>> mico...@gmail.com> wrote:
>>
>>>  Hello,
>>>
>>> maybe asking on the mailing list for FHoSS would give more leads...
>>>
>>> Cheers,
>>> Daniel
>>>
>>>
>>> On 17/04/14 17:29, Andrea Meroni wrote:
>>>
>>>  Hi all,
>>>
>>>  i am testing a very basic IMS core Kamailio-based using as HSS FHoSS.
>>> However, while using SIPp to stress the system, i noticed that the VM
>>> hosting the FHoSS is overloaded (even with 2 registration scenarios per
>>> second), in particular using top i was able to see that the java process
>>> used almost 200% of the CPU (i run the VM using qemu with options -m 1024
>>> -smp 4). Is it normal or have i misconfigured something? Someone else has
>>> the same problem?
>>>
>>>  Andrea
>>>
>>>
>>> ___
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing 
>>> listsr-us...@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>> --
>>> Daniel-Constantin Mierla - 
>>> http://www.asipto.comhttp://twitter.com/#!/miconda - 
>>> http://www.linkedin.com/in/miconda
>>>
>>>
>>> ___
>>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>>> sr-users@lists.sip-router.org
>>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>>
>>>
>>
>> ___
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users@lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>>
>>
>
>
> --
>
>  *Jason Penton**Senior Manager: Applications and Services* *Smile
> Communications Pty (Ltd)* *Mobile:* +27 (0) 83 283 
> 7000*Skype:*jason.barry.penton
> jason.pen...@smilecoms.com  www.smilecoms.com
>
>
>
> This email is subject to the disclaimer of Smile Communications at 
> http://www.smilecoms.com/home/email-disclaimer/ 
> <http://www.smilecoms.com/disclaimer>
>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio and FHoSS integration

2014-04-28 Thread Andrea Meroni
Thank u very much, i imagined something like this but i wanted a
confirmation. Just another question: searching the web for other opensource
HSS, i found that most companies implements their own HSS ... So, am I
right if i say that to have a performant HSS i should buy it from someone?
The only good open-source HSS i found is FHoSS ... except for performance
unfortunately

Andrea


On Mon, Apr 28, 2014 at 10:01 AM, Carsten Bock  wrote:

> Hi Andrea,
>
> as i stated in my presentation during KamailioWorld:
>
> "All components for Testbeds available as OpenSource"
>
> I think, the FHoSS is one of the components, which work with Kamailio
> pretty well (from a technical/standards perspective), but also the
> component, which i never would use for a "real-life" setup due to the
> poor performance.
> We (at ng-voice) for example use our own HSS, which is based on JBoss
> & Mobicents and which is tightly integrated into our own provisioning
> platforms (and which lacks some features of the FHoSS, such as the
> Sh-Interface).
>
> Kind regards,
> Carsten
>
>
>
>
>
> 2014-04-28 10:51 GMT+02:00 Andrea Meroni :
> > You're right, but for the "Kamailio part" i just want to know if the
> > integration with FHoSS works well ... I mean: FHoSS is advised as HSS to
> be
> > used with a Kamailio-based IMS architecture, but is it also the one
> > preferred by the users/developers for which concerns performance issues?
> >
> > Andrea
> >
> >
> > On Mon, Apr 28, 2014 at 9:48 AM, Daniel-Constantin Mierla
> >  wrote:
> >>
> >> Hello,
> >>
> >> maybe asking on the mailing list for FHoSS would give more leads...
> >>
> >> Cheers,
> >> Daniel
> >>
> >>
> >> On 17/04/14 17:29, Andrea Meroni wrote:
> >>
> >> Hi all,
> >>
> >> i am testing a very basic IMS core Kamailio-based using as HSS FHoSS.
> >> However, while using SIPp to stress the system, i noticed that the VM
> >> hosting the FHoSS is overloaded (even with 2 registration scenarios per
> >> second), in particular using top i was able to see that the java process
> >> used almost 200% of the CPU (i run the VM using qemu with options -m
> 1024
> >> -smp 4). Is it normal or have i misconfigured something? Someone else
> has
> >> the same problem?
> >>
> >> Andrea
> >>
> >>
> >> ___
> >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> >> sr-users@lists.sip-router.org
> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >>
> >>
> >> --
> >> Daniel-Constantin Mierla - http://www.asipto.com
> >> http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
> >>
> >>
> >> ___
> >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> >> sr-users@lists.sip-router.org
> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >>
> >
> >
> > ___
> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> > sr-users@lists.sip-router.org
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >
>
>
>
> --
> Carsten Bock
> CEO (Geschäftsführer)
>
> ng-voice GmbH
> Schomburgstr. 80
> D-22767 Hamburg / Germany
>
> http://www.ng-voice.com
> mailto:cars...@ng-voice.com
>
> Office +49 40 34927219
> Fax +49 40 34927220
>
> Sitz der Gesellschaft: Hamburg
> Registergericht: Amtsgericht Hamburg, HRB 120189
> Geschäftsführer: Carsten Bock
> Ust-ID: DE279344284
>
> Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
> http://www.ng-voice.com/imprint/
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] S-CSCF reg_fetch_contacts

2014-05-01 Thread Andrea Meroni
Hi all,

does anybody know the correct sintax to get data from the variable $imssulc?

Andrea
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] S-CSCF reg_fetch_contacts

2014-05-01 Thread Andrea Meroni
I beg your pardon,

problem solved. However, i advise to update the documentation or the code
because other users can fall in my same misunderstanding:
- in the doc of reg_fetch_contacts it is said that contact data could be
accessed from the variable $imssulc;
- in the code the variable exported is $ulc, so the sintax is
$(ulc(profile=>attribute)

Andrea


On Thu, May 1, 2014 at 11:04 AM, Andrea Meroni  wrote:

> Hi all,
>
> does anybody know the correct sintax to get data from the variable
> $imssulc?
>
> Andrea
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Children, PKG_MEM and IMS

2014-05-13 Thread Andrea Meroni
Hi all,

i'm a little bit confused about the #children/PKG_MEM mechanism: in my
setup (a simple IMS core with one P-CSCF, one I-CSCF, one dispatcher and 2
S-CSCFs) i wish to manage the highest possible #calls, but i don't know
which is the ideal setup. I mean, i'm running all this components in VMs
(with mem = 2048MB and smp = 8) inside a desktop machine with RAM = 32 GB
and 8 processors; is it worth to define #children = #processors and setting
an high value of PKG_MEM (for example 128MB) or use an higher #children
(for example 64) with less PKG_MEM (for example 16MB)? Someone could
explain me better how the mechanism works? Thank you,

Andrea
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Just 80 call/second

2014-05-15 Thread Andrea Meroni
Hi all,

i have some strange performance issues (with Kamailio config file i guess):
using the default configuration file i can reach a 500 call/s rate, while
using the default configuration file in the dispatcher folder i can reach
just a 80 call/s rate (using the dispatching failover algorithm ...). The
dispatcher is in front on a very basic Kamailio-based IMS core. Something
has some hint about this issues?

Andrea
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Just 80 call/second

2014-05-15 Thread Andrea Meroni
The call is made from just one SIP account, and the limiting factor is the
Proxy: 100% of CPU utilization, followed by the Dispatcher with a 90% ...
The scheme is exactly the one you wrote. Do you think it is a problem of
using just one account instead of different accounts?

Andrea


On Thu, May 15, 2014 at 10:43 AM, Carsten Bock  wrote:

> Hi Andrea,
>
> can elaborate a little more:
> - The Kamailio IMS-Core is making 500 Calls/Second.
> - As soon as you add the dispatcher in front, you're down to 80
> calls/second?
> Correct? If yes: Which system is the limiting factor? Does the
> dispatcher only process 80 calls/second or does the IMS-Core?
> The Setup is the following:
> Dispatcher => Proxy-CSCF => IMS-Core?
> If yes: Are the calls made from one SIP-Account or from random
> SIP-Accounts?
> Or are you using the Dispatcher for In-/Outbound calls (e.g. to the
> I-/S-CSCF)?
>
> Thanks,
> Carsten
>
>
>
>
> 2014-05-15 11:17 GMT+02:00 Andrea Meroni :
> > Hi all,
> >
> > i have some strange performance issues (with Kamailio config file i
> guess):
> > using the default configuration file i can reach a 500 call/s rate, while
> > using the default configuration file in the dispatcher folder i can reach
> > just a 80 call/s rate (using the dispatching failover algorithm ...). The
> > dispatcher is in front on a very basic Kamailio-based IMS core. Something
> > has some hint about this issues?
> >
> > Andrea
> >
> > ___
> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> > sr-users@lists.sip-router.org
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >
>
>
>
> --
> Carsten Bock
> CEO (Geschäftsführer)
>
> ng-voice GmbH
> Schomburgstr. 80
> D-22767 Hamburg / Germany
>
> http://www.ng-voice.com
> mailto:cars...@ng-voice.com
>
> Office +49 40 34927219
> Fax +49 40 34927220
>
> Sitz der Gesellschaft: Hamburg
> Registergericht: Amtsgericht Hamburg, HRB 120189
> Geschäftsführer: Carsten Bock
> Ust-ID: DE279344284
>
> Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
> http://www.ng-voice.com/imprint/
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Dispatcher poor performance

2014-05-16 Thread Andrea Meroni
Hi all,


i have a strange performance problem: i placed a dispatcher in front of a
bundle of Kamailio proxies and, even with a really simple dispatching logic

route {
#ds_select_dstl("1", "2");
$du="sip:192.168.100.51:5060";
forward();
}

that actually doesn't even use the dispatcher module i get that when the
server's (192.168.100.51) CPU is 100% used the dispatcher's CPU is ~50%
used. Using the dispatching algorithm based on the hash of the From-URI or
the failover one (that should be the lightest dispatching algorithm,
computationally speaking ...) the performance are almost the same. So,
since i saw that in the documentation that the dispatcher module is
designed to be "suitable for handling heavy SIP traffic", my question is:
what i misconfigured? In my opinion it seems weird that the dispatcher
module is able to manage just (as my tests suggest) just 2 Kamailio SIP
proxies ...

Andrea
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Just 80 call/second

2014-05-16 Thread Andrea Meroni
Well, actually the problem was the virtualization ... Virtio modules
weren't loaded in my kernel, so i had slow performances for that reason.
However thank you very much :) but i have posted also another question,
about the dispatcher performances ... Basically i have a dispatcher in
front of 2 proxies and i checked that it is actually able to manage just 2
Kamailio proxy istances (all the 3 components reaches 100% of CPU load with
an equally distributed traffic). For which concern the DNS i checked that,
by using Kamailio DNS cache mechanism, it is done just a single DNS query
at the beginning of the call. Any suggestion? Or is it normal for the
dispatcher to have this performance?

Andrea


On Fri, May 16, 2014 at 4:22 PM, Carsten Bock  wrote:

> Just a quick idea:
> Did you check your DNS? Can you check, what DNS-queries are done and
> how long that takes?
> We had this issue once in another setup...
>
> Kind regards,
> Carsten
>
> 2014-05-15 12:09 GMT+02:00 Andrea Meroni :
> > The call is made from just one SIP account, and the limiting factor is
> the
> > Proxy: 100% of CPU utilization, followed by the Dispatcher with a 90% ...
> > The scheme is exactly the one you wrote. Do you think it is a problem of
> > using just one account instead of different accounts?
> >
> > Andrea
> >
> >
> > On Thu, May 15, 2014 at 10:43 AM, Carsten Bock 
> wrote:
> >>
> >> Hi Andrea,
> >>
> >> can elaborate a little more:
> >> - The Kamailio IMS-Core is making 500 Calls/Second.
> >> - As soon as you add the dispatcher in front, you're down to 80
> >> calls/second?
> >> Correct? If yes: Which system is the limiting factor? Does the
> >> dispatcher only process 80 calls/second or does the IMS-Core?
> >> The Setup is the following:
> >> Dispatcher => Proxy-CSCF => IMS-Core?
> >> If yes: Are the calls made from one SIP-Account or from random
> >> SIP-Accounts?
> >> Or are you using the Dispatcher for In-/Outbound calls (e.g. to the
> >> I-/S-CSCF)?
> >>
> >> Thanks,
> >> Carsten
> >>
> >>
> >>
> >>
> >> 2014-05-15 11:17 GMT+02:00 Andrea Meroni :
> >> > Hi all,
> >> >
> >> > i have some strange performance issues (with Kamailio config file i
> >> > guess):
> >> > using the default configuration file i can reach a 500 call/s rate,
> >> > while
> >> > using the default configuration file in the dispatcher folder i can
> >> > reach
> >> > just a 80 call/s rate (using the dispatching failover algorithm ...).
> >> > The
> >> > dispatcher is in front on a very basic Kamailio-based IMS core.
> >> > Something
> >> > has some hint about this issues?
> >> >
> >> > Andrea
> >> >
> >> > ___
> >> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing
> list
> >> > sr-users@lists.sip-router.org
> >> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >> >
> >>
> >>
> >>
> >> --
> >> Carsten Bock
> >> CEO (Geschäftsführer)
> >>
> >> ng-voice GmbH
> >> Schomburgstr. 80
> >> D-22767 Hamburg / Germany
> >>
> >> http://www.ng-voice.com
> >> mailto:cars...@ng-voice.com
> >>
> >> Office +49 40 34927219
> >> Fax +49 40 34927220
> >>
> >> Sitz der Gesellschaft: Hamburg
> >> Registergericht: Amtsgericht Hamburg, HRB 120189
> >> Geschäftsführer: Carsten Bock
> >> Ust-ID: DE279344284
> >>
> >> Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
> >> http://www.ng-voice.com/imprint/
> >>
> >> ___
> >> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> >> sr-users@lists.sip-router.org
> >> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >
> >
> >
> > ___
> > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> > sr-users@lists.sip-router.org
> > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
> >
>
>
>
> --
> Carsten Bock
> CEO (Geschäftsführer)
>
> ng-voice GmbH
> Schomburgstr. 80
> D-22767 Hamburg / Germany
>
> http://www.ng-voice.com
> mailto:cars...@ng-voice.com
>
> Office +49 40 34927219
> Fax +49 40 34927220
>
> Sitz der Gesellschaft: Hamburg
> Registergericht: Amtsgericht Hamburg, HRB 120189
> Geschäftsführer: Carsten Bock
> Ust-ID: DE279344284
>
> Hier finden Sie unsere handelsrechtlichen Pflichtangaben:
> http://www.ng-voice.com/imprint/
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio replies

2014-05-23 Thread Andrea Meroni
Hi all,

maybe this is a trivial question but ... how Kamailio manages SIP replies?
I mean, how does it know to what URI reply in onreply_route? Does it use
the SIP Via header or something else, maybe in memory?

Regards,

Andrea
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] Kamailio replies

2014-05-23 Thread Andrea Meroni
Oh, i see ... thank u very much!!

Andrea


On Fri, May 23, 2014 at 5:41 PM, Alex Balashov wrote:

> On 05/23/2014 12:40 PM, Andrea Meroni wrote:
>
>>
>> Hi all,
>>
>> maybe this is a trivial question but ... how Kamailio manages SIP
>> replies? I mean, how does it know to what URI reply in onreply_route?
>> Does it use the SIP Via header or something else, maybe in memory?
>>
>
> The TM module keeps this information in state, but yes, ultimately it
> comes from the Via header according to RFC 3261 (unless diverted by
> something like rport and/or far-end NAT traversal strategies).
>
> --
> Alex Balashov - Principal
> Evariste Systems LLC
> Tel: +1-678-954-0670
> Web: http://www.evaristesys.com/, http://www.alexbalashov.com/
>
> Please be kind to the English language:
>
> http://www.entrepreneur.com/article/232906
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] Kamailio Replies in setup with LB

2014-05-26 Thread Andrea Meroni
Hi all, i have the following setup:

C -> LB-P -> K-P -> LB-S -> K-S

The problem is the following: when K-S (Kamailio Server) replies it relays
the responses to the K-P (Kamailio Proxy) instead of the LB-P
(load-balancer of the proxies). I tried almost every solution: changing
aliases, adding Path headers, changing destination-URI, changing Via:
headers ... But the result is always the same: using transactions it seems
that, even if requests are correctly load-balanced, the replies are not
relayed back following the same path (in particular, referring to the
precedent scheme, a reply for the previous request will follow the path C
<- K-P <- K-S).

Additional information:

- K-P uses as alias the HOSTNAME of LB-P;
- K-S uses as alias the HOSTNAME of LB-S;

Everyone has some hints?

Andrea
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


[SR-Users] CANCEL requests

2014-06-06 Thread Andrea Meroni
Hi all,

just a simple question: which is the timer that triggers if no reply is
received for the current transaction and makes Kamailio send a CANCEL
request?

Andrea
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users


Re: [SR-Users] CANCEL requests

2014-06-06 Thread Andrea Meroni
Ok, thank you very much

Andrea


On Fri, Jun 6, 2014 at 10:01 AM, Daniel-Constantin Mierla  wrote:

>  Hello,
>
> depending if there is a provisional reply or not, it is fr_inv_timer or
> fr_timer -- see the readme of tm module for more details.
>
> Cheers,
> Daniel
>
>
> On 06/06/14 10:40, Andrea Meroni wrote:
>
>  Hi all,
>
>  just a simple question: which is the timer that triggers if no reply is
> received for the current transaction and makes Kamailio send a CANCEL
> request?
>
>  Andrea
>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing 
> listsr-us...@lists.sip-router.orghttp://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
> --
> Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda 
> - http://www.linkedin.com/in/miconda
>
>
> ___
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users@lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users