Re: [SR-Users] alias behaving differently than droute

2014-03-14 Thread Corey Edwards
On Fri, Mar 14, 2014 at 5:13 PM, Pete Ashdown wrote: > After starting to paste the kamailio.cfg snippets, I noticed I was using > route(SIPOUT) instead of route(RELAY) for the aliases. Switching it to > RELAY fixed it. What is the difference between the two? Does SIPOUT > only work for devices

Re: [SR-Users] sip code and sip reason read only

2014-03-14 Thread Kelvin Chua
for anyone looking for the same thing, it's in textopsx module onreply_route { if (@status == "603") { change_reply_status(404, "Not Found"); exit; } } Kelvin Chua On Fri, Mar 14, 2014 at 6:06 AM, Kelvin Chua wrote: > How can i alter at least the sip reason in transit?

Re: [SR-Users] alias behaving differently than droute

2014-03-14 Thread Pete Ashdown
On 03/14/2014 04:10 PM, Alex Balashov wrote: > That would be a difficult question to answer without having some > specific details. However, it is safe to say that alias_db_lookup() > does not alter RTP parameters in any way; it simply modifies your > request URI with the result of a database looku

Re: [SR-Users] bug in textops module

2014-03-14 Thread Daniel-Constantin Mierla
On 14/03/14 23:36, Juha Heinanen wrote: Daniel-Constantin Mierla writes: i didn't understand. if i'm not using rpid related siputils functions that deal with avps, why am i required to load pv module? looking strictly to that, you are not, set the rpid related parameter to "". it should be

Re: [SR-Users] bug in textops module

2014-03-14 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > > i didn't understand. if i'm not using rpid related siputils functions > > that deal with avps, why am i required to load pv module? > looking strictly to that, you are not, set the rpid related parameter > > to "". it should be the other way around, i.e., the

Re: [SR-Users] bug in textops module

2014-03-14 Thread Daniel-Constantin Mierla
On 14/03/14 23:24, Juha Heinanen wrote: Daniel-Constantin Mierla writes: However, so far dependencies in the readme were listing the modules to which are internal bindings to access their functions/values. In this case is no direct binding from siputils to pv. The pv framework is in the core an

Re: [SR-Users] bug in textops module

2014-03-14 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > However, so far dependencies in the readme were listing the modules to > which are internal bindings to access their functions/values. In this > case is no direct binding from siputils to pv. The pv framework is in > the core and it is what siputils uses, but

Re: [SR-Users] alias behaving differently than droute

2014-03-14 Thread Alex Balashov
That would be a difficult question to answer without having some specific details. However, it is safe to say that alias_db_lookup() does not alter RTP parameters in any way; it simply modifies your request URI with the result of a database lookup, much as any routing-related module does, in th

[SR-Users] alias behaving differently than droute

2014-03-14 Thread Pete Ashdown
I presumed that aliases could be used for quickie destination routing, but for some reason my RTP isn't connecting up after. If I put the same alias into droute, it works. Am I understanding aliases wrong? ___ SIP Express Router (SER) and Kamailio (Op

Re: [SR-Users] SIREMIS not redirecting to login widow

2014-03-14 Thread Victor Seva
2014-03-14 16:51 GMT+01:00 malik sherif : > error "/var/www/siremis-4.0.0/siremis/log/ERR.log" cannot be opened with > mode "a" > Seems that the user that runs the webserver cannot write on that directory. I recall that back in the day when I tested siremis I had to take a look over some script t

Re: [SR-Users] bug in textops module

2014-03-14 Thread Daniel-Constantin Mierla
On 14/03/14 21:18, Juha Heinanen wrote: Daniel-Constantin Mierla writes: Is it really about textops module, because the logs are from siputils, or I am missing something obvious? sorry, my bad. it was late in the evening and i wrote wrong module name. it is siputils where the bug is. Actuall

Re: [SR-Users] bug in textops module

2014-03-14 Thread Juha Heinanen
Daniel-Constantin Mierla writes: > Is it really about textops module, because the logs are from siputils, > or I am missing something obvious? sorry, my bad. it was late in the evening and i wrote wrong module name. it is siputils where the bug is. -- juha

Re: [SR-Users] db logging for unsuccessful calls

2014-03-14 Thread Daniel-Constantin Mierla
Hello, if you defined WITH_ACCDB, then the records should be in the acc table, provided that you created the extra columns. Look at your syslog (/var/log/syslog or /var/log/messages) to see if there is any error. To aggregate INVITE and BYE records for getting full CDRs, you need to write a

Re: [SR-Users] "/var/www/siremis-4.0.0/siremis/log/ERR.log" cannot be opened with mode "a".

2014-03-14 Thread Daniel-Constantin Mierla
Be sure the siremis/log/ subfolder is writable by the web server. If you use debian, you can do: make chown Also, if you have selinux, configure it to allow the web server to write on local file system. Cheers, Daniel On 14/03/14 19:41, malik sherif wrote: when I attempted to login to sirem

Re: [SR-Users] bug in textops module

2014-03-14 Thread Daniel-Constantin Mierla
Is it really about textops module, because the logs are from siputils, or I am missing something obvious? Cheers, Daniel On 14/03/14 09:17, Juha Heinanen wrote: according to textops readme: 2.1. Kamailio Modules The following modules must be loaded before this module: * sl -- State

[SR-Users] "/var/www/siremis-4.0.0/siremis/log/ERR.log" cannot be opened with mode "a".

2014-03-14 Thread malik sherif
when I attempted to login to siremis, i got the following error "/var/www/siremis-4.0.0/siremis/log/ERR.log" cannot be opened with mode "a". Did anybody encounter this problem? Thanks Abdul Thank you very much Rainer, the install.lock file was missing and after I created empty file, it red

Re: [SR-Users] SIREMIS not redirecting to login widow

2014-03-14 Thread malik sherif
Thank you very much Rainer, the install.lock file was missing and after I created empty file, it redirected to login prompt but the login attempt failed with the following error "/var/www/siremis-4.0.0/siremis/log/ERR.log" cannot be opened with mode "a". Thanks Abdul Date: Fri, 14 Mar 2014 0

[SR-Users] db logging for unsuccessful calls

2014-03-14 Thread betul.cerit
Hi to all, I could hardly make kamailio log cdr to db but it just logs successful calls.I need cdr of unsuccessful calls also.I used to use asterisk so in cdr I need duration and billsec separately.As far as I understand kamailio can give only one of them.Is there a way to get them? Here is my a

[SR-Users] Kamailio World 2014 - Interactive sessions

2014-03-14 Thread Daniel-Constantin Mierla
This year we scheduled more interactive sessions, to reveal better how Kamailio and open source RTC applications can be used out there. During the afternoon of April 2, a group of technical tutorials target to teach how to use various platforms for typical use cases: sip:provider CE, Kamailio

Re: [SR-Users] 401 after a 302

2014-03-14 Thread Marc Soda
I found t_on_branch_failure() in 4.1. Would that be the way to handle this? On Thu, Mar 13, 2014 at 1:36 PM, Marc Soda wrote: > Can someone tell me how to handle a 401 from a 302 redirect? I am > attempting to register with the uac module. Normally, I set a failure > route for the 401 and ca

Re: [SR-Users] siremis doesn't works with postgresql

2014-03-14 Thread Daniel-Constantin Mierla
Hello, On 14/03/14 03:39, Rene Montilva wrote: Hi List i want to config siremis with postgresql and really to much things fail for the install, at the end y left the siremis db with mysql and kamailio with postgresql but the problems continue, when i want to show subscriber list from siremi

[SR-Users] bug in textops module

2014-03-14 Thread Juha Heinanen
according to textops readme: 2.1. Kamailio Modules The following modules must be loaded before this module: * sl -- Stateless replies. however, i get these errors if pv module is not loaded before textops module: Mar 14 10:14:52 wheezy1 sip-proxy[4707]: ERROR: [pvapi.c:790]: pv_parse_

Re: [SR-Users] Inter domain routing

2014-03-14 Thread Olle E. Johansson
On 14 Mar 2014, at 04:34, Neville D'Souza wrote: > Hi Daniel, > > Just a query regarding the same. I will be building 2 live kamailio servers > based in 2 different countries which will be a backend to a mobile app. I > already have a test server running fine. I need to know how to have 2 >

Re: [SR-Users] Soft phone Issue

2014-03-14 Thread aawaise
I have tried setting the outbound proxy to 192.168.1.10. But could not connect the call. Here are the screen shots. Here is my settings. Please see if they are correct and in the second screen shot lies the screen where Eye Beam just stucks.

Re: [SR-Users] Inter domain routing

2014-03-14 Thread Kelvin Chua
easiest way is to change your domain before calling t_relay() for example: $rd = "1.2.3.4" t_relay(); this will overwrite the r-uri and relay the message to 1.2.3.4 instead Kelvin Chua On Fri, Mar 14, 2014 at 1:56 PM, Neville D'Souza wrote: > Hi Kelvin, > > > > Thanks for your valuable respo

Re: [SR-Users] SIREMIS not redirecting to login widow

2014-03-14 Thread Rainer Piper
Hi Abdul, can you check for an empty file named install.lock in the siremis directory Look at siremis/index.php location.href='$url'";** **exit;** **}* ?> If the file install.lock not exists ... redirect to directory install ;-) If it is not there ... place an empty file install.lock in