Daniel-Constantin Mierla writes:
thanks! Did you do some updates to db structure of permissions
module?
forgot that one. it is now added.
-- juha
___
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
Iñaki Baz Castillo writes:
What do you mean with gw group? I just know gateways (in gw
table) and rules (in lcr table).
gw groups have been in lcr module as long as it has existed. see
readme. a gw group consists of one or more gws. it is gw groups that
are referred in lcr table, not
Iñaki Baz Castillo writes:
So when a gateway is selected its attributes (strip, tag...) should be
loaded. If there are various entries in gw table with same ip_addr
but different attributes belonging to different groups, then the
selected attributes should be those included in the
Daniel-Constantin Mierla writes:
since we still have to add migration documents plus some tweaks and I
would like to do more testing before labeling it as stable release, I
propose to do a RC tomorrow and delay final 3.0.0 with one week or so.
as long as $du setting in branch_router is
Andrei Pelinescu-Onciul writes:
It's ready, but I would feel more confident with more testing (and I
won't be able to do anything about it for the rest of this week).
Do you need drop support for branch routes too?
andrei,
no, i don't need drop in branch routes. i'm myself badly
it turned out that the problems ricardo reported on gw selection in
lcr module were due to the fact that he has the same gw (same in terms of
ip address) in more than one gw group and in each group the gw has
different trip/tag attributes.
load_gws() function tries the same gateway only once, but
Iñaki Baz Castillo writes:
IMHO Kamailio shouln't start if there are more gateways than MAX_NO_OF_GWS.
This is, lcr module should give an error. Does it? (I've not tryed
it).
the piece of code that i showed does that.
i can also add info about the limit in module documentation.
Iñaki Baz Castillo writes:
Hi Juha, as this limitation is not present in the module
documentation, and the module doesn't notify it when starting, it
could create serious issues if an admin adds more than 128 gateways
and he doesn't inspect the module source
(really should he do that
Ricardo Martinez writes:
I modified the MAX_NO_OF_GWS to 256
And the lcr_has_size to 256 and I'm still have the problem.
Do you have the chance to reproduce the problem with kamailio 1.5.2 ?
i just tried with latest 1.5 version and priorities worked fine. i'm
thus unable to reproduce
ricardo,
in situation where you see higher priority valued gateway group selected
first, do you know if the lower priority valued group would be used if
none of the gateways in the higher priority valued gateway group can
serve the request? if it is used, then both exist in the hash table.
the
Ricardo Martinez writes:
I was trying to replicate the problem with another prefix, and was using
the id's 132 and 133, correlative, however the problem persists.
id numbers should not have anything to do with this, because nowhere in
the module is id column used. the only thing that might
Ricardo Martinez writes:
Can i change the lcr_has_size from the configuration file with the
parameter?
modparam(lcr, lcr_hash_size, 1024)
yes, you can do that.
Another thing.
Looking at the lcr_mod.c file there is a parameter called MAX_NO_OF_GWS
defined as follows :
Ricardo Martinez writes:
This keep happening even if change the priority value 2 for priority
value 5. I even changed the priority 1 for priority 0 as follows :
+-++--++--+
| id | prefix | from_uri | grp_id | priority |
Ricardo Martinez writes:
mysql select * from lcr where prefix=1351 order by id;
+-++--++--+
| id | prefix | from_uri | grp_id | priority |
+-++--++--+
| 127 | 1351 | | 51 |1 |
| 128 | 1351
ricardo,
i cannot reproduce your problem using sr_3.0 lcr module. i don't have
access to k 1.5 system right now, but this part of the code, i.e.,
selecting gateway groups is the same.
in my test i have
r...@rautu:~# sip-proxy_ctl lcr.dump_gws
{
lcr_id: 1
grp_id: 1
Ricardo Martinez writes:
This is happening to me with version 1.5.2 svnrevision: 2:5918M.
In your test, do you have records between the id's 89 and
127?... could this something to do with it ?
no, just those two records. if you are able to try, i could add some
more debugging to the group
Ricardo Martinez writes:
This is a production machine..
I can't do too much debug.
without more info it is hard to say more because i cannot reproduce the
problem here in simple setup.
-- juha
___
Kamailio (OpenSER) - Users mailing list
Alex Balashov writes:
A DB crashbug. Perhaps it has already been backported to existing
1.5.x tarballs, in which case I am glad.
i pretty sure that i backported the fix to 1.5 branch.
-- juha
___
Kamailio (OpenSER) - Users mailing list
Ricardo Martinez writes:
Could this be related with the parameter lcr_hash_size, the default
value is 128, maybe I need to make it larger?
as the name says, lcr_hash_size affects the size of the hash table. any
power 2 size is ok. larger size just means smaller likelihood for
collisions.
Henning Westerholt writes:
Perhaps the person who introduced this functionality can comment on this? I
reviewed the patches but not found the commit in question and not
remember at the moment. Of course its also possible that you just
take a look to the code and try to find the bug by
Ricardo Martinez writes:
So I'm not understanding why LCR keep marking the gateways as down, even
if they are answering to the OPTIONS request. Could this be a bug in
the LCR module? Or maybe I'm missing something?. The silly part of all
this is the gateways marked as down are always
Iñaki Baz Castillo writes:
Yes, that's a good vision. The problem here is that IETF *didn't*
finish its work for SIMPLE and XCAP. Instead, IETF has published
half-done specifications.
I paste a mail I sent to IETF SIMPLE maillist:
Klaus Darilion writes:
Using IMS/OMA on a technical basis does not require to adopt the telco's
business model.
klaus,
many years ago when i looked at ims, it placed lots of restrictions on
how request must be routed through the mace of proxies and what
information has to be transmitted
Olle E. Johansson writes:
Otherwise, I'm sure that we can get a lot of good stuff from both 3GPP
and OMA work. But far from all of it is useful. You have to be very
selective.
i agree with that. well specified xml document formats are one example.
-- juha
Iñaki Baz Castillo writes:
SIP XMPP integration is a hack!!
user simply chooses, based on ua capability, which protocol to use. why
can't the same authentication data be used for both?
Yes, it's true that until now the only feasible IM and presence
solution is XMPP, but we are in SIP
Iñaki Baz Castillo writes:
- SIMPLE (OMA):
http://oversip.net/public/SIP_SIMPLE_OMA.jpeg
why OMA? it is part of closed mobile operator walled garden that we
should have nothing to do with.
-- juha
___
Kamailio (OpenSER) - Users mailing list
catalina oancea writes:
It seems that kamailio does dns lookup again when receiving REGISTER
2, although both registers are part of the same dialog. Is this the
expected behavior?
i don't think that register requests establish any dialogs. when
registrar receives the second register, it
catalina oancea writes:
I probably misunderstood the RFC. But an INVITE does create a dialog,
and the situation:
asteriskkamailioprovider(hostname)
dns lookup
INVITE 1
catalina oancea writes:
I understand your point, but let's say the dialog is created:
asteriskkamailioprovider(hostname)
dns lookup
INVITE
Rajesh writes:
ERROR:imc:imc_handle_message: room [q] does not exist!
ERROR:imc:imc_manager: failed to handle 'message' .
perhaps you should create the room first. read README carefully.
-- juha
___
Kamailio (OpenSER) - Users mailing list
Schumann Sebastian writes:
My lastest tested versions did only write to the database at proxy
shutdown. After room creation (and also after startup) the whole imc
rooms and members are in the memory.
you are correct. it is possible to check in-memory rooms and membership
with mi commands.
Daniel-Constantin Mierla writes:
you can put abort() in some if conditions - e.g., based on src ip, some
header/uri value.
daniel,
i tried that on my own system and got a core dump from normal lookup()
call. however, when i look at the core, it doesn't tell me much why
this normal
htable module readme says abotu htable param:
size - number specifying the size of hash table. The number of entries
in the table is 2^size
does it mean the size of the hash table or how many entries can be
stored in hash table?
in lcr module, for example, lcr_hash_size param specifies the
Edson - Lists writes:
Some time ago, Daniel explained exactly Your question... I'm trying to
find the thread, but maybe is quickier if you look also for it... it
involved Alex, Daniel and someone else and discussed htable hash table
size...
ok, i'll try to dig that and update readme
Edson Gellert Schubert writes:
http://lists.kamailio.org/pipermail/users/2009-August/024463.html
ok, looks like size has the same meaning as in lcr module, i.e., it just
affects the size of hash table, not number of entries stored in it.
-- juha
i checked the host hw and it is a normal intel dual core processor, so
normal debian i386 package should be fine for it.
i also added more logging to config file like this:
...
xlog(L_INFO, INFO: : Request URI when leaving Initial_Tasks: $ru\n);
route(2);
and in front of route block 2:
Juha Heinanen writes:
...
xlog(L_INFO, INFO: : Request URI when leaving Initial_Tasks: $ru\n);
route(2);
i changed that to
$avp(REQUEST_URI_AVP) = $ru;
xlog(L_INFO, INFO: EXTR: Request URI when leaving Initial_Tasks: $ru\n);
route(2);
and in front of route block 2:
route [2
when analyzing the weird problem, where request uri gets rewritten with
aor's contact even when there is no command in config file that would do
it, i noticed these lines in syslog:
Aug 31 16:41:50 /usr/sbin/kamailio[23139]: DBG:core:rewrite_uri: rewriting
Request-URI with
catalina oancea writes:
Could someone please explain the usage of the watchers table? I
understand the usage active_watchers, but why the watchers table too?
as the same says, active watchers contains information about currently
active watchers of a presentity. watchers table contains info
Daniel-Constantin Mierla writes:
lookup(location) is called as I can see from log. AFAIK there is no
other module calling it internally. However, there is a rewrite_uri()
done before, since 'Not found in usrloc' message comes afterwards. That
can be from other module: rr, enum, etc.
Daniel-Constantin Mierla writes:
just to be sure, you said you don't have lookup() at all, right?
i have, but much later in processing of the script. the info message
about the r-uri host not being local, comes much before the lookup would
have been executed, it request-uri host would have
Daniel-Constantin Mierla writes:
are the hosts with same os? i can't find a reason for such behavior,
unless objects are corrupted. try a make proper; make all; make install
(if you use sources).
both run debian, but i don't know if the non-working host is an amd 64 or
something
Ricardo Martinez writes:
Sorry i didn't understand this.
So I will have 100 OPTIONS message every 180 secs If I have have
100gw's defined?
from reading the code, looks like it is what happens.
Is there any way to avoid this? , but still keep using the ping
feature?
not using the
i have always thought that AVPs exits per transaction. that does not
seem to be the case, however, because when i put in the beginning of my
script
xlog(L_INFO, Caller lcr_id $avp(CALLER_LCR_ID_AVP)\n);
this gets printed to syslog:
Aug 29 11:34:34 localhost
sorry, i sent this message to wrong mailing list. it was sip-router,
not kamailio, where i observed the described behavior.
-- juha
i have always thought that AVPs exits per transaction. that does not
seem to be the case, however, because when i put in the beginning of my
script
Ricardo Martinez writes:
The first one is about the ping column in the gw table. I guess this
column stores the results of execute a ping to the gateways in the
LCR.gw table isn't?.
i don't think that anything is stored in the column by the proxy.
So how this ping is executed? It is
Ricardo Martinez writes:
One more question. About the column weight. According to the
README file, weight is an integer value from 1 to 254. So I guess
if I have two gateways for a particular prefix, and I want to send
50% of the calls to one gateway and the other 50% of the calls to
Ricardo Martinez writes:
If I have 100 gw's defined, there are going to be 100 OPTIONS messages
at the same time every 180 secs?.
Or there is a way to randomize the check interval for the gateways?
looks like it sends the pings back-to-back each time the timer fires.
-- juha
Daniel-Constantin Mierla writes:
If you have discovered something else, let us know.
well, just before your message i send a question to andrei about async
(or delayed reply) support for t_uac_dlg. without that i'm not able to
start using sip router, because having to use two xmlrpc
Daniel-Constantin Mierla writes:
You can still use one interface though - MI is fully available and does
(pseudo) async xmlrpc commands.
that is not true if you use modules from both s and k (like domain
domain module, for example, that is much more advanced in s).
besides, s xmlrpc
Iñaki Baz Castillo writes:
What I don't understand is the reasons to make current SR working with
K and S features/modules compatibility. We don't need a SR working
solution right now (since Kamailio and SER do exist), do we?. Wouldn't
be better to spent devel time in porting the required
Daniel-Constantin Mierla writes:
:-) -- ahh, yes, imo, srctl sort of exists already, but is called
kamctl.
are you saying that one can control s modules with kamctl? i know that
one can control both s and k modules with serctl (except for async
t_uac_dlg).
-- juha
Daniel-Constantin Mierla writes:
several days ago, a new module named mi_rpc was introduced to source
tree. The goal is to be able to execute MI commands using RPC interface
from sip router core.
Back to mi_rpc, one issue that needs to be sorted out is the output
format. Right now
Daniel-Constantin Mierla writes:
I haven't played that much with xmlrpc, but the command must be mi,
the first parameter must be the name of the mi command, then follows the
parameters of the mi command.
k mi_xmlrpc module takes parameters of command as an array. i have
tried many
Daniel-Constantin Mierla writes:
here is what mi_rpc modules does:
- it receives a rpc handler form the rpc interface in core
- reads first parameter and then lookups MI command, if not found then
returns error, if found:
- reads all parameters as string and build internal MI tree
ok,
Daniel-Constantin Mierla writes:
MI tm stats are exported natively via tmx module.
since i need to use xmlrpc module anyway, i prefer to use mi_rpc only
when necessary. if idea behind mi_rpc is backwards compatibility, then
also its output should look like before, which is not now the case,
Robert McGilvray writes:
I guess that's the part where I'm getting stuck. How do I go about
adding my URIs with the proper q values to the dset?
have you tried append_branch with q value, something like this:
append_branch(sip:f...@bar;q=0.5);
if that does not work and no-one else on the
Robert McGilvray writes:
I noticed serialize_branches was removed in 1.4, which is what I use in
production today in 1.3 - do I need to use the replacements in TM to
order them and add the branches?
serialize_branches is replaced in 1.5 by tm functions
t_load_contacts()/t_next_contacts().
Iñaki Baz Castillo writes:
In order to use presence_mwi, the scenario would be really different:
- The user sends a SUBSCRIBE mwi to Kamailio (which also acts as a
presence server).
- Now you need an script in the voicemail server (Asterisk) which
generates a PUBLISH mwi with the
olivier taylor writes:
In failure_route, how can I know the difference between 408s.
408 is hit by the fr_inv_timer and fr_timer.
In the first case, ok, callee does'nt answer.
In the second case, it can be a gateway error and I have to forward the
call to another gateway.
How
olivier taylor writes:
I am talking about calls going thru gateways in any case.
How can check wich timer has been hit when I get in the failure route.
I user doesn't answer for any reason, I get a 408 in failure route, what
if the gateway in between had a problem and didn't anwer at
Pascal Maugeri writes:
I tried to install mediaproxy but it looks tricky to install (many
dependencies, including kernel specific configurations) :-(
i don't know about those. i just use mediaproxy debian package.
and I would like to stick to rtpproxy for performance reason.
this is not
Alex Balashov writes:
Is it possible to set up SIPP or something like it (open source?) on two
endpoints and make them set up calls between themselves with media in
both directions?
you could use sems as the other end point.
-- juha
___
Stagg Shelton writes:
if (next_gw()) {
# prepare for lcr failover
t_on_failure(2);
if(uri=~sip:@]a.b.c.d+.*)
perhaps easier:
if ($rd == A.B.C.D) ...
-- juha
___
Kamailio (OpenSER)
CSB writes:
So how can I write +6012345678 to the database, rather than
=2B6012345678?
if you use freeradius, add + to safe-characters.
-- juha
___
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
Andreas Granig writes:
Has this feature been removed from 1.5?
yes, and it has been documented on page:
http://www.kamailio.org/dokuwiki/doku.php/features:new-in-1.5.x
-- juha
___
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
Pascal Maugeri writes:
I found the tracker in sip-router but nothing in Kamailio. Does it mean that
this is a fix that will be applied only to sip-router module ?
depends if whoever fixes it considers it a bug fig or a new feature.
-- juha
___
Iñaki Baz Castillo writes:
I don't understand why you say that. Media proxy doesn't use nathelper
module, but Kamailio mediaproxy module.
i wrote a hack that extracts application/sdp bodypart from
multipart/mixed body for mediaproxy modules's use_media_proxy function.
the hack thus does not
Edson - Lists writes:
About the workaround suggested by Juha, maybe I misunderstand his e-mail
and he twicked a local copy and didn't post the changes on SVN...
there are two separate issues here related to multipart/mixed.
one is nathelper/mediaproxy module related and the other relates
Stagg Shelton writes:
My basic requirement is that if upstream gateway ip address == 1.2.3.4
then originate and maintain the dialog from my source ip 4.3.2.1 else
if gateway ip == 6.7.8.9 then originate and maintain dialog using
soure ip 9.8.7.6, else if ... N upstream gateways
Pascal Maugeri writes:
So if I understand well (please correct me if I'm wrong) the plan is:
1º) I install MediaProxy and use Kamailio MEDIAPROXY module instead of
rtpproxy/NATHelper
2º) filter the app/sdp part with
if (has_body(multipart/mixed)) {
if
Edson - Lists writes:
i have fixed this in mediaproxy module.
Any chance to have this fix applyed to nathelper? If not, I didn't see
many alternatives:
since i am mediaproxy user, i'm not the right person to apply the
multipart hack to nathelper module. i checked mediaproxy code and
edson,
enclosed find a patch to k 1.5 textops.c that takes boundary string from
Content-Type header.
let me know if it works for you (or anyone else) and i'll commit the
patch.
-- juha
textops.c-diff
Description: textopts.c-diff
___
Kamailio
Edson - Lists writes:
Should I open a bug ticket for this (since is a generalization
mechanism), or is this more a feature request (since it's required by
this particular GW family)?
you can open a ticket. i have not had time to check a mime rfc if there
is a default value for boundary
Edson - Lists writes:
Maybe, then, someone could point me to how to disable multipart SDP on
Cisco AS5300 GWs I already dig it on Cisco and Google sites, but so
far nothing founded...
instead of disabling multipart in cisco, may be you could use this
textops function hack that i
Iñaki Baz Castillo writes:
But, could it create issues? For example, when Cisco device sends a request
with multipart body, which kinds of body does it include?
it must include application/sdp for voice calls.
-- juha
___
Kamailio (OpenSER) -
Iñaki Baz Castillo writes:
Sure, but what more? (I cannot imagine it).
the idea behind the textops function you don't need to know. only
app/sdp will be remain.
-- juha
___
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
David writes:
The trouble is that every so often a BYE does not make it back to my
server. In my simulation this morning, I simply unplugged ( electric )
the two phones that were having a pleasant conversation. Now I have
asterisk that thinks the call is still running and I have
Edson - Lists writes:
I implemented the suggested logic on the ONREPLY_ROUTE. It is
recognizing the multi part SDP, but when filter_body is called, it
returns the following ERROR on the log:
ERROR:textops:filter_body_f: Boundary not found after content
i don't remember what the
Daniel-Constantin Mierla writes:
could be. However, I think this check should be removed. Maybe save
should return different code if it is unregister or register.
i agree that the best solution would be for save() code to tell if it
was unregister.
is there a bug tracker available
BERGANZ François writes:
In fact, I need to do operations like 25.24/0.15.
change your unit to micros and they will be ints.
-- juha
___
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
BERGANZ François writes:
What does it mean?
Have you an example ?
for example, if you are dealing with money, change 15.45 = 1545 or
154500.
-- juha
___
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
add logging that shows what gets registered and then add logging that
shows what is looked up.
-- juha
___
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
CSB writes:
Tried that but still the same issue. One of my python-twisted packages is
wrong possibly?
here is my list of python related packages.
-- juha
# dpkg -l | egrep python
ii libboost-python-dev 1.34.1-14
Boost.Python Library development files
ii
Saúl Ibarra writes:
May 26 18:36:24 [18825] ERROR:permissions:allow_trusted_2: unknown
protocol udp
from README file:
1.4.10. allow_trusted([src_ip_pvar, proto_pvar])
...
Source address and transport protocol given in pvar arguments
must be in string format. Valid transport protocol
Edson - Lists writes:
LCR module: good for RURI manipulations and routing decisions,
but no granularity control (applies to whole system);
there is from regex that may help to improve granularity.
perhaps it would be possible to add a lcr_id to lcr table and thus get
multiple
Edson - Lists writes:
But with Your proposed change (lcr-id), what about functionality overlap
with CarrierRoute (or vice-versa)? They already have, but LCR is much
simpler and more 'direct' for a single domain/'routing policy'
installation...
i'm not worried with possible overlap.
Chandrakant Solanki writes:
How can i use MWI ... to indicate user that he/she has voicemail in his/her
mailbox...
your asterisk box needs to send a publish message to kamailio whenever
status of mailbox changes. see kamailio presence_mwi module.
i don't know anything about asterisk, but
Chandrakant Solanki writes:
But how can i use... can i have example or .cfg file for same...
you send publish requests to kamailio using mi/xmlrpc commands. there
is nothing to configure there. in addition, you of course need to
process mwi subscribe requests from your users.
-- juha
Joao Gomes Pereira writes:
kamailio[8218]: ERROR:xmpp:cmd_send_message: invalid content-type
0x300ff
What could be the problem?
perhaps Content-Type: application/im-iscomposing+xml is not supported.
-- juha
___
Kamailio (OpenSER) -
Andreas Granig writes:
So the string after the back reference (_yy in this case) is not inserted.
Any ideas?
yes, it is a bug fixed in current 1.5.
-- juha
___
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
Andreas Granig writes:
I was already thinking of that, but couldn't find any changelog online
to verify this. Is there a changelog per release on the web site?
i don't think so, but if you suspect that a bug might have been fixed,
check svn related to the buggy code, like this:
Dubravko Caric writes:
is there any way to automatically change reason column from
rejected back to NULL or allow in watchers table after UAC#1
moves the UAC#2 from its blacklist to whitelist?
i see that kamailio (1.5.0) correctly reads index.xml file from
database, but rejected
Dubravko Caric writes:
is there any way to automatically change reason column from
rejected back to NULL or allow in watchers table after UAC#1
moves the UAC#2 from its blacklist to whitelist?
i see that kamailio (1.5.0) correctly reads index.xml file from
database, but rejected
Dubravko Caric writes:
here is my setup so please advise
1. in OpenXCAP I'm using backend = Database
i have
backend = OpenSIPS
which used to be before 1.1.0
backend = OpenSER
-- juha
___
Kamailio (OpenSER) - Users mailing list
Andreas Granig writes:
So how does the IP of Kamailio actually influence authentication? Do I
have to set something special on Kamailio to make this work?
i don't think ip addresses have anything to do with authentication. in
your example, request uri should have the domain the
sasirekha jaganathan writes:
Is it possible to get the XML response(i.e content other than text)
in http_query function?
currently the first line of response is made available in result
pseudo variable. put your xml document on a single line and that should
be it.
-- juha
Stagg Shelton writes:
I am working to get LCR implemented on my migration system, and when I
try to start kamailio i find the below information in the log file,
and kamailio fails to start. My lcr table has 30667 rows in it. I
have read about changing the config.h file to increase
Iñaki Baz Castillo writes:
I read there:
load_gws()/next_gw() functions can now be called also from FAILURE_ROUTE.
Does it mean that prior to 1.5 netx_gw() coudln't be used in
FAILURE_ROUTE ???
How to use it then?
description is not accurate. before 1.5 it was not possible to
Nick Warr writes:
When I call next_gw() will LCR use all possible gateway groups, or just
the gateway(s) in the first matching group?
that depends on your lcr entries. if called number matches to all
entries, then all of their gateway groups will be selected.
The second question is
401 - 500 of 626 matches
Mail list logo