Re: [SR-Users] centos (fedora) service startup file

2012-08-14 Thread andre
14.08.2012 12:21, Daniel-Constantin Mierla пишет: Hello, thanks, it was committed in git master branch, backports to follow before minor releases. Do you build your own rpms or you install from the opensuse build system? From the opensuse build system. Cheers, Daniel On 8/2/12 6:24 PM, an

Re: [SR-Users] Suggestions for time utils

2012-08-14 Thread Brandon Armstead
Daniel, One question I do have - is the $timef(%Y%m%d) evaluated only once at run time (when kamailio is started) - or is it evaluated at the time of the ACC'ing action. Sincerely, Brandon Armstead On Tue, Aug 14, 2012 at 1:22 PM, Daniel-Constantin Mierla wrote: > Hello, > > the $timef(..

Re: [SR-Users] Suggestions for time utils

2012-08-14 Thread Brandon Armstead
WORKS! Thank you. On Tue, Aug 14, 2012 at 1:22 PM, Daniel-Constantin Mierla wrote: > Hello, > > the $timef(...) is evaluated, but you don't have time specifiers there, > only static letters. You have to use % in front of the letters, as I guess > from the example: > > http://www.kamailio.org/w

Re: [SR-Users] Suggestions for time utils

2012-08-14 Thread Daniel-Constantin Mierla
Hello, the $timef(...) is evaluated, but you don't have time specifiers there, only static letters. You have to use % in front of the letters, as I guess from the example: http://www.kamailio.org/wiki/cookbooks/3.2.x/pseudovariables Try acc_$timef(%Y%m%d). Cheers, Daniel On 8/14/12 10:17

Re: [SR-Users] Suggestions for time utils

2012-08-14 Thread Brandon Armstead
Daniel, My apologies - forgot to make clean. However still no cigar. Aug 14 20:16:40 /usr/local/sbin/kamailio[12410]: ERROR: db_mysql [km_dbase.c:122]: driver error on query: Table 'kamailio.acc_Ymd' doesn't exist Aug 14 20:16:40 /usr/local/sbin/kamailio[12410]: ERROR: acc [acc.c:405]: faile

Re: [SR-Users] Suggestions for time utils

2012-08-14 Thread Daniel-Constantin Mierla
Hello, are you sure you re-installed and the right acc.so is used? The support is for generic PV, if it works with one it should work with any. Which one does work for you? Can you give exact table name as printed in the SQL query? Does it have the parenthesis and the format string? Cheers

Re: [SR-Users] Suggestions for time utils

2012-08-14 Thread Brandon Armstead
Daniel, Patch applies fine - it still does not seem to take when using $timef, i..e modparam("acc", "db_table_acc", "acc_$timef(Ymd)") It looks as if the $timef is not being interpreted and is simply writing to acc'ing i.e. INSERT INTO acc_$timef Thanks! Sincerely, Brandon Armstead On Tue,

Re: [SR-Users] Suggestions for time utils

2012-08-14 Thread Daniel-Constantin Mierla
Hello, I reapplied the patch (cherry-picked from the initial one) to the master branch. Can you test that and see if it works fine? You can cherry-picked to your branch, try: git pull origin git cherry-pick -x 95ee0a3ee75556a25f3a9286837a57decf6c3c91 If it applies fine, compiles and the tes

Re: [SR-Users] Suggestions for time utils

2012-08-14 Thread Brandon Armstead
Daniel, In my research I saw that commit as well but figured it was some kind of weird merging error. Thanks for your time! Look forward to hearing back from you guys. Sincerely, Brandon Armstead On Tue, Aug 14, 2012 at 12:04 PM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hell

Re: [SR-Users] Suggestions for time utils

2012-08-14 Thread Daniel-Constantin Mierla
Hello, checked the sources and it seems that Juha reverted this feature with the commit: http://git.sip-router.org/cgi-bin/gitweb.cgi?p=sip-router;a=commitdiff;h=959ab319903b9625ead7292cc9638a20146e1cca I guess it was accidentally, I will ask on devels list. Cheers, Daniel On 8/14/12 7:34

Re: [SR-Users] Suggestions for time utils

2012-08-14 Thread Brandon Armstead
Let me also add that I am using 3.2 but I see the commit was quite some time ago so I have a feeling it wouldn't work in 3.3 either. Thanks! Sent from my iPhone On Aug 14, 2012, at 10:27 AM, Daniel-Constantin Mierla wrote: > Hello, > > this functionality should be already there. Doesn't wor

Re: [SR-Users] Suggestions for time utils

2012-08-14 Thread Brandon Armstead
Daniel, It ONLY works with the $time avp Sent from my iPhone On Aug 14, 2012, at 10:27 AM, Daniel-Constantin Mierla wrote: > Hello, > > this functionality should be already there. Doesn't work for you? > > Cheers, > Daniel > > On 8/14/12 7:16 PM, Brandon Armstead wrote: >> Sorry to wake

Re: [SR-Users] Suggestions for time utils

2012-08-14 Thread Daniel-Constantin Mierla
Hello, this functionality should be already there. Doesn't work for you? Cheers, Daniel On 8/14/12 7:16 PM, Brandon Armstead wrote: Sorry to wake up an old thread. However - I am looking to export this $timef function to the param initialization for accounting, i.e. db_table_acc modparam("

Re: [SR-Users] Suggestions for time utils

2012-08-14 Thread Brandon Armstead
Sorry to wake up an old thread. However - I am looking to export this $timef function to the param initialization for accounting, i.e. db_table_acc modparam("db_table_acc", "acc_$ftime(Ymd)"); I've looked into completing this myself however I simply am not familiar enough at this point between t

Re: [SR-Users] A much more modest initial goal: get Kamailio dev version up and running

2012-08-14 Thread Juan Castro
Never mind, I found it out, what I had to do is create the database with "kamdbctl init". Please don't beat me up. On Tue, Aug 14, 2012 at 11:40 AM, Juan Castro wrote: > ...with mysql user auth. I created the DB with the script in > scripts/mysql in the sources, but apparently it doesn't create a

[SR-Users] sms module & IMS

2012-08-14 Thread Oleksandr Shchirskyi
Hi, I'm using OpenIMSCore based on the SER. At the moment I try to add SMS-GW to it. I've found, that SER has sms module, and I tried to use it. But, unfortunately, I couldn't make it work. It's not very clear for me how SIP MESSAGEs can be routed to the sms module. This module works not as appli

[SR-Users] A much more modest initial goal: get Kamailio dev version up and running

2012-08-14 Thread Juan Castro
...with mysql user auth. I created the DB with the script in scripts/mysql in the sources, but apparently it doesn't create a "version" table. The startup complains about that. Where is the schema for that table, and how should have done things instead? mysql> show tables; +--

Re: [SR-Users] db_cassandra

2012-08-14 Thread Anca Vamanu
Hi, If you are using cassandra-cli you can fill in the tables using something like this: version table: set version['location']['table_version']='1004'; set version['subscriber']['table_version']='6'; and the subscriber table: set subscriber['userX']['domain']='domain.com'; set subscriber[

Re: [SR-Users] rtpproxy module issue

2012-08-14 Thread phillman25
Hello This is the output of ldd /usr/local/lib/kamailio/modules_k/rtpproxy.so: shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory linux-gate.so.1 => (0x00276000) libkmi.so.1 => /usr/local/lib/kamailio/libkmi.so.1

Re: [SR-Users] db_cassandra

2012-08-14 Thread Boudewyn Ligthart
HI Anca, Thanks for pointing me to the latest GIT version, this compiles as per normal. Another question, Have you got pointers on how to install the tables / setup Cassandra. I have created the column families for location, subscriber, version but not yet filled these with data. Regards Bou

Re: [SR-Users] rtpproxy module issue

2012-08-14 Thread Alex Balashov
Please post output of: ldd /usr/local/lib/kamailio/modules_k/rtpproxy.so On 08/14/2012 08:47 AM, phillman25 wrote: Dear List I have just installed kamailio V 3.3.1 However, when trying to start kamailio its giving me the below error: ERROR: [sr_module.c:572]: ERROR: load_module: could not

[SR-Users] rtpproxy module issue

2012-08-14 Thread phillman25
Dear List I have just installed kamailio V 3.3.1 However, when trying to start kamailio its giving me the below error: ERROR: [sr_module.c:572]: ERROR: load_module: could not open module : /usr/local/lib/kamailio/modules_k/rtpproxy.so: undefined symbol: qm_realloc : [cfg.y:3591]: parse error i

Re: [SR-Users] db_cassandra

2012-08-14 Thread Anca Vamanu
Hi, I tried compiling the module with the latest 3.1 from git and indeed it did not compile initially. This very simple patch that is attached was needed. There were some problems with implicit casts. I see that you are talking about 3.1.1 version, I have not tried with this exact version.

Re: [SR-Users] Kamailio and ACME

2012-08-14 Thread Fatima Chahrour~Vanrise Support
Can I ask one more question please?! Am planning to send the routing decision configured in kamailio to ACME SBC; but wanted to know if anyone has an idea about the format of this routing that ACME will take from Kamailio. In other words, what is the routing output from Kamailio and that works to

Re: [SR-Users] Remove m=video from SDP header

2012-08-14 Thread phillman25
Hi Daniel Yes there is an empty line after P-hint header. I will make a few tests as you suggested below to see whether its the carrier. Thanks Phillip On Tue, Aug 14, 2012 at 12:15 PM, Daniel-Constantin Mierla < mico...@gmail.com> wrote: > Hello, > > the sdp looks ok, assuming that there is a

[SR-Users] db_cassandra

2012-08-14 Thread Boudewyn Ligthart
Hi, I am trying to get the db_cassandra working in kamailio 3.1.1 with thrift 0.6.1 API and however I get the following compile error. ol.h:33, from dbcassa_base.h:38, from dbcassa_base.cpp:47: ../../lib/srdb1/db.h:388:20: error: expected unqualified-id before â

Re: [SR-Users] Kamailio and ACME

2012-08-14 Thread Fatima Chahrour~Vanrise Support
Thank you Andrea. I just wanted to check if there is any incompatibility between both before surfing deeply. -Original Message- From: sr-users-boun...@lists.sip-router.org [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Andreas Granig Sent: Tuesday, August 14, 2012 12:47 PM To

Re: [SR-Users] Kamailio and ACME

2012-08-14 Thread Andreas Granig
On 08/14/2012 11:29 AM, Fatima Chahrour~Vanrise Support wrote: > I wanted to ask if Kamailio is compatible with ACME Packet or experianced by > anyone in the list? > and if there is any document that you recommend about such topic espacially > in what is related to routing? There is nothing specia

Re: [SR-Users] Kamailio and ACME

2012-08-14 Thread Fatima Chahrour~Vanrise Support
Hi, Sorry for sending this incompletely. I wanted to ask if Kamailio is compatible with ACME Packet or experianced by anyone in the list? and if there is any document that you recommend about such topic espacially in what is related to routing? Is it like having kamailio with any SBC? Thanks in

Re: [SR-Users] centos (fedora) service startup file

2012-08-14 Thread Daniel-Constantin Mierla
Hello, thanks, it was committed in git master branch, backports to follow before minor releases. Do you build your own rpms or you install from the opensuse build system? Cheers, Daniel On 8/2/12 6:24 PM, andre wrote: Somwhere losted since openser 1.0 :) Please fix in: start() {

Re: [SR-Users] Remove m=video from SDP header

2012-08-14 Thread Daniel-Constantin Mierla
Hello, the sdp looks ok, assuming that there is an empty line after P-hint header. Perhaps you should test with a sip phone to see if the call is ok with it, if yes, then you have to ask the carrier to give you details about why the call is not accepted. Cheers, DAniel On 8/13/12 9:52 AM, p

Re: [SR-Users] UAC module

2012-08-14 Thread Daniel-Constantin Mierla
Hello, the parameters are expected to be variables, but looking at the log messages it seems that config optimization replace them with the string values, at you have the assignment just above the function, the parameters will be those string values always at runtime. Can you remove the assi