Hi!
Carsten, Jason, I wonder what is the main motivation for you to have IMS
components?
Are you using Kamailio in an mobile operator environment and thus have
to support all the IMS interfaces, or do you plan to use those modules
also in "normal" VoIP provider scenarios (benefits?)
Thanks
Klaus
daniel,
if i have understood correctly, current mtree implementation does not
allow more than one value per node (prefix) in the three. it some cases
it might make sense to have more that one value.
for example, if an mtree is used to map telephone numbers to values, one
could have:
prefix value
0046 sweden
0046 nordic country
0046 eu member
0046 european country
00375 belarus
00375 european country
and when a telephone number, such as 004692345678 or 0037592345678 is
matched, all values that the prefix has, would be assigned to an avp.
is is ok for you as author of mtree module, if i try to extend it so
that a prefix could be associated with more than one value?
-- juha
On Sunday 28 August 2011, MÉSZÁROS Mihály wrote:
> I attached the log file.
> If you need detailed log/higher log level, then please let me know.
usrloc seems to be using the same connection from multiple processes:
pid: 18389 and 18391, connection: 0xb7387d5c
Aug 28 12:40:10 hal /usr/sbin/kamailio[18389]: INFO: db_mysql [km_dbase.c:83]: submit_query: con: 0xb7387d5c table: location query: select
contact,expires,q,callid,cseq,flags,cflags,user_agent,received,path,socket,methods,last_modified from location where username='mutf-hd' order by q
Aug 28 12:40:10 hal /usr/sbin/kamailio[18391]: INFO: db_mysql [km_dbase.c:83]: submit_query: con: 0xb7387d5c table: location query: select
contact,expires,q,callid,cseq,flags,cflags,user_agent,received,path,socket,methods,last_modified from location where username='ppke-vjk' order by q
Aug 28 12:40:10 hal /usr/sbin/kamailio[18389]: INFO: db_mysql [km_dbase.c:177]: store_result: con: 0xb7387d5c table: location
Aug 28 12:40:10 hal /usr/sbin/kamailio[18389]: INFO: db_mysql [km_dbase.c:83]: submit_query: con: 0xb7387d5c table: location query: update location set expires='2011-08-28 12:45:10',q=-1.00
,cseq=2,flags=0,cflags=0,user_agent='Polycom HDX 8000 HD (Release - 3.0.2.1-17007)',received=NULL,path=NULL,socket='tcp:195.111.192.7:5060',methods=24575,last_modified='2011-08-28 12:40:10' where
username='mutf-hd' AND contact='sip:mutf-hd@193.225.216.28:5060;transport=tcp' AND callid='3533311123-1752'
Aug 28 12:40:10 hal /usr/sbin/kamailio[18391]: INFO: db_mysql [km_dbase.c:177]: store_result: con: 0xb7387d5c table: location
Aug 28 12:40:10 hal /usr/sbin/kamailio[18391]: INFO: db_mysql [km_dbase.c:83]: submit_query: con: 0xb7387d5c table: location query: insert into location
Aug 28 12:40:10 hal /usr/sbin/kamailio[18389]: INFO: db_mysql [km_dbase.c:83]: submit_query: con: 0xb7387d5c table: location query: select
contact,expires,q,callid,cseq,flags,cflags,user_agent,received,path,socket,methods,last_modified from location where username='de-tek-hpc' order by q
Aug 28 12:40:10 hal /usr/sbin/kamailio[18389]: ERROR: db_mysql [km_dbase.c:131]: driver error on query: Commands out of sync; you can't run this command now
It probably needs a fix like below because mod_init has also created a db
connection which is inherited by at least one child and ul_dbh is not 0 anymore.
That process needs to be excluded from opening a database connection, all
other childs need to open their own DB connection. I just don't know what
rank mod_init is run as and thus don't know which process to exclude. Maybe
some other dev can jump in.
diff --git a/modules_k/usrloc/ul_mod.c b/modules_k/usrloc/ul_mod.c
index b3a9499..ca50b01 100644
--- a/modules_k/usrloc/ul_mod.c
+++ b/modules_k/usrloc/ul_mod.c
@@ -378,7 +378,7 @@ static int child_init(int _rank)
break;
}
- if (!ul_dbh)
+ if (rank != PROC_MAIN)
ul_dbh = ul_dbf.init(&db_url); /* Get a new database connection */
if (!ul_dbh) {
LM_ERR("child(%d): failed to connect to database\n", _rank);
Hello,
I've discovered a copy-and-paste error in the app_lua module where it
checks that modules are loaded for the registrar functions. This bug is
visible if the registrar module is exported but the maxfwd module is not.
Patch is attached.
Regards,
Hugh
--
--
Hugh Waite
Senior Design Engineer
Crocodile RCS Ltd.
Hello,
it is now one month till the 10 years SER event in Berlin. I am thinking
to collect few statistics about usage of SER-based code at this moment
(SER, OpenSER, Kamailio, OpenIMSCore ...) and present them during the
conference and publish on the web.
Everything is going to be like a combined report, not individual
listing. Therefore, if you want to participate, your name or company
won't be mentioned.
Here are the stats I thought of:
- type of usage: production, evaluation (testing), research
- number of subscribers (phone lines)
- percentage of phones behind NAT
- number of calls per month
- number of call minutes per month
I am not looking for exact numbers, but rough estimation (e.g., about 10
000 phone lines, ...). Of course, some of the metrics don't apply always
(e.g., if you do termination routed through SIP server, you don't have
subscribers, but just calls traffic). Those doing deployments, can make
one summary of statistics for all instances. You may send other
statistics you think they worth publishing.
Again, this is voluntary, naming is not required. I hope only those
giving real number will write back -- I will try anyhow to figure out if
someone is just dumping fantasy numbers. If privacy is really a big
concern, from case to case, everything can be done under NDA.
Thanks,
Daniel
--
Daniel-Constantin Mierla -- http://www.asipto.com
Kamailio Advanced Training, Oct 10-13, Berlin: http://asipto.com/u/kathttp://linkedin.com/in/miconda -- http://twitter.com/miconda