[Kamailio-Users] dialplan and carrierroute

2009-01-05 Thread victorpy
-- View this message in context: http://www.nabble.com/dialplan-and-carrierroute-tp21299057p21299057.html Sent from the OpenSER Users Mailing List mailing list archive at Nabble.com. ___ Users mailing list Users@lists.kamailio.org http://lists.kamai

Re: [Kamailio-Users] disable simultaneous register

2009-01-05 Thread Luis Guaman
Thanks Alex, Here is the configuration to allow 1 concurrent register: modparam("registrar", "max_contacts", 1) Luis Guaman InterlanCompu Quito - Ecuador +593-2-2526585 Alex Balashov escribió: > Yes; you can limit concurrent contacts to 1, using a module parameter > for 'registrar.' See the d

Re: [Kamailio-Users] disable simultaneous register

2009-01-05 Thread Alex Balashov
Yes; you can limit concurrent contacts to 1, using a module parameter for 'registrar.' See the documentation. Luis Guaman wrote: > Hi all, > > Does anybody let me know how to disable simultaneous registers, using > the same user login/password in two or more different machines? > > > thank

[Kamailio-Users] disable simultaneous register

2009-01-05 Thread Luis Guaman
Hi all, Does anybody let me know how to disable simultaneous registers, using the same user login/password in two or more different machines? thanks in advance Luis Guaman Interlancompu ___ Users mailing list Users@lists.kamailio.org http://lists.ka

Re: [Kamailio-Users] extending carrierroute to load dynamic carriers

2009-01-05 Thread victorpy
Ah ok. So you are saying that i can configure the exported variables to read another table that contains eg. "gateway"(or srcIP) and correspondent "preferred_carrier". With that my problem it's solved i think. Sorry for the dumb questions :P Thank you and Ovidiu Sas too you did a great job ther

Re: [Kamailio-Users] extending carrierroute to load dynamic carriers

2009-01-05 Thread Ovidiu Sas
How you create your routing tree is up to your requirements. You can do it per user (as Henning suggested) or per SIP trunk and use avpops (for example) to load from a db the next carrier or domain (both field can be customized via AVPs). Regards, Ovidiu Sas On Mon, Jan 5, 2009 at 11:39 AM, Henn

Re: [Kamailio-Users] extending carrierroute to load dynamic carriers

2009-01-05 Thread Henning Westerholt
On Monday 05 January 2009, victorpy wrote: > 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

Re: [Kamailio-Users] extending carrierroute to load dynamic carriers

2009-01-05 Thread victorpy
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

Re: [Kamailio-Users] prepaid system

2009-01-05 Thread Henning Westerholt
On Monday 29 December 2008, Daniel-Constantin Mierla wrote: > From 1.4 on, there is a dedicated driver for Oracle. Have you tried it? > I wonder what is the maturity of that module. Probably combined with the > new sqlops module in upcoming 1.5, a lot of similar operations as yours > can be coded

Re: [Kamailio-Users] extending carrierroute to load dynamic carriers

2009-01-05 Thread Ovidiu Sas
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 wrote: > > Hello, > > I want to extend th

[Kamailio-Users] extending carrierroute to load dynamic carriers

2009-01-05 Thread victorpy
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

Re: [Kamailio-Users] ERROR:carrierroute:cr_do_route: desired routing domain...

2009-01-05 Thread Juan Asencio
Juan Asencio wrote: > Happy new year everybody! > > I'm trying to do some testing of the carrierroute module, but after doing > adding some gateways on the carrierroute table and doing some testings I > got the following error: > > ERROR:carrierroute:cr_do_route: desired routing domain doesn't exis

[Kamailio-Users] ERROR:carrierroute:cr_do_route: desired routing domain...

2009-01-05 Thread Juan Asencio
Happy new year everybody! I'm trying to do some testing of the carrierroute module, but after doing adding some gateways on the carrierroute table and doing some testings I got the following error: ERROR:carrierroute:cr_do_route: desired routing domain doesn't exist, prefix 12345, carrier 1, doma

Re: [Kamailio-Users] moving my kamilio1.2 server to opensips

2009-01-05 Thread Asim Riaz
ok its openser 1.2, I wasnt sure about first version of Kamailio. Thanks, Asim Riaz On Fri, Jan 2, 2009 at 11:36 PM, Iñaki Baz Castillo wrote: > 2009/1/2 Asim Riaz : > > Hi, > > could anyone advice me, I like to move my Kamalio 1.2 server to Opensips > ? > > is it possible to move all the exis

Re: [Kamailio-Users] Setting answer timeout

2009-01-05 Thread mayamatakeshi
Ouch! It was under my nose! Thank you Alex. On Mon, Jan 5, 2009 at 7:55 PM, Alex Balashov wrote: > Yes, it is. Check out: > > http://www.kamailio.org/docs/modules/1.4.x/tm.html#id2468115 > > You can set an AVP to override the static module parameter. This AVP can > be loaded from the subscriber

Re: [Kamailio-Users] Setting answer timeout

2009-01-05 Thread Alex Balashov
Yes, it is. Check out: http://www.kamailio.org/docs/modules/1.4.x/tm.html#id2468115 You can set an AVP to override the static module parameter. This AVP can be loaded from the subscriber table using load_credentials(), among other things, if you're using auth_db. mayamatakeshi wrote: > Hell

[Kamailio-Users] Setting answer timeout

2009-01-05 Thread mayamatakeshi
Hello, I know I can customize the timeout for answer using fr_inv_timer: modparam("tm", "fr_inv_timer", 20) But is it possible to set the answer timeout on a transaction basis? (so that it can be customized by subscriber for example). regards, mayama __