Hello,
thanks for sharing the article and the knowledge with the community!
I published a news about it at:
- https://www.kamailio.org/w/2017/02/lcr-system-with-kamailio-on-centos-7/
Cheers,
Daniel
On 08/02/2017 14:06, Campus VoToVoice wrote:
> Hello,
>
> My small contribution to Kamailio's
Hello,
My small contribution to Kamailio's documentation:
https://www.voztovoice.org/?q=node/1491
If you find any error, please write me.
Regards
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.o
2017-01-16 21:31 GMT+01:00 Mikko Lehto :
> Looks like that parameter is now¹ called dont_strip_or_prefix_flag
> but module documentation was just not updated.
>
> [1] Change was committed in 2010
> https://github.com/kamailio/kamailio/commit/8c0501bfaa27acab9721953e8c1551687c96edf2
Pushed the fix
Thnak you...
With dont_strip_or_prefix_flag working.
Regards
El 16/01/2017 a las 15:31, Mikko Lehto escribió:
Annus Fictus :
modparam("lcr", "dont_strip_or_tag_flag", 10)
and then restart kamailio, i receive this error:
ERROR: [modparam.c:141]: set_mod_param_regex(): parameter
of type <2
Annus Fictus :
> modparam("lcr", "dont_strip_or_tag_flag", 10)
>
> and then restart kamailio, i receive this error:
>
> ERROR: [modparam.c:141]: set_mod_param_regex(): parameter
> of type <2> not found in module
Hi
Looks like that parameter is now¹ called dont_strip_or_prefix_flag
but modul
Hello,
I'm trying LCR module and dont_strip_or_tag_flag parameter.
If I use this line in the module configuration:
modparam("lcr", "dont_strip_or_tag_flag", 10)
and then restart kamailio, i receive this error:
ERROR: [modparam.c:141]: set_mod_param_regex(): parameter
of type <2> not found
hello;
lcr module dont touch to header. you can use UAC module to manipulate it.
--
View this message in context:
http://sip-router.1086192.n5.nabble.com/LCR-modules-troubles-tp153582p153614.html
Sent from the Users mailing list archive at Nabble.com.
_
Laura writes:
> The LCR modules make the new INVITE using the original To field and
> don't rewrite it like on the first request..
> How is that possibile ?
LCR module never does anything to To header. Look at your config
elsewhere.
-- Juha
___
SIP
Dear list,
i have a strange situation with module LCR on kamailio 4.3.6.
A customer send a call to my first kamailio and i forward it with some
tech prefix to my supplier.
Here the 2 correct invites.. customer is sending to me with prefix 9001
14:34:29.155719 CUSTOMER_IP.101:5060 -> EU_KMAILIO_
On Fri, Sep 23, 2016 at 03:59:20PM +0200, Loic Chabert wrote:
> - I have some sbc for one destination. If one destination fail, kamailio
> try to second one etc..
> - If no SBC is available for this destination (for exemple, all are down),
> i want to send my call to an error server (asterisk), pla
Loic Chabert writes:
> In fact, kamailio is out from lcr at this point, no more gateway to try
> (all gateways are down).
> I just want to send call to a static server for playing sound.
>
> To be more specific, if no gateways are not set on database, a sound must
> be played.
>
> Should i chang
In fact, kamailio is out from lcr at this point, no more gateway to try
(all gateways are down).
I just want to send call to a static server for playing sound.
To be more specific, if no gateways are not set on database, a sound must
be played.
Should i change $du and $ru to make it work ?
Le 23
Loic Chabert writes:
> To accomplish this, i re-write the RURI: "sip:error1@errorserver.local",
> and launch RELAY route. But kamailio dont make a DNS query to find IP of
> "errorserver.local", only change RURI and try to send to the last LCR
> gateway.
>
> I have also try to add a new branch, bu
Hello List,
I'm finishing my implementation of LCR with kamailio for outgoing calls but
one use case does not work.
Let me explain:
- I have some sbc for one destination. If one destination fail, kamailio
try to second one etc..
- If no SBC is available for this destination (for exemple, all are d
Thanks Both Fred/Juha
System is in production when i have a "free slot" i will check repeating
each rule with lower priority. I think that would work as i expect
Thanks for your tips guys!
Have a nice week
Alberto
2016-05-06 13:44 GMT+02:00 Juha Heinanen :
> Alberto Sagredo writes:
> >
> > I
Alberto Sagredo writes:
>
> I do not know if its enough to add under same lcr_id or its better to add
> with different one and add several lcr_rule and lcr_rule_target
>
> Acordding to next_gw() function, what is better to be used? In my case. a
> primary providers is used and only a backup one f
Have you considered either dispatcher or just using a failure route?
-- Fred
> On May 6, 2016, at 7:15 AM, Alberto Sagredo
> wrote:
>
> Hi
>
> I have it working but i have re-read documentation and do not see how to do
> what i need.
>
> I explain it :)
>
> Now i have only one LCR provide
Hi
I have it working but i have re-read documentation and do not see how to do
what i need.
I explain it :)
Now i have only one LCR provider and i need to add a backup one.
I do not know if its enough to add under same lcr_id or its better to add
with different one and add several lcr_rule and
Hello,
did you use t_relay() after all the lcr logic?
Cheers,
Daniel
On 10/03/16 23:19, Roberto Innaimi wrote:
> Hi to all,
>
> i want to use prefix based LCR routing, but for some reason, something
> is not working as expected.
>
> Can anyone help me?
>
> This is the LCR configuration:
>
>
>
Hi to all,
i want to use prefix based LCR routing, but for some reason, something is not
working as expected.
Can anyone help me?
This is the LCR configuration:
#LCR MODULE
loadmodule "lcr.so"
modparam("lcr", "db_url", "mysql://kamailioro:kamailioro@localhost/kamailio")
modparam("lcr", "l
On 02/03/16 08:54, Juha Heinanen wrote:
> Alberto Sagredo writes:
>
>> I have just edited kamctl in order to make lcr commands work. Hope that
>> helps someone.
>>
>> Using Kamailio 4.3.0
>>
>> Please find kamctl attached also
> Alberto,
>
> Thanks for your kamctl contribution. If you like it to
Alberto Sagredo writes:
> I have just edited kamctl in order to make lcr commands work. Hope that
> helps someone.
>
> Using Kamailio 4.3.0
>
> Please find kamctl attached also
Alberto,
Thanks for your kamctl contribution. If you like it to be committed to
next release, please provide a new v
I have just edited kamctl in order to make lcr commands work. Hope that
helps someone.
Using Kamailio 4.3.0
Please find kamctl attached also
### LCR management
#
lcr() *{*
*case* $1 *in*
show_gws)
# merr "command disabled"
#
Thank you!
That resolved my issue :)
2016-02-18 17:23 GMT+01:00 ycaner :
> There is parameter for lcr_id. you need to set max lcr_count in .cfg.
>
> lcr_count
> lcr_gw_count
>
>
>
> --
> View this message in context:
> http://sip-router.1086192.n5.nabble.com/LCR-Module-issue-tp145861p145863.ht
There is parameter for lcr_id. you need to set max lcr_count in .cfg.
lcr_count
lcr_gw_count
--
View this message in context:
http://sip-router.1086192.n5.nabble.com/LCR-Module-issue-tp145861p145863.html
Sent from the Users mailing list archive at Nabble.com.
_
Hi
I have LCR working but not able to add more gateways?
It seems only first one is accepted
What could be wrong?
I show you database data and kamcmd commands output.
mysql> select * from lcr_rule_target;
+++-+---+--++
| id | lcr_id | rule_id | gw_id
15.02.2016 11:11, Juha Heinanen wrote:
> Alexey V. Panfilov writes:
>
>> It's a pity. May I ask (as feature request) to add it to the future
>> version of Kam?
>
> I currently don't need such a feature. It might be possible to
> implement it by adding target_id field to struct target and to stru
Alexey V. Panfilov writes:
> It's a pity. May I ask (as feature request) to add it to the future
> version of Kam?
I currently don't need such a feature. It might be possible to
implement it by adding target_id field to struct target and to struct
matched_gw_info. Then add_gws_into_avps() functi
15.02.2016 10:13, Juha Heinanen wrote:
> Alexey V. Panfilov writes:
>
>> I'm using LCR module in my kamailio setup. I can access to the
>> gw_uri_avp's value of matched gateway, but I'd like to get value of
>> selected id of lcr_rule_target. Is there any way to get it?
>
> id of lcr_rule_target i
Alexey V. Panfilov writes:
> I'm using LCR module in my kamailio setup. I can access to the
> gw_uri_avp's value of matched gateway, but I'd like to get value of
> selected id of lcr_rule_target. Is there any way to get it?
id of lcr_rule_target is not currently stored in gw_uri_avp. only flags
Hello,
I'm using LCR module in my kamailio setup. I can access to the
gw_uri_avp's value of matched gateway, but I'd like to get value of
selected id of lcr_rule_target. Is there any way to get it?
Thanks.
P.S. Access to value of custom table's field (for example, named as
'flags') of cr_rule_ta
Hello;
i commented your last commit. Sorry , i think i couldn't explain
situation.
Here is log for more understand.
- Here is first load_gws and next_gws() functions are
called-
6(10299) DEBUG: lcr [
ycaner writes:
> in load_gws function
> there is a delete_avp for gw_uri_avp as you mentioned . but in my
> view it needs a delete_avp for ruri_user_avp.
> Because it is reloading gws for different route.
I added deletion of possible old ruri_user_avp value when next_gw()
in load_gws function
there is a delete_avp for gw_uri_avp as you mentioned . but in my
view it needs a delete_avp for ruri_user_avp.
Because it is reloading gws for different route.
Thanks.
04.12.2015 11:44 tarihinde Juha
Heinanen [via SI
ycaner writes:
> Thanks for reply. before load_gws , setting ruri_user_avp to null solves
> request uri problems.
load_gws() tries to delete possibly existing avp values by this
statement:
delete_avp(gw_uri_avp_type|AVP_VAL_STR, gw_uri_avp);
obviously there is something wrong with if the av
Hey;
Thanks for reply. before load_gws , setting ruri_user_avp to null solves
request uri problems.
--
View this message in context:
http://sip-router.1086192.n5.nabble.com/LCR-module-re-load-gws-uri-errors-tp143602p143648.html
Sent from the Users mailing list archive at Nabble.com.
___
ycaner writes:
> when first usage of load_gws() and next_gw() functions , next_gw() fills all
> uri avps to ru_AVPs from gws tables. if it goes to failure route or route
> again , it can re use ru_AVPs in next_gw(). so if recall the load_gws()
> again for choose new route , it uses old uri avps i
Hello;
i found the problem i hope i can explain the problem to get solution.
when first usage of load_gws() and next_gw() functions , next_gw() fills all
uri avps to ru_AVPs from gws tables. if it goes to failure route or route
again , it can re use ru_AVPs in next_gw(). so if recall the load_gws
Hello;
After change $rU in failure route , calling load_gws function.
so lcr module changes request uri and fromuser and it is wrong.
here is example for more explain;
calls flows
1- 850xxx to 1021850yyy
2- 486 busy
3- going to t_on_failure rout
thanks to all
On Tue, Aug 11, 2015 at 3:58 PM, Alexandru Covalschi <568...@gmail.com>
wrote:
> Thanks!
>
> 2015-08-11 13:19 GMT+03:00 DanB :
>
>> Hi Alexandru,
>>
>> Well the concept is simple: on INVITE, you will issue a special format
>> evapi request. You will receive the list of suppliers in
Thanks!
2015-08-11 13:19 GMT+03:00 DanB :
> Hi Alexandru,
>
> Well the concept is simple: on INVITE, you will issue a special format
> evapi request. You will receive the list of suppliers in the reply (which
> is received in a separate route) and you continue processing from there.
> These suppl
Hi Alexandru,
Well the concept is simple: on INVITE, you will issue a special format
evapi request. You will receive the list of suppliers in the reply
(which is received in a separate route) and you continue processing from
there. These suppliers are simple tags so your creativity will be the
DanB, well, I never used it - can you please describe how does it work? :)
I mean, the logic in short
2015-08-10 13:15 GMT+03:00 DanB :
> Guys,
>
> Since I saw the thread growing, I am around if you got questions on
> CGRateS related LCR, fully compatible with Kamailio via evapi module.
>
> DanB
Guys,
Since I saw the thread growing, I am around if you got questions on
CGRateS related LCR, fully compatible with Kamailio via evapi module.
DanB
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-route
you already have cost, just write a script to transform it into weight, I
don't see a hard task here. It can be easily automated
2015-08-09 21:15 GMT+03:00 Arun Kumar :
> hi Alexandru
>
>so we have manually set prefix , weight and priority
> depanding upon rates ? is there any aval
hi Alexandru
so we have manually set prefix , weight and priority depanding
upon rates ? is there any avaliable way to automate or we have to
rewrite/modify the lcr/drouting module for rate selection ,
On Sun, Aug 9, 2015 at 9:22 PM, Alexandru Covalschi <568...@gmail.com>
wrote:
Arun Kumar writes:
> but above guide is only prefix priority and weight based , but we should
> involve rate as well.
may be you can use priority as your rate.
-- juha
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-us
t
Reply To: Kamailio (SER) - Users Mailing List
Subject: Re: [SR-Users] LCR Routing - Cost based routing
___
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/l
however you can try building LCR based on prefix and weight, why not?
2015-08-09 18:52 GMT+03:00 Alexandru Covalschi <568...@gmail.com>:
> I know CGRateS allow cost-based LCR for Kamailio. Maybe there are some
> internal Kamailio modules, but I don't know about them
>
> 2015-08-09 17:10 GMT+03:00
I know CGRateS allow cost-based LCR for Kamailio. Maybe there are some
internal Kamailio modules, but I don't know about them
2015-08-09 17:10 GMT+03:00 Arun Kumar :
> but above guide is only prefix priority and weight based , but we should
> involve rate as well.
> ,
>
> On Sun, Aug 9, 2015 a
but above guide is only prefix priority and weight based , but we should
involve rate as well.
,
On Sun, Aug 9, 2015 at 3:09 PM, Alexandru Covalschi <568...@gmail.com>
wrote:
> Or, well, see that guide
> http://dopensource.com/least-cost-routing-with-kamailio-v4-1/ - we have
> priority and wei
Or, well, see that guide
http://dopensource.com/least-cost-routing-with-kamailio-v4-1/ - we have
priority and weight on LCR module
2015-08-09 12:37 GMT+03:00 Alexandru Covalschi <568...@gmail.com>:
> try using CGRateS
>
> 2015-08-09 12:06 GMT+03:00 Arun Kumar :
>
>> Hi
>>
>> is there any way
try using CGRateS
2015-08-09 12:06 GMT+03:00 Arun Kumar :
> Hi
>
> is there any way to achive following usecase using carrier route /
> LCR / droude module
>
> i have 10 different termination gateways, each gateways will have more
> than 1 destinations and each gateways will have differe
Hi
is there any way to achive following usecase using carrier route / LCR
/ droude module
i have 10 different termination gateways, each gateways will have more than
1 destinations and each gateways will have different rate, for example
91 Destination ( there will be 1 entries like
The Tag column size is 64. If I make this larger in the database, will
it be truncated once it is loaded into memory?
According to modules source code Tag's max size is hardcoded and will be
truncated. But this is not a bit problem. You can keep capabilities list
in htable and only put a key
t
of both methods.
From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of
Vitaliy Aleksandrov
Sent: Wednesday, April 29, 2015 12:27 PM
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] LCR with gateway capabilities
On 29/04/15 12:34, Grant Bagdasarian wrote:
That s
r.org
*Subject:* Re: [SR-Users] LCR with gateway capabilities
What about configuring two LCR instances with different "lcr_id".
The first one can use only gateways with requested capabilities and
the second one all gateways.
Then you can make a decision about which instance to use durin
d g711ulaw codec? Etc.
Wouldn't this cause the data to grow exponentially?
From: sr-users [mailto:sr-users-boun...@lists.sip-router.org] On Behalf Of
Vitaliy Aleksandrov
Sent: Wednesday, April 29, 2015 10:36 AM
To: sr-users@lists.sip-router.org
Subject: Re: [SR-Users] LCR with gateway cap
What about configuring two LCR instances with different "lcr_id".
The first one can use only gateways with requested capabilities and the
second one all gateways.
Then you can make a decision about which instance to use during call
routing process providing this lcr_id to load_gws() function.
Hello,
>From what I understand about the LCR module is that the rules have to be
>prioritized by the admin, be it manually or automatically by an application.
Let's say the LCR database has 10 gateways, each with their own rules etc.
4 of these gateways support caller id spoofing and the others
Debojit Kakoti writes:
> However I want to use lcr module and I can check if particular gateway is
> up and down using lcr module and route the call.
if i undertood correctly, i don't think you can use it since from the
point of view of lcr module, there is only one gw, i.e., your asterisk.
-- j
Hi,
My current setup is
I have one kamailio server and one asterisk server.In the asterisk server I
have two trunk where there are two different PRI provider is used for
outbound call.
I am using uac_replace_from function to route call to different trunk of
the same server.
However I want to use l
Satish Patel writes:
> Thanks for replay, anyone did that before? Any example or sample
> script will help.
you just call load_gw() first and then make next_gw() calls until call
succeeds. this is explained in the README.
-- juha
___
SIP Express Rout
Thanks for replay, anyone did that before? Any example or sample script will
help
Sent from my iPhone
On Sep 10, 2014, at 12:17 PM, Juha Heinanen wrote:
> Satish Patel writes:
>
>> I heard somewhere LCR can do routing based on call rate and call
>> price, does it true? I haven't seen any con
Satish Patel writes:
> I heard somewhere LCR can do routing based on call rate and call
> price, does it true? I haven't seen any config or doc which does call
> rate using LCR. It only does routing base on prefix scan.
for each prefix you can define gateways and give each a priority and
weight.
I heard somewhere LCR can do routing based on call rate and call price, does it
true? I haven't seen any config or doc which does call rate using LCR. It only
does routing base on prefix scan.
Am I missing something here?
Sent from my iPhone
___
SIP
Hi Keith,
you can take the from userpart from the pseudovar $fU. Find further
infos on the pseudovar documentation site:
http://www.kamailio.org/wiki/cookbooks/4.1.x/pseudovariables
After that you can try to match that with the module regex, see
documentation here:
http://kamailio.org/docs/module
Keith writes:
> I want to do LCR based on from uri. I get I need to do regular expression
> matching but have no idea where to look to start.
see lcr module readme if lcr module from uri matching meets your needs.
-- juha
___
SIP Express Router (SER)
Hi,
I want to do LCR based on from uri. I get I need to do regular expression
matching but have no idea where to look to start.
Any pointers would be good.
Thanks
Keith
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users
Keith writes:
> Is there a way I can manipulate the CLI based on the destination the call
> is being sent to?
you can, for example, set a lcr_gw flag that tells what the
representation of cli need to be and then add p-a-i header accordingly.
-- juha
_
Hi all,
I have an issue where I have two carriers, one only accepts +44 then the
CLI and the other only accepts the number with the leading zero dropped.
I am using LCR to route to carriers, however I can only switch carriers by
manually altering the CLI.
Is there a way I can manipulate the CLI
just to complete this thread, it turned out that from uri matching
didn't happen because load_gws() was called without caller uri
argument.
-- juha
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
Geoffrey Mina writes:
> What can I do to debug this? I checked and we aren't seeing any of the
> "failed to compile regex" errors in the logs. We have 4 servers that are
> all displaying the same behavior (read: ignoring the from_uri match on a
> lower priority).
you didn't answer if this issue
Juha,
Thank you for all of your help so far, but we are still totally stuck
trying to make this work. We have double and triple checked our
configuration, database, and INVITE and everything is in-line with what
previously worked (in 1.5). We are running 4.1.3, is that what you were
testing on?
Geoffrey Mina writes:
> Right now, I would think that with our Priority of 0 on the route with the
> from_URI match, the algorithm should always look at that one first and
> route the calls accordingly.
>
> Since we have the priority correctly set to evaluate in the order we want,
> what next can
OK, has this behavior changed since Kamailio 1.5 because this previously
worked.
Right now, I would think that with our Priority of 0 on the route with the
from_URI match, the algorithm should always look at that one first and
route the calls accordingly.
Since we have the priority correctly set
Geoffrey Mina writes:
> OK. WE have made a change so that the priority is 0 for the route that has
> the from_uri. We are still not seeing this route get matched
> properly.
i tried to say that from uri plays no role in your lcr setup, because +1
matches both rules 31 and 5. if you want it mat
OK. WE have made a change so that the priority is 0 for the route that has
the from_uri. We are still not seeing this route get matched properly.
Here is what the INVITE looks like:
INVITE sip:+19137274555@1.2.3.4:5060 SIP/2.0
Via: SIP/2.0/UDP 1.2.3.4:5060;branch=z9hG4bK5b52e524;rport
From: "20
Geoffrey Mina writes:
> The LCR module is behaving in a way that is inconsistent with our old 1.5
> versions. We have a customer that passes a certain caller-id. That
> from_uri should be routing over a specific trunk. Here are the relevant
> bits of the LCR data from kamcmd.
>
> I would expec
Greetings,
I need a little help with the LCR module. I am running Kamailio 4.1.2.
The LCR module is behaving in a way that is inconsistent with our old 1.5
versions. We have a customer that passes a certain caller-id. That
from_uri should be routing over a specific trunk. Here are the relevant
Keith writes:
> I am having issues with trying to use multiple lcr_ids so I can route to
> different groups. When I reload lcr it always only shows one group. I have
> copied the first group exactly and just changed the number but can't work
> out why it's not working.
check lcr_count module para
Hi,
I am having issues with trying to use multiple lcr_ids so I can route to
different groups. When I reload lcr it always only shows one group. I have
copied the first group exactly and just changed the number but can't work
out why it's not working.
Any ideas?
Thanks
Keith
_
Pete Ashdown writes:
> Thank you Juha. I'm muddling through this. One thing that is puzzling
> to me is that LCR entries are ranked by weight and priority, both
> integers. When I have a rate deck of costs like .003211 per minute per
> prefix, translating thousands of those to integers between
On 01/22/2014 03:19 PM, Juha Heinanen wrote:
> Pete Ashdown writes:
>
>> 2) How do I populate the rest of the LCR database? It appears that
>> using "kamctl lcr" has been depreciated. Am I supposed to use Siremis?
>> Is there any way to do this via shell? Does anyone have any scripts
>> that di
On Wednesday 22 January 2014 23:19:09 Juha Heinanen wrote:
> prefix column cannot hold a regular expression. lcr routing is based on
> longest match, which cannot be efficiently implemented using regular
> expressions.
If lcr is based on longest prefix, Pete could just use a little logic to
impl
Pete Ashdown writes:
> 2) How do I populate the rest of the LCR database? It appears that
> using "kamctl lcr" has been depreciated. Am I supposed to use Siremis?
> Is there any way to do this via shell? Does anyone have any scripts
> that digest csv rate decks from trunkers into the db for cr
On 01/21/2014 10:09 PM, Alex Balashov wrote:
> There is not, but there are numerous other modules that provide for that sort
> of thing, such as pdt, drouting, and lcr.
>
> Of course, it's only useful if your DID block falls on decimal boundaries.
> :-)
Thank you Alex.
Could someone point me t
Juha Heinanen writes:
> the param is there in order to save shared memory and speed up those
> functions that operate on lcr instances.
^ all
-- juha
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing lis
Geoffrey Mina writes:
> OK. I updated that to 10 and now it loads both. Is there any harm in
> making it 100 even though I will never use that many? Just so I don't need
> to restart Kamailio to add new routes?
the param is there in order to save shared memory and speed up those
functions that
OK. I updated that to 10 and now it loads both. Is there any harm in
making it 100 even though I will never use that many? Just so I don't need
to restart Kamailio to add new routes?
On Fri, Jul 5, 2013 at 10:17 AM, Juha Heinanen wrote:
> Geoffrey Mina writes:
>
> > I am still a little baffl
Geoffrey Mina writes:
> I am still a little baffled by the new LCR table structures and i am having
> a hard time figuring out how to use them. I want to different LCR gateways
> for two different prefixes. When I load up this configuration,
> lcr.dump_gws is only returning the Gateway with Lcr
I am still a little baffled by the new LCR table structures and i am having
a hard time figuring out how to use them. I want to different LCR gateways
for two different prefixes. When I load up this configuration,
lcr.dump_gws is only returning the Gateway with Lcr ID: 1. What am I doing
wrong h
Gary Chen writes:
> In this case if you have several sets of lcr_id, you will end up with
> several duplicate gateway and rulls.
it is possible to define gateways that are common to all lcr instances.
lcr_id of such gws is 0.
-- juha
___
SIP Express R
Thanks. I included ctl.so module and now I can properly use kamcmd to
reload LCR.
On Fri, Jun 28, 2013 at 4:57 PM, Gary Chen wrote:
> lcr_rule_target is like a glue to link lcr_gw and lcr_rule tables together
> through rule_id and gw_id as well as lcr_id.
> In this case if you have several
lcr_rule_target is like a glue to link lcr_gw and lcr_rule tables together
through rule_id and gw_id as well as lcr_id.
In this case if you have several sets of lcr_id, you will end up with
several duplicate gateway and rulls. It is not the best design and is hard
to use.
To reload lcr you do this
What is the value of the "target" table? Previously the lcr rule table was
directly tied to the gateway. Is this simply to enable N:1 relationships
between lcr rules and gateways.
Also - any idea how to reload the LCR configuration without restarting
kamailio? I previously issued "kamctl fifo l
First thing to remember that lcr_id field is the one to link all three
tables together. Let's say that you want to create a lcr to route
international call starting with 011:
1) Create a row in lcr_gw table with id = 4, lcr_id = 3 and gateway IP etc.
2) Then create a row in lcr_rule table with id =
Greetings,
I am migrating some 1.5 servers to 4.0 and I have some questions about how
the LCR module works now.
I am familiar with the concept of the gw table and the lcr table. This was
pretty straight forward. In the new version it looks like we have:
LCR Gateway List
LCR Rule List
LCR Target
Hi Juha,
Many thanks, finally with lcr_id is ok. I make a few changes in my config
and work ok.
Cheers
On Fri, May 17, 2013 at 3:02 PM, Juha Heinanen wrote:
> Eloy Coto Pereiro writes:
>
> > Any solution to check the rule extra info. I want route billing info to
> put
> > in the acc. Any sta
Eloy Coto Pereiro writes:
> Any solution to check the rule extra info. I want route billing info to put
> in the acc. Any standar solution?
i quickly looked the code and seems like rule_id would need to be added
to matched_gw_info struct when load_gws() is called and copied from
there as a new fi
1 - 100 of 310 matches
Mail list logo