Re: [SR-Users] auth module realm_prefix

2012-01-05 Thread Kelvin Chua
That was fast Daniel, thanks! the script variable workaround will do the trick for the meantime On Thursday, 05 January, 2012 05:56 PM, Daniel-Constantin Mierla wrote: The code is back on master branch, if you work with git and you are on branch 3.2, use: git cherry-pick -x 00d758fbf7c7db97f1

Re: [SR-Users] dialog module - set_dlg_profile won't work

2012-01-05 Thread Ben WIlliams
Thanks Carsten, it works now. Ben On Thu, Jan 5, 2012 at 9:41 PM, Carsten Bock wrote: > Hi Ben, > > your example is not working, since you set the flag for usage of the > dialog module, but the dialog has not been created yet. If you add > "dlg_manage()" after the setting of the according flags,

Re: [SR-Users] RTPproxy on Kamailio 3.2.1 difficulty.

2012-01-05 Thread Sammy Govind
hi, quick look at your logs, 14(1596) ERROR: rtpproxy [rtpproxy.c:1466]: can't connect to RTP proxy 15(1597) DEBUG: [sr_module.c:892]: DEBUG: init_mod_child (10): nathelper 14(1596) ERROR: rtpproxy [rtpproxy.c:1538]: proxy does not respond, disable it 5(1584) DEBUG: db_mysql [km_my_con.c:123]:

Re: [SR-Users] Prepaid billing solution for a service provider

2012-01-05 Thread Stefan Sayer
Hello, o Carlo Dimaggio on 01/05/2012 12:08 PM: Hi all, I'm working in a project for a service provider in which prepaid is an essential requirement. They have about 12000 subscribers. The core infrastructure will be Kamailio+RTPProxy while I have some doubts about the prepaid feature. I'm thin

Re: [SR-Users] Prepaid billing solution for a service provider

2012-01-05 Thread Vitaly Nikolaev
B2BUA will give you more control. FreeSwitch is great choice. You can look at this project: http://vbilling.org/ I did not try it myself but it looks interesting and if it stable enough it can can fit in your setup. On Thu, Jan 5, 2012 at 6:08 AM, Carlo Dimaggio wrote: > Hi all, > > I'm wor

Re: [SR-Users] Prepaid billing solution for a service provider

2012-01-05 Thread Stoyan Mihaylov
Prepaid is very simple task. User must put some money in his account. User selects target. You calculate how long could be the call, and you dial target. At the end of call - you calculate call, and you take money from user. Complications - recharging account. There are lot of problems there, mainl

Re: [SR-Users] Prepaid billing solution for a service provider

2012-01-05 Thread Carlo Dimaggio
Hi Stoyan, I prefer Freeswitch, but I know that Asterisk can do prepaid and there are different prepaid solutions. Anyway, as the prepaid server is a mission-critical component, I would like to have your (and the community) opinion about the preferred architecture and experiences about opensou

Re: [SR-Users] Prepaid billing solution for a service provider

2012-01-05 Thread Stoyan Mihaylov
I can suggest using Asterisk for prepaid job. I mean you can use Kamailio and couple of Asterisk servers behind it to do prepaid. There are lot of prepaid solutions for Asterisk. But again, if I have to do it I will prefer my solution, or using parts from what is available. PS We did prepaid things

Re: [SR-Users] Kamctl reload commands

2012-01-05 Thread Claudio Furrer
Hi, You can check a "result" string when running the "kamctl cr reload". Example: 1. db reload ok # sh /tmp/kamctl_cr_reload.sh Reloading carrierroute db... Ready, with error code: 0 Return result: 2. failure on reload # sh /tmp/kamctl_cr_reload.sh Reloading carrierroute db... Ready, w

Re: [SR-Users] Kamctl reload commands

2012-01-05 Thread Uri Shacked
Hi, i ask this not for sip affected problems. i what to load the information from the DB. while loading, i want the DB table to be locked for changes... i need to know when did the loading proccess ended in order to unlock the table. how do i set an application to run the kamctl command and mak

[SR-Users] Prepaid billing solution for a service provider

2012-01-05 Thread Carlo Dimaggio
Hi all, I'm working in a project for a service provider in which prepaid is an essential requirement. They have about 12000 subscribers. The core infrastructure will be Kamailio+RTPProxy while I have some doubts about the prepaid feature. I'm thinking about a B2BUA (SEMS or Freeswitch) that is

Re: [SR-Users] app_lua coredump

2012-01-05 Thread Daniel-Constantin Mierla
Hello, the debug symbols are missing, I will try to reproduce myself. Cheers, Daniel On 1/4/12 11:49 AM, n...@nelcom-voip.com wrote: На Wed, 04 Jan 2012 09:46:47 +0100 Daniel-Constantin Mierla записано: Hello, can you send the backtrace? Locate the core file and do: gdb /path/to/kamailio

Re: [SR-Users] Kamctl reload commands

2012-01-05 Thread Daniel-Constantin Mierla
Hello, On 1/5/12 11:03 AM, Uri Shacked wrote: Hi, i am using different modules like "mtree", "carrierroute", "drouting" and so. how can i tell how long did the reload takes? this is a matter of how many records are in database. Perhaps you can count the duration of executing the reload comman

[SR-Users] Kamctl reload commands

2012-01-05 Thread Uri Shacked
Hi, i am using different modules like "mtree", "carrierroute", "drouting" and so. how can i tell how long did the reload takes? how do i know if it fails? is there a way to get a return code from kamailio that confirms that the reload ended and successfuly? BR, Uri ___

Re: [SR-Users] auth module realm_prefix

2012-01-05 Thread Daniel-Constantin Mierla
The code is back on master branch, if you work with git and you are on branch 3.2, use: git cherry-pick -x 00d758fbf7c7db97f15db061b67e0cfb49e28768 Then recompile/reinstall and try with the module parameter again. Let me know if it works -- when all its is ok, I can backport to the stable bra

Re: [SR-Users] auth module realm_prefix

2012-01-05 Thread Daniel-Constantin Mierla
Hello, On 1/5/12 4:16 AM, Kelvin Chua wrote: Hi guys, just wondering, what happened to realm_prefix on auth module for 3.2.x? why was it removed? the module was refactored for 3.1.0, to deal properly with auth-int, one time nonce, etc. Seems this module parameter was lost, since realm paramet

Re: [SR-Users] dialog module - set_dlg_profile won't work

2012-01-05 Thread Carsten Bock
Hi Ben, your example is not working, since you set the flag for usage of the dialog module, but the dialog has not been created yet. If you add "dlg_manage()" after the setting of the according flags, you will get a proper value from the get_profile_size() The dialog_vars Table is for per dial