Re: [SR-Users] Cost deduction in kamailio

2017-08-30 Thread Federico Cabiddu
Hi, yes it's correct, but if you want to deduct the cost at the end of the call you should use dlg_var to store cps etc. Regards, Federico On Wed, Aug 30, 2017 at 7:16 AM, Logeshwaran G wrote: > Hi, > > Is this the correct way of using the CNXCC for cost deduction,

Re: [SR-Users] Simultaneous calls in kamailio

2017-08-30 Thread Logeshwaran G
Thanks Alex Thanks & Kind Regards, Logeshwaran G On Wed, Aug 30, 2017 at 11:35 AM, Alex Balashov wrote: > Kamailio does not initiate calls, at least not in any routine sense. It's > a proxy, not an endpoint (UA). > > On August 30, 2017 2:01:25 AM EDT, Logeshwaran G

[SR-Users] Loading keys with key_type="1" from database for htable - Module params help needed

2017-08-30 Thread George Diamantopoulos
Hello all, I'm becoming a regular here now, aren't I? So I have this table in mysql: +--+--++---+-+ | key_name | key_type | value1 | value2 | value3 | +--+--++++ | key1 | 1| valueA | valueF | valueK | |

Re: [SR-Users] Cost deduction in kamailio

2017-08-30 Thread Logeshwaran G
Ok let me try it out! Will add the sqlops query module in the event route! Thanks Thanks & Kind Regards, Logeshwaran G On Wed, Aug 30, 2017 at 2:09 PM, Federico Cabiddu < federico.cabi...@gmail.com> wrote: > Hi, > I told you previously hat you have to use sql_ops to actually do the > update

Re: [SR-Users] sql_do_query_async(): the db driver module doesn't support async query

2017-08-30 Thread Daniel Tryba
On Tue, Aug 29, 2017 at 07:44:34PM +0300, Juha Heinanen wrote: > > Are you really using mysql directly? For example the cluster driver > > doesn't support async, regardless of the backend driver support. > > I re-checked, and, yes, I was using cluster driver. Had a feeling that would be case :)

Re: [SR-Users] Cost deduction in kamailio

2017-08-30 Thread Federico Cabiddu
Hi, I told you previously hat you have to use sql_ops to actually do the update of the balance after calculating the call cost using the dialog variables. Cheers, Federico On Wed, Aug 30, 2017 at 10:34 AM, Logeshwaran G wrote: > As per your Input I have changed the

Re: [SR-Users] sql_do_query_async(): the db driver module doesn't support async query

2017-08-30 Thread Juha Heinanen
Daniel Tryba writes: > Our solution was to switch to the mysql driver in kamailio and use the > galera loadbalancer > (http://galeracluster.com/documentation-webpages/glb.html) to implement > loadbalancing/failover to our mariadb galera master/master cluster. Thanks for the tip, -- Juha

[SR-Users] MWI forwarding between Kamailio and Freeswitch

2017-08-30 Thread Wang, Wallace
Hello We're using Kamailio & freeswitch as my company voice system. So far, everything is good, except the MWI. I tried to find out how to forward MWI between Kamailio and Freeswitch, or let the Presence_MWI module can work with the freeswitch behind Kamailio. If it was possiable, could anyone

Re: [SR-Users] Loading keys with key_type="1" from database for htable - Module params help needed

2017-08-30 Thread Daniel-Constantin Mierla
Hello, can you try with a single value column? The array type is something that was supposed to help keeping keys simpler in database, but the key is concatenated with the index, is not really an array. Cheers, Daniel On 30.08.17 20:06, George Diamantopoulos wrote: > Hello all, I'm becoming a

[SR-Users] kamailio asterisk + provider sip trunks

2017-08-30 Thread Жан Базаров
Good morning! kamailio + dispatcher + provider trunks. How to make RR for incoming calls from pstn? my trunks are authorized on an asterisk, but i have problem with multiple calls on each asterisk. If I do through uac then I have a problem with BYE, and in general the module is uncomfortable.