Re: [SR-Users] kemi with lua and dispatcher - attempt to index field 'dispatcher' (a nil value)

2017-11-22 Thread Daniel-Constantin Mierla
Hello, On 22.11.17 16:45, Karsten Horsmann wrote: > Hello Daniel, > > yes after playing around under kamailio-5.0.x, i understand that kemi > exports are not complete. > > For example the KSR.hdr.append_hf dont work in kamailio-5.0.x > attempt to call field 'append_hf' (a nil value) > KSR.hdr.app

Re: [SR-Users] Kamailio KEMI Framework Tutorial

2017-11-22 Thread Daniel-Constantin Mierla
Hello, On 22.11.17 19:47, Samuel F. wrote: > > Hi again, > > > Regarding RPC list: I do not think it is implemented for python? > it is not, indeed, I just looked at the code. I am not much into python myself, so it was overlooked -- I just added kemi support for it on top of the previous app_pyt

Re: [SR-Users] "Federated" PBX solution with GUI to use with Kamailio - Suggestions needed

2017-11-22 Thread Mojtaba
Hello, I think the Kazoo form 2600Hz group is the good choice. Although that solution is for carrier and cluster base, But i think you could use it in your solutions. Another my choice in this regard is Simotel PBX, It is asterisk base sulotios (without Kamailio, Non multi-tenant). With Regards. M

Re: [SR-Users] "Federated" PBX solution with GUI to use with Kamailio - Suggestions needed

2017-11-22 Thread Sergey Safarov
Look kazoo platform чт, 23 нояб. 2017 г., 7:12 George Diamantopoulos : > Hello all! > > I'm looking at "PBX" platforms to use with kamailio as a load-balancer. > This is not a strictly kamailio question, but I thought that if anyone has > a suggestion to make, they would be watching this list. >

[SR-Users] Loadbalancing authenticated agetways

2017-11-22 Thread SamyGo
Hi, I've a scenario where multiple mediaservers will be registered to Kamailio and for any incoming call from Upstream provider I've to perform load-balancing to the actively registered media-servers. dispatcher module does load-balancing for IP endpoints, is there any other module where I can per

[SR-Users] "Federated" PBX solution with GUI to use with Kamailio - Suggestions needed

2017-11-22 Thread George Diamantopoulos
Hello all! I'm looking at "PBX" platforms to use with kamailio as a load-balancer. This is not a strictly kamailio question, but I thought that if anyone has a suggestion to make, they would be watching this list. I'm investigating a use case with the following requirements: * Kamailio will act a

Re: [SR-Users] Failed to find command http_client_query

2017-11-22 Thread Alexandru Covalschi
Just wanted to ask if you need my help to test/check/etc. Alexandru Covalschi VoIP Engineer and System Administrator tel: +373 673 98 493 > 21 нояб. 2017 г., в 11:58, Alexandru Covalschi <568...@gmail.com> написал(а): > > Kamailio is actually starting, please tak

Re: [SR-Users] Kamailio IMS + Asterisk PBX

2017-11-22 Thread Ivailo Dobrev
For presence AS use Kamailio ! * and FS (B2BUA) use for media related services. On 11/22/2017 03:07 PM, Amar Tinawi wrote: My tests results : Unfortunately, no scenario was success, maybe because Asterisk does not support sh interface (Diameter) My test was for presence service and couldn’

Re: [SR-Users] Kamailio KEMI Framework Tutorial

2017-11-22 Thread Samuel F .
Hi again, Regarding RPC list: I do not think it is implemented for python? I checked the source and couldn't find anything that would handle the RPC call: kamctl rpc app_python.api_list Regarding the documentation: I didn't mean to document in the source code, sorry for not expressing myself

Re: [SR-Users] debian setup without registration

2017-11-22 Thread Alexandru Covalschi
You can just reply 200 OK on each REGISTER in AUTH route (you should have it in standart install), like that: if (is_method("REGISTER")) { sl_send_reply("200","OK"); exit; Alexandru Covalschi VoI

Re: [SR-Users] debian setup without registration

2017-11-22 Thread Amar Tinawi
First, and based on my experience, not 100% sure , you can’t perform register without having username and password along side with a database, because (username and password0 are parts of the sip registration process, and you need them in order to be reachable and known in the network and monito

Re: [SR-Users] kemi with lua and dispatcher - attempt to index field 'dispatcher' (a nil value)

2017-11-22 Thread Karsten Horsmann
Hello Daniel, yes after playing around under kamailio-5.0.x, i understand that kemi exports are not complete. For example the KSR.hdr.append_hf dont work in kamailio-5.0.x attempt to call field 'append_hf' (a nil value) KSR.hdr.append_hf("P-Hint: outbound\r\n"); But i found KSR.hdr.append("P-Hint

Re: [SR-Users] kamcmd gives segmentation fault (5.0.4)

2017-11-22 Thread José Lopes
Hello Daniel, Thanks for you reply. I checked again and I am using the version 5.0.4 from the debian packages for debian (bellow there is the output of some commands to confirm this). I also reboot the machine, but i still have the same problem with the same output on gdb. Best Regards, Jose L

[SR-Users] debian setup without registration

2017-11-22 Thread Atux Atux
Hi. i am new to the are of kamailio. i am looking to install in a PC running debian 9 kamailio. that is easy since all i had to do was apt-get install kamailio. I am looking on how to setup the system in a way that everyone sending a register, to be able to register no matter what user name or pass

Re: [SR-Users] kemi with lua and dispatcher - attempt to index field 'dispatcher' (a nil value)

2017-11-22 Thread Daniel-Constantin Mierla
Hello, On 22.11.17 12:42, Karsten Horsmann wrote: > Hello List, > > i dunno why this happen :) after i write an email to the list - but > now i found it. > > the app_lua/kemi function name is sr.dispatcher.select for ds_select_dst as wrote on my previous response to your initial email in this di

Re: [SR-Users] kemi with lua and dispatcher - attempt to index field 'dispatcher' (a nil value)

2017-11-22 Thread Daniel-Constantin Mierla
Hello, version 5.0 doesn't have a lot of the functions from kamailio modules exported to kemi (KSR module). Not even v5.1 will have all of them, but I expect to be over 80% in v5.1. There is a generic kemi function that can be used to execute any (most of) functions from modules KSR.x.modf(...):

Re: [SR-Users] Kamailio IMS + Asterisk PBX

2017-11-22 Thread Amar Tinawi
My tests results : Unfortunately, no scenario was success, maybe because Asterisk does not support sh interface (Diameter) My test was for presence service and couldn’t get it done. The results of Having asterisk as an AS with kamailio IMS : with sip trunk configured towards S-cscf And whet

Re: [SR-Users] authenticating to mongodb fails

2017-11-22 Thread hdssdsdsdsfsdf hdssdsdsdsfsdf
Would it be useful to file a bugreport for this with the information provided? Or better to wait/research myself. Since the usage of mongodb authentication seems in line with what should work. > Sent: Monday, November 13, 2017 at 1:16 PM > From: "hdssdsdsdsfsdf hdssdsdsdsfsdf" > To: sr-users@li

Re: [SR-Users] kemi with lua and dispatcher - attempt to index field 'dispatcher' (a nil value)

2017-11-22 Thread Karsten Horsmann
Hello List, i dunno why this happen :) after i write an email to the list - but now i found it. the app_lua/kemi function name is sr.dispatcher.select for ds_select_dst The source-code documentation guides me to this point after greping around in app_lua. # dst_select( "GROUP", "HASH METHOD

[SR-Users] kemi with lua and dispatcher - attempt to index field 'dispatcher' (a nil value)

2017-11-22 Thread Karsten Horsmann
Hello Daniel, hello List, after reading the fresh released kemi documentation (Thanks for that!) on github i start to configure an kemi lua configuration. It seems to be that there is not an dispatcher export to kemi in my installation. Or i missconfigured something? How to use dispatcher with kem