Strangely db_mode 3 did bring down the no of users to 0 in kamctl ul show
--brief on one server, but I could register on that server and make a call
and it would still show 0, although I did set timer to 3600.
On Tue, Sep 10, 2013 at 4:21 PM, Ali Jawad wrote:
> Hi
> I did change db_mod
Hi
I did change db_mode to 3 , and restarted both server, it did not really
affect the setup, I will change timer and retry as well.
Regards
On Tue, Sep 10, 2013 at 4:19 PM, Alex Balashov wrote:
> On 09/10/2013 09:18 AM, Ali Jawad wrote:
>
> So if the timer is 1 sec, they will get d
So if the timer is 1 sec, they will get deleted if the client does not send
a keep alive ? or other servers are affecting each other ?
Regards
On Tue, Sep 10, 2013 at 4:14 PM, Alex Balashov wrote:
> On 09/10/2013 09:13 AM, Ali Jawad wrote:
>
> Will do but the issue is that the contact
Will do but the issue is that the contacts are not added to start with, but
will try 3
On Tue, Sep 10, 2013 at 4:12 PM, Alex Balashov wrote:
> That may not stop the other server from deleting its contacts. Try using
> db_mode 3.
>
>
> On 09/10/2013 08:53 AM, Ali Jawad wrote:
WITH_USRLOCDB
modparam("usrloc", "timer_interval", 1)
modparam("usrloc", "db_url", DBURL)
modparam("usrloc", "db_mode", 2)
modparam("usrloc", "use_domain", MULTIDOMAIN)
#!endif
Thanks !
On Tue, Sep 10, 2013 at 3:
make
calls, it is this location table issue that is killing me as I have scripts
that do various functions by accessing the location table.
Regards
On Tue, Sep 10, 2013 at 3:39 PM, Alex Balashov wrote:
> On 09/10/2013 08:37 AM, Ali Jawad wrote:
>
>> Dear All
>>
>> I do h
Dear All
I do have two kamailio servers, same firewall same config the only
difference is the listening IPs, and the alias name, they do use the same
database. And both insert accounting information into different tables.
My issue is that one kamailio does correctly store users in the location
ta
start your proxy, see if a few registrations end up in your
> database table.. If so ;) I bet the problem is mysql timeouts ;) and
> you should update both your mysql and your kamailio :)
>
> - Atle
>
> On Tue, Jun 25, 2013 at 3:00 PM, Ali Jawad wrote:
> > That is logical
That is logical, however in that case shouldn't the location table in
memory be also missing entries ?
On Tue, Jun 25, 2013 at 3:37 PM, Olle E. Johansson wrote:
>
> 25 jun 2013 kl. 14:34 skrev Ali Jawad :
>
> Dear All
>
> I had an issue with my kamailio that non-regist
Dear All
I had an issue with my kamailio that non-registered users were able to send
calls "I.e. similar to Asterisk Peer mode" . So I did add the following
statement
if(!reg_fetch_contacts("location", "$fu", "caller"))
{
sl_send_reply("403", "Please register first");
exit;
}
That did fix
Hi
I did setup kamailio to handle websocket, and I am testing using pjsip, my
problem is that I can logon using the pjsip client but SIP does not
register, pjsip displays a SIP connection timeout error. My xlite client
can logon just fine though. The log from kamailio can be seen below
http://past
Homer is a great product, I can wait for version 4 to come out. But
currently it lacks the advanced reporting I need. I will check in the
business mailing list.
On Wed, Apr 24, 2013 at 5:39 PM, Henning Westerholt wrote:
> Am Mittwoch, 24. April 2013, 17:36:46 schrieb Ali Jawad:
> >
Any input please ?
On Tue, Apr 23, 2013 at 2:31 PM, Ali Jawad wrote:
> Hi
> I am in need of a solution that does provide me with advanced graphing and
> report for Kamailio, I.e. ASR/ACD over day/month/destination etc. with
> tresholds and alerts. Does anyone know about a solu
Hi
I am in need of a solution that does provide me with advanced graphing and
report for Kamailio, I.e. ASR/ACD over day/month/destination etc. with
tresholds and alerts. Does anyone know about a solution that is compatible
with Kamailio and does this ?
Thanks
__
Hi
I do have a server with kamailio running on carrireroute, recently the need
to rewrite prefixes arose, so I did enter the rewrite prefix into the
relevant rows/columns in carrierroute tdb table and did reload but nothing
changed. The call is matched to it's needed destination but the prefix is
t
Hi
I am storing accounting entries in the db, and I am also inserting some
custom AVP values, however I also need to store the GeoIP value that I am
extracting using gip. I did try the below, but it is not working, any other
ideas how I could achieve this ?
modparam("acc", "log_extra",
"src_user
Hi
Never mind it is working fine, the IP in question did not have an entry in
the geoip db.
Regards
On Thu, Mar 21, 2013 at 1:00 PM, Ali Jawad wrote:
> As a quick addon
>
> I do use -- modparam("geoip", "path", "/usr/share/GeoIP/GeoLiteCity.dat"
As a quick addon
I do use -- modparam("geoip", "path", "/usr/share/GeoIP/GeoLiteCity.dat")
directly downloaded from :
http://geolite.maxmind.com/download/geoip/database/GeoLiteCity.dat.gz
Regards
On Thu, Mar 21, 2013 at 12:50 PM, Ali Jawad wrote:
> Hi
>
Hi
I did setup geoIP module and got the latest geoipcity free dat file and csv
file and did setup all parameters in kamailio, when doing a test the
instead of showing the country name the code is showing the region name,
while region name is empty "I only need the country name", see :
Config :
if(
I will check it out, I still need to be able to send traffic to gateways
per prefix, hopefully lcr can do that.
On Tue, Mar 12, 2013 at 10:02 PM, Juha Heinanen wrote:
> Ali Jawad writes:
>
> > What I need is to only go to the secondary carrier if all the gateways of
> > the p
Hi
I did setup carrierroute with failover using t_on_failure, I do have 4 ".25
ratio" primary gateways for one carrier and 4 ".25 ratio"secondary gateways
for a secondary carrier. However, given the current setup, if one gateway
is down carrieroute does use the secondary carrier if one gateway of t
Hi
I am using carrieroute to distribute traffic, I am not sure if there is a
way for carrieroute to detect if a destination is down or not, but I read
that the dispatcher module does that so I did compile it into
the existing kamailio installation and added the following settings :
loadmodule "dis
tin Mierla <
mico...@gmail.com> wrote:
> Hello,
>
>
> On 2/12/13 9:28 AM, Ali Jawad wrote:
>
> Hi
> Thanks, what I actually need is keep numbers and * and # and remove the
> rest, something like
>
> $rU = $(rU{re.subst,/![0-9*#]//g});
>
>
:36 Ali Jawad wrote:
> > I am using the below to strip "-" from destination numbers, it does work
> > just fine "I replace - with nothing", what i need to do now is to strip
> all
> > characters except 0-9 * and #. Is there anyway to do it using the
> fol
Hi
I am using the below to strip "-" from destination numbers, it does work
just fine "I replace - with nothing", what i need to do now is to strip all
characters except 0-9 * and #. Is there anyway to do it using the following
configuration part
if($rU =~ ".*-.*" )
{
$rU = $(r
Hi
I did try this
$rU = $(var(rU){s.replace,0,5} ;
and tried with a number full of zeros, my anticipation was that it will
remove the 0s and replace those with 5s in the echo log for $rU I did get,
the below, the whole number was replaced with 5.
5(23072) ERROR:
Dear All
I need to remove any dashes wherever they do occur in a called number, any
guidance please ?
Regards
*
*
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bi
from udp:xx.xx.xx.xx:5060 , any idea on how to achieve that ?
Regards
On Mon, Dec 17, 2012 at 4:13 PM, Alex Balashov wrote:
> Your reference to the row, column lacks $dbr() PV encapsulation.
>
> Ali Jawad wrote:
>
> >Thanks Alex, now it works if I do set the $ru manually, howe
Thanks Alex, got it to work as follows :
$ru = "sip:"+$xavp(ra=>username)+"@"+$xavp(ra=>domain);
On Mon, Dec 17, 2012 at 3:33 PM, Ali Jawad wrote:
> I did make it simpler as follows :
>
> sql_xquery("cb", "select username,do
a=>domain)");
xlog actually does reply correctly with the value of domain, but $ru is not
recognizing it as the log shows :
ERROR: [resolve.c:1540]: ERROR: sip_hostport2su: could not resolve
hostname: "$xavp(ra=>domain)"
On Mon, Dec 17, 2012 at 2:55 PM, Ali Jawad wrote:
$var(i) = $var(i) + 1;
}
}
$ru = "sip:support1@ra=>[$var(1),$var(1)]:5060";
On Mon, Dec 17, 2012 at 2:22 PM, Alex Balashov wrote:
> $ru
--
*Ali Jawad
*
*Information Systems Manager
CISSP - PMP - ITIL V3 - RHCE - VCP - C|EH - CCNA - MCSA
*
*S
p://www.kamailio.org/wiki/cookbooks/3.3.x/pseudovariables>
>
>
> On 12/17/2012 04:51 AM, Ali Jawad wrote:
>
> Hi
>> I am using slqops to get some user related info from location table, I
>> want to use that info in rewritehost, however when I do use a variable
>>
Hi
I am using slqops to get some user related info from location table, I want
to use that info in rewritehost, however when I do use a variable in
rewritehost I get an error "Unable to resolve variable". Is it possible to
use a variable in rewritehost ? If not what is the workaround ?
Thanks
_
found
in table location
On Tue, Dec 11, 2012 at 9:46 AM, Ali Jawad wrote:
> Anyone, please ?
>
>
> On Mon, Dec 10, 2012 at 2:27 PM, Ali Jawad wrote:
>
>> It does seem like a simple problem gone viral...the db_mode is set to 3,
>> the actual routing happens as foll
Anyone, please ?
On Mon, Dec 10, 2012 at 2:27 PM, Ali Jawad wrote:
> It does seem like a simple problem gone viral...the db_mode is set to 3,
> the actual routing happens as follows :
>
> # USER location service
> route[LOCATION] {
>
> #!ifdef WITH_ALIASDB
> # se
It does seem like a simple problem gone viral...the db_mode is set to 3,
the actual routing happens as follows :
# USER location service
route[LOCATION] {
#!ifdef WITH_ALIASDB
# search in DB-based aliases
alias_db_lookup("dbaliases");
#!endif
if (!lookup("location")) {
, Dec 10, 2012 at 2:00 PM, Ali Jawad wrote:
> What's even weirder is that I did register directly on the DID Kamailio
> and I still get
>
> kamctl ul show --brief
> Domain:: location table=512 records=0 max_slot=0
>
>
> On Mon, Dec 10, 2012 at 1:54 PM, Alex Balashov
&
stration as
> well.
>
>
> On 12/10/2012 06:52 AM, Ali Jawad wrote:
>
> Hi Alex
>> actually I did try db_mode set to 3 but when doing kamctl ul show on DID
>> Kamailio it displays
>>
>> Domain:: location table=512 records=0 max_slot=0
>>
>>
Hi Alex
actually I did try db_mode set to 3 but when doing kamctl ul show on DID
Kamailio it displays
Domain:: location table=512 records=0 max_slot=0
Another thing I notice with db_mode 3 is it also just returns - SIP/2.0 404
Not Found.
Regards
On Mon, Dec 10, 2012 at 1:38 PM, Alex Balashov w
Hi
I do have 3 kamailio servers sharing the same db, calls go to Asterisk and
that works great, I did purchase a DID and point it to one of the kamailio
servers, it works fine so far for that kamailio server as the call is
forwarded to the softphone ..but ONLY if the user is registered on the
kama
>
> So, when putting, for instance, $ua into the DB, you might consider
> applying the {s.escape.common} transformation to it. Instead of $ua, use
> $(ua{s.escape.common}).
>
> -- Alex
>
>
> On 09/06/2012 10:04 AM, Ali Jawad wrote:
>
> Thank you Alex, I g
Thank you Alex, I got where I need to. Appreciated.
Regards
On Thu, Sep 6, 2012 at 4:30 PM, Alex Balashov wrote:
> On 09/06/2012 09:25 AM, Ali Jawad wrote:
>
> How do I get the variables for username,agent and IP.
>>
>
> This information comes from pseudovariables ("
lashov wrote:
> Sure, just pull it out with the $ua or $hdr(User-Agent) PVs.
>
>
> On 09/05/2012 07:53 AM, Ali Jawad wrote:
>
> Hi Alex
>> Sounds good, thanks for the input so far, anyway I can add the useragent
>> to the entry ?
>> Regards
>>
>> On W
Hi Alex
Sounds good, thanks for the input so far, anyway I can add the useragent to
the entry ?
Regards
On Wed, Sep 5, 2012 at 2:49 PM, Alex Balashov wrote:
> Hi Ali,
>
>
> On 09/05/2012 07:18 AM, Ali Jawad wrote:
>
> Is it possible to store user logon/logout dates + user age
Hi
Is it possible to store user logon/logout dates + user agent used. I know
that the info is in the location table but it is not persistent, and I am
using the accounting table to store calls. But I am not sure there is a way
to store logon/logout/user agent.
Any input please ?
Regards
___
;> (x86_64/linux); module: kamailio 3.2.1 (x86_64/linux)"
>>
>
>
> ___
> 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
h release in that series is 3.1.5. Can you upgrade to it (or to latest
> git version on branch 3.1) to be sure this is not a bug already fixed?
>
> Cheers,
> Daniel
>
>
> On 1/25/12 10:59 AM, Ali Jawad wrote:
>
> Hi
> The version is 3.1.0 - In more detail
>
>
log though, sorry about that, I was working under
stress and the log was console output.
Regards
On Wed, Jan 25, 2012 at 11:23 AM, Daniel-Constantin Mierla <
mico...@gmail.com> wrote:
> Hello,
>
>
> On 1/24/12 12:57 PM, Ali Jawad wrote:
>
> Hi
> I am running Kamailio a
--
*Ali Jawad
*
*Information Systems Manager*
*Splendor Telecom (www.splendor.net)
Beirut, Lebanon
Phone: +9611373725/ext 116
FAX: +9611375554*
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
87) DEBUG: [db_val.c:117]: converting STRING
[fce64fbb39941fd185732f778188870f]
1(19187) DEBUG: auth [api.c:210]: check_response: Our result =
'f22c158e695e453d713d8c67c6c1a3b8'
Regards
On Wed, Jan 4, 2012 at 10:54 AM, Ali Jawad wrote:
> Hi Daniel
> Back-trace below, regards.
>
12 at 10:48 AM, Daniel-Constantin Mierla
wrote:
> Hello,
>
> can you get the backtrace? Locate the core file (perhaps in / directory if
> you don't use -w command line parameter) and do:
>
> gdb /path/to/kamailio /path/to/corefile
> bt
>
> Cheers,
> Daniel
>
&
?
Regards
On Wed, Jan 4, 2012 at 10:17 AM, Ali Jawad wrote:
> Hi
> When I did set modparam("auth_db", "calculate_ha1", 0 )
>
> Kamailio is crashing see
>
> http://pastebin.com/anaKan0Y
>
> Regards
>
> On Tue, Jan 3, 2012 at 11:54 PM, Ali Jawad wrote:
Hi
When I did set modparam("auth_db", "calculate_ha1", 0 )
Kamailio is crashing see
http://pastebin.com/anaKan0Y
Regards
On Tue, Jan 3, 2012 at 11:54 PM, Ali Jawad wrote:
> Hi
> It fetches one value from the database to compare it against a second
> value that
/12 10:08 PM, Ali Jawad wrote:
>>
>> Hi
>>
>> In Xlite/eyebeam I put in the username and one of my 3 kamailio
>> servers respectively as the sip registrar, I.e. register1.domain.com,
>> register2.domain.com and register3.domain.com, that is why I was
>> say
log ?
On Tue, Jan 3, 2012 at 8:12 PM, Daniel-Constantin Mierla
wrote:
> Hello,
>
> why are you using register.domain.com as domain for registration? Isn't
> domain.com the right one?
>
> Can you enable the sql query log for mysql server and double check if the
> right value (c
7ca73bdb255490f0cefa03b2fda82.2f76.
From: "Test Ast";tag=ba705453.
Call-ID: MzM4Y2IwNzQzZGYwOGI3ZTY1YzYxZjcyZGJjMTMwODI..
CSeq: 2 REGISTER.
WWW-Authenticate: Digest realm="domain.com",
nonce="TwMpsU8DKIX4lvWDwPsV4iUhCl+iOAdk".
Server: kamailio (3.2.1 (i386/linux)).
C
ONS, BYE, REFER, NOTIFY, MESSAGE,
SUBSCRIBE, INFO.
User-Agent: eyeBeam release 1102q stamp 51814.
Content-Length: 0.
On Tue, Jan 3, 2012 at 5:58 PM, Daniel-Constantin Mierla
wrote:
> Hello,
>
>
> On 1/3/12 4:48 PM, Ali Jawad wrote:
>>
>> Hi Daniel
>>
>> Please see
&
o the part below.
> 5(18649) DEBUG: auth [challenge.c:102]: build_challenge_hf:
> realm='domain.com'
> 5(18649) DEBUG: auth [challenge.c:244]: auth: 'WWW-Authenticate:
> Digest realm="domain.com", nonce="TwMcuk8DG47SLxatlNdZfyfR8p3OiyAE"
On T
ket and in this case the domains are
sip1,sip2,sip3 while the hashes stored in the database are generated
against domain.com
If " ha1 is actually hash over 'user:realm:pwd' " shouldn't I have to
set the domain/realm in the config file ?
I might be wrongthanks for the help
pass it to authentication functions, but not sure if makes sense since
> it should be always domain.com
>
> Cheers,
> Daniel
>
>
> On 1/3/12 3:15 PM, Ali Jawad wrote:
>>
>> Hi
>> After some research it seems to me that the only way to achieve this
>> is
lue of the $fd value to something
constant, while this worked for values like $var(y) I was not able to
assign/strip $fd to remove the subdomain part.
Any input please ?
Regards
On Tue, Jan 3, 2012 at 2:06 PM, Ali Jawad wrote:
> Hi
> I do have 3 Kamailio servers, one for mobile phone registra
Hi
I do have 3 Kamailio servers, one for mobile phone registrations, one
for softphone registrations and one for SIP device registrations. Each
of those devices connects to it's perspective kamailio server
sip1.domain.com
sip2.domain.com
sip3.domain.com
All 3 Kamailio servers share the same datab
Did trigger an email to fast this time, for people who might get here
using Google
modparam("auth_db", "calculate_ha1", yes)
should be
modparam("auth_db", "calculate_ha1", 0)
On Tue, Jan 3, 2012 at 1:03 PM, Ali Jawad wrote:
> Hi All
> We are usin
AfjIGPhpa3T"
'
7(17642) DEBUG: sl [sl.c:278]: reply in stateless mode (sl)
7(17642) DEBUG: [msg_translator.c:204]:
check_via_address(pubIP, 192.168.0.191, 0)
And I use this in my config
if (!www_authorize("$fd", "subscriber"))
{
Regards
On
Hi All
We are using plain text passwords for authentication, for the obvious
reasons we want to change to hashed passwords so first I executed the
following on the SQL server :
update subscriber set ha1 = md5(concat(username, ':', domain, ':',
password)), ha1b = md5(concat(username, '@', domain, '
ncy before forking a worker, so
>> these processes won't be created all at a time, but one after the other.
>>
>> However, would be good to find the real reason for such behavior. If the
>> tcp connection gets to mysql server, maybe the question should be addre
ports as you can see.
All fine with that output at 3 ?
Regards
On Tue, Jan 3, 2012 at 11:29 AM, Daniel-Constantin Mierla
wrote:
> Hello,
>
>
> On 1/3/12 9:14 AM, Ali Jawad wrote:
>>
>> Hi Daniel
>>
>> SeLinux is disabled, as I have played around with Chi
Kamailio thing, but any idea about what needs
to be changed on MySQL server to accommodate more children ? No of
connections is 500 conns out of which max 120 are utilized
Regards
On Mon, Jan 2, 2012 at 1:31 PM, Daniel-Constantin Mierla
wrote:
> Hello,
>
>
> On 1/2/12 12:24 PM, Ali
Hi,
> Its all upto you then, that's an intermittent issue and information is not
> complete to trace the issue. Did you see the same Errors every time it fails
> !?
>
> --
> Regards
> Sammy
>
> On Sun, Jan 1, 2012 at 10:06 PM, Ali Jawad wrote:
>>
>> Hi
>>
t; --
> Regards
> Sammy
>
>
> On Sun, Jan 1, 2012 at 10:06 PM, Ali Jawad wrote:
>>
>> Hi
>> Thanks for your input, but as said this works at times yes and times
>> now so I am not sure it is a definite DB issue, the servers are in the
>> same LAN, and there
on 'x' (4)
>
>
> try connecting to the remote DB server 'x' from linux shell i.e
>
> # mysql -u -p -h 'xxxxxxxxx'
>
> Regards,
> Sammy
>
>
> On Fri, Dec 30, 2011 at 3:33 PM, Ali Jawad wrote:
>>
>> Hi All
>> I
Hi All
I have tried the below with Kamailio 3.1.0 and 3.2.1. the problem is
that Kamailio at times fails to start up for no obvious reasons, I.e.
in 10 restarts Kamailio might fail to start 3,0 or 5 times. Te debug
log "level 2 " shows the following :
27(24762) ERROR: db_mysql [km_my_con.c:109]: d
72 matches
Mail list logo