[Kamailio-Users] extending carrierroute to load dynamic carriers

victorpy victorpy at gmail.com
Mon Jan 5 17:35:07 CET 2009


I know you can create several routing trees, but how you load a next carrier
in case of failure o how can you load the carrier without hardcoding in the
script?

you can load the next domain with cr_next_domain in a $avp. in this case the
script it's dynamic

but how can you load a carrier in the same way? 

there is no function like load next carrier or load preferred carrier.

Can you give me an idea how to make the map between scrIP and tree based on
that map?



Ovidiu Sas-3 wrote:
> 
> With cr you can create several routing trees.  Also, you can create a map
> between srcIP and a tree and load the tree that you want based on that
> map.
> What functionality are you missing here?
> 
> 
> Regards,
> Ovidiu Sas
> 
> On Mon, Jan 5, 2009 at 10:10 AM, victorpy <victorpy at gmail.com> wrote:
> 
>>
>> Hello,
>>
>> I want to extend the module to load a carrier tree based on $si(source
>> ip)
>> of a request. I want know if im going the right way doing this. The
>> reason
>> why im doing this is to avoid a hardcoded script. I have read other post
>> that talk about this subject and the solution with domains and host
>> doesn't
>> meet my needs.
>> Hope someone could help me.
>>
>> thanks for the answers
>>
>> greetings
>> --
>> View this message in context:
>> http://www.nabble.com/extending-carrierroute-to-load-dynamic-carriers-tp21292687p21292687.html
>> Sent from the OpenSER Users Mailing List mailing list archive at
>> Nabble.com.
>>
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.kamailio.org
>> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>>
> 
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://www.nabble.com/extending-carrierroute-to-load-dynamic-carriers-tp21292687p21294331.html
Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com.





More information about the Users mailing list