Does the dispatcher module allow combination like "weighted round robin"
algorithm.
Example:
3 of 5 nodes are in better condition so I set them as weight 1 and the
other two as weight 2.
Then the dispatcher will round robin between the 3 nodes with weight 1
until all 5 are with the same weight.
That also means that the weight should be dynamic and updated as conditions
of the node changes.
--
Thanks
Santosh
Which variables I can use in
event_route[sl:local-response] route to xlog
proto:ip:port to which the response will be
sent?
event_route[sl:local-response] {
xlog("L_INFO","Local response to
*$??*\n$mb\n");
}
Hello,
it's now one month since we froze the development for release of v4.1.0.
No critical issues in on the table for this particular version, so
perhaps next week is time to create a dedicated branch for it, to be
named in GIT as 4.1, and open development for v4.2.
If all goes fine for one more week or so, then we can do the release.
Don't forget to add any open issues you are aware of to the tracker so
we can solve them in time. If any of devs or community members have
spare time, adding ids to the xml docbook files (for modules) will help
getting a better alpha-numeric index for parameters and functions -- see
more at:
- http://www.kamailio.org/wiki/devel/module-docbook-readme#section_ids
Cheers,
Daniel
--
Daniel-Constantin Mierla - http://www.asipto.comhttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio Advanced Trainings - Berlin, Nov 25-28
- more details about Kamailio trainings at http://www.asipto.com -
I'm occasionally getting a stuck dialog in my database. I use dialog module for enforcing call limits.
I found this post but still not sure what to do: http://lists.sip-router.org/pipermail/sr-users/2013-April/077681.html
What should I look for / how should I troubleshoot this issue?
-dan
I have all user registration done through kamailio and conferences are handled by freeswitch. I would like to forward all audio to another sip server where the conference can be recorded and we can pull reports. I understand that FS can do the recording, but a box has been setup for this and this is the way my boss wants it.
please let me know how to accomplish this
thanks,
Hi all
I need to extract a part of the INVITE msg:
INVITE sip:+41796159999@82.197.185.185;user=CSC10824 SIP/2.0
I need
10824
in a avp variable.
Is there a regex function where I can extract this? Or how can this be done?
Something like:
Avp(myCSC) = string after CSC - length 5
Please be aware, that ip and destination number in the invite can change ...
Otherwise substring would be a solution.
Thanks for help
Oli
Thanks Daniel,
That helped my understanding further along , but it wasn't the full story
. If I use
$var(rc)=avp_db_load("$to/username","$avp(inbound)/LineIDs");
Then I still get no matches .
But if I place entries in the uuid column of the table , then it works.
I had assumed that since I don't use the uuid or the domain they could be
null .
In fact I tried it again with just a number in the uuid column of the entry
I expected the avp_db_load to match , and it still worked .
I then placed a single entry in the uuid column of a row that I didn't
expect it to match and it still worked .
I then placed two identical numbers in the UUID column and it still works
( see below for current table used in testing)
So in summary it appears that there must be at least one value in the uuid
column for it to work as expected .
Cheers Hugh
Hi all
I want to setup IP failover for Kamailio:
I have 2 hosts A (IP: X.X.X.32) and B (X.X.X.36), with 2 running kamailios.
Using Keepalive to setup IP failover as , virtual IP *is X.X.X.43*.
On host A, kamailio was binded to *listen=udp:0.0.0.0:5060
<http://0.0.0.0:5060>* and host A is MASTER with virtual IP
*Problem is:* Client send REGISTER to X.X.X.43:5060. It recieved 401
respond from X.X.X.32:5060 (actual IP of A), not as expected from
X.X.X.43:5060
(To check if keepalived setting OK or not, I have *nc -l 5060* on host A,
and using nc X.X.X.43 5060 on client, wireshark show that responds is from
X.X.X.43 -> keepalived work OK
Is there any difference between *kamailio* and *nc* cause they both bind to
0.0.0.0, but repond on differ IP?
Thanks
Vinh Nguyen
Hi all,
This is a re-post. My email didn't seem to get on the list last time.
Is there a function I can use to test database connection from the routing script in the cfg file?
My dispatcher uses OPTIONS probing. When the destination receives the OPTIONS request, I'd like to detect the health status of the database connection before sending a reply back.
Note the OPTIONS request doesn't have a user part in the RURI. Hence, is_subscriber() and alias_db_lookup() don't work.
Any suggestion?
Regards,
Allen Zhang