Re: [SR-Users] Error in USERLOCDB

2016-04-07 Thread Alberto Sagredo
Thanks Daniel That was exactly my issue. Solved! 2016-04-08 8:27 GMT+02:00 Daniel-Constantin Mierla : > Hello, > > it seems you created the location table a while ago, before the official > release of 4.4, when there was an invalid constraint in its definition. You > have to drop database locati

Re: [SR-Users] Error in USERLOCDB

2016-04-07 Thread Daniel-Constantin Mierla
Hello, it seems you created the location table a while ago, before the official release of 4.4, when there was an invalid constraint in its definition. You have to drop database location and install it using the sql statement from the file: utils/kamctl/mysql/usrloc-create.sql Cheers, Daniel On

Re: [SR-Users] Compatibility between Siremis 4.2 and Kamailio 4.4

2016-04-07 Thread Daniel-Constantin Mierla
Hello, On 08/04/16 05:18, Jay Li wrote: > Dear all, > > I got into the Kamailio world recently, and just wanted to get some > info here about the compatibility between Siremis and Kamailio. From > what I read, Siremis is wonderful web management tool for Kamailio. > However the latest Siremis to

Re: [SR-Users] truncating sip message

2016-04-07 Thread Daniel-Constantin Mierla
Hello, On 08/04/16 08:06, ycaner wrote: > Hello; > i think i found problem. it is textops module.Appending new header doesnt > increase content length. in addition , remove_hf doesnt work correctly that > doesnt remove headers. > the value of content lenght is about the body size, it is not affect

Re: [SR-Users] truncating sip message

2016-04-07 Thread ycaner
Hello; i think i found problem. it is textops module.Appending new header doesnt increase content length. in addition , remove_hf doesnt work correctly that doesnt remove headers. -- View this message in context: http://sip-router.1086192.n5.nabble.com/truncating-sip-message-tp147332p147337.htm

[SR-Users] Compatibility between Siremis 4.2 and Kamailio 4.4

2016-04-07 Thread Jay Li
Dear all, I got into the Kamailio world recently, and just wanted to get some info here about the compatibility between Siremis and Kamailio. From what I read,   Siremis is wonderful web management tool for Kamailio. However the latest Siremis to date is 4.2.0 which was released more than a year

[SR-Users] Error in USERLOCDB

2016-04-07 Thread Alberto Sagredo
Im getting this error using USERLOCDB Apr 7 22:11:56 kamailio-int /usr/local/sbin/kamailio[29717]: ERROR: db_mysql [km_dbase.c:128]: db_mysql_submit_query(): driver error on query: Duplicate entry '0--1' for key 'connection_idx' (1062) Apr 7 22:11:56 kamailio-int /usr/local/sbin/kamailio[29717]

Re: [SR-Users] Insert callerid in Kamailio

2016-04-07 Thread Alberto Sagredo
Hi Nelson Im using rpid column to set Name as follows if(avp_db_query("select rpid from subscriber where username = '$rU'", "$avp(s:callerid)")) { uac_replace_from("\"$avp(s:callerid)\"",""); xlog(" Valor de RPID es : $avp(s:callerid)"); } Hope this helps Put tha

[SR-Users] truncating sip message

2016-04-07 Thread Yasin CANER
Hello;     there are 2 kamailio sip communacting each other but there is a problem second kamailio truncate sdp messages. i posted a "rtpproxy truncate sdp" 1 day ago, but i think it is kamailio that truncate it. i closed rtpproxy and some uac functions to solve problem b

Re: [SR-Users] Question about debugging using `kamcmd pkg.stats`

2016-04-07 Thread Daniel-Constantin Mierla
Hello, didn't get the time to look at the code, but pkg.stats should work also for mi process, maybe the module doesn't do proc init callback. It needs to be fixed in some way. Also, for timer processes, either there is a buffer overflow and the value of the size of an allocated packet is overwri

Re: [SR-Users] SIP Message Body

2016-04-07 Thread Marrold
I use $mb to get the full SIP packet. On Thu, Apr 7, 2016 at 9:50 AM, Grant Bagdasarian wrote: > Hi Daniel, > > > > Is it also possible to get the full sip message using a pseudo variable, > including the sip headers etc? > > > > Regards, > > > > Grant > > > > *From:* sr-users [mailto:sr-users-b

Re: [SR-Users] SIP Message Body

2016-04-07 Thread Grant Bagdasarian
Hi Daniel, Is it also possible to get the full sip message using a pseudo variable, including the sip headers etc? Regards, Grant From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of Daniel-Constantin Mierla Sent: Thursday, April 7, 2016 9:07 AM To: Kamailio (SER) - User

Re: [SR-Users] Question about debugging using `kamcmd pkg.stats`

2016-04-07 Thread Lucian Balaceanu
Hi again, I get the pkg mem error inside the mi_fifo module and this seems not to be part of the `kamcmd pkg.stats`. I guess the only way to debug this mi_fifo process is by way of gdb as in https://www.kamailio.org/wiki/tutorials/troubleshooting/memory, right? Thank you, Lucian On 06.04.20

Re: [SR-Users] SIP Message Body

2016-04-07 Thread Daniel-Constantin Mierla
You can get the body of any sip message via $rb variable: - https://www.kamailio.org/wiki/cookbooks/4.4.x/pseudovariables#rb_-_body_of_requestreply Cheers, Daniel On 06/04/16 18:02, Vladimer Gabunia wrote: > How can I Catch Text Message in SIP Method Message ? > --