[Kamailio-Users] LCR Documentation
Geoffrey Mina
geoffreymina at gmail.com
Thu Mar 5 21:03:12 CET 2009
Thanks! I hadn't seen that before. I have another semi-related
question about LCR. I have multiple gateways, each require me to
prefix the dial string with a specific account ID or rule.
i.e. to dial the phone number 5555551212 I would need to do the following:
gateway 1:
#556233#5555551212 at mygateway1.com
gateway 2:
+15555551212 at mygateway2.com
gateway3 :
5555551212 at mygateway3.com
Is there any way the LCR system can account for this, or will I need
to build some custom functionality to make this work?
Thanks,
Geoff
On Thu, Mar 5, 2009 at 2:24 PM, Daniel-Constantin Mierla
<miconda at gmail.com> wrote:
> Hello,
>
> On 03/05/2009 09:03 PM, Geoffrey Mina wrote:
>>
>> Hello,
>> I am currently deploying the LCR module. I have some questions about
>> fields and what they do... I searched the docs, but couldn't find
>> anything. Can someone please fill in the blanks?
>>
>
> have you seen (I forced a regeneration to be sure is up to date):
> http://kamailio.org/docs/db-tables/kamailio-db-devel.html#GEN-DB-GW
>
> Cheers,
> Daniel
>
>> [LCR Gateways]
>> Gateway Name: description of the gateway
>> Group ID: Numeric identifier used to link LCR Rules
>> IP Address: The IP of the SIP gateway
>> Hostname: The hostname of the SIP gateway (not required if IP provided?)
>> Port: The port the SIP gateway listens on
>> URI Scheme: (well documented) NULL = sip, 1 = sip and 2 = sips
>> Transport: (well documented) NULL = none, 1 = udp, 2 = tcp, 3 = tls,
>> and 4 = sctp
>> Strip: ?
>> Tag: ?
>> Weight: ?
>> Ping: ?
>> Flags: ?
>>
>> [LCR Rules]
>> Prefix: The matching prefix. In the US most would do this by area
>> code, so I would assume I would put something like 1678 or 1770 to
>> route Atlanta calls. Would putting a NULL or Empty String force a
>> default route for everything?
>> >From URI: If I don't care about the from URI can I leave this NULL or
>> BLANK?
>> Group ID: The numeric identifier matching to LCR Gateways
>> Priority: I am assuming if there are 2 records which match the prefix
>> and from URI the high priority will be chosen first?
>>
>> Also, say for example, one of my gateway providers has a primary and a
>> secondary gateway. If the primary is down I need to route calls to
>> the secondary. How would this fit into an LCR scheme? Would I need
>> duplicate routes for the secondary with a lower priority?
>>
>> Thanks,
>> Geoff
>>
>> p.s. for anyone holding out, I just installed Siremis today and it
>> rocks! I am really quite pleased with the solution.
>>
>> _______________________________________________
>> Kamailio (OpenSER) - Users mailing list
>> Users at lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> --
> Daniel-Constantin Mierla
> http://www.asipto.com
>
>
More information about the sr-users
mailing list