> Yaron wrote:
> Thanks for the quick response. I have already played with the sqlops -
> this is an obvious way to do it. I will further investigate cr and sqlops
> and decide which is best for my purposes.
Hello Yaron,
> I liked the idea of having several instances of SIP-ROUTERs which are
> independent of each other- I understand that cr answers it.
Indeed, this is one advantage of using an in-memory cache. But you probably
need some more DB access on the servers for things like authentication.
> I have another question - I was trying to add alpha-numeric character
> into the cr prefix and it seems it is not supported. We are using 'D' prefixes
> in our network in order to route between different elements in the network.
> Is there a way to support it? Maybe another routing module?
The cr module support also a extended matching mode, but it will be probably
not really feasible with millions of routes:
http://kamailio.org/docs/modules/stable/modules/carrierroute.html#id2651893
Another thing you could do is use another "domain" for the D prefix, e.g. one
for the default routing, and then another one for the D case. The module support
matching for the domain as well. You could maybe also use flags for matching.
Other possible modules for PSTN routing are lcr and mtree.
Regards,
Henning
Hi Everyone,
I have downloaded SR r 3.1.4 and have been playing around with it. I am
considering implementing Number Translation services (1800...) and Number
Portability Services on it. We have around 20K entries on the Number
Translation Service and around 3M entries on the Number portability Service.
The volume is around 100 caps.
I have started working with the carrierroute module - it seems perfect for
the Number translation Service, but I am not sure about the Number
portability. I have several questions:
1. Is it possible to use this module with several millions of entries?
2. What is the impact of loading the table? Is it possible to do it during
traffic hours?
I have read about PDB module, but I haven't understood how to setup the PDB
server. I would appreciate for any guidance. Would you recommend using the
PDB module for the Number Portability or the carrierroute?
Thanks.
Dear sirs,
searching on the web and in old ML threads about the suggested number
of TCP and UDP workers, I just found:
- for TCP children (i.e., TCP receivers, isn't it?)
"As a rule of thumb, (maximum simultaneous connections)/2000 should be
OK" (from doc/tcp_tunning.txt)
- In general for workers (from a past thread by Henning Westerholt):
"In my experience the number of children is not that important for
performance, you may just choose the default size of 8."
In the last post there was, moreover, a suggestion that the number of
children should be chosen with respect to RAM and CPU cores (that
makes sense to me).
The only thing I can think about the rule of thumb above comes from
the possibility that a number of processes may be unavailable in
blocking operations. So my question is:
- with asynchronous TCP/TLS is it safe to assume that more children
than CPU cores are more or less useless?
- are there other blocking operations for which the number of UDP/TCP
children should be incremented above the CPU cores number?
Thank you!
Best regards,
Francesco Castellano
Hi,
Anyone tried pacemaker, heartbeat or OpenAIS for building redundant kamailio
systems?
Please share your experiences. Also auggest a better solution.
Regards,
--
HM Kias
91-9443467600
Hello sr-users,
I would like to present a new project called "Homer".
What is Homer ?
Homer is a capture solution for SIP logging.
How does it work?
Homer has 4 components:
1. Capture Agent
2. Capture Node
4. Capture DB
3. Web GUI.
The capture agent takes your local SIP traffic and sends it to the defined
capture node in HEP protocol.
If you are user of FreeSWITCH or Kamailio, use build-in capture agent. In
other case, you can use an external generic daemon, but only for SIP/UDP.
The capture node is based on kamailio, can receive SIP traffic encapsulated
in IP proto 4 (IPIP) or in HEP procotol and store it into MySQL DB.
To gain access to the capture DB, download a simple webinterface (PHP
based). After it you are able to do search, generate PCAP file,
callflow, look at the details of SIP messages etc.
Homer works in our company and easy collect ~5 M packets per hour.
The patches for kamailio and some other information can be found here:
http://homer.googlecode.com
Beta testers are welcome :-) I'll help everybody to setup/configure Homer
:-)
With best regards,
Alexandr
Hello,
while trying to upgrade from 1.5 to 3.1 i noticed that between t_relay() and
branch_route, $du gets automatically set to $ru if it has not been set before.
This is a change from 1.5 i could not find documentation for, so it might have
been unintened.
Can someone enlighten me on the purpose of this change and if there is a way
to determine if $du is (was) unset other than comparing $ru to $du, wich seems
a bit inefficient?
Is it even guaranteed that $du gets set to $ru in every possible scenario?
--
Alex Hermann
Hello,
My server has two different network cards with different IPs.
I want kamailio to use both; the network card to be used depends on the
destination.
My problem is that I have to add an IP in the configuration file
kamailio.cfg:
listen=109.239.50.67
Will Kamailio listen only to packets sent to this IP?
Can I add the two IPs corresponding to my two network cards here?
Thank you
RR
Hi, I remember that in Kamailio 1.5.X t_on_branch and t_on_failure
still remain after rouning failure_route[XX], and I "think" there was
a way to reset them.
In 3.X it seems that t_on_branch and t_on_failure must be set again in
failure_route to take effect in next t_relay() call, am I right?
Thanks.
--
Iñaki Baz Castillo
<ibc(a)aliax.net>