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 as a load-balancer, dispatching initial requests to PBX
entities (e.g. Asterisk, Freeswitch)
* PBX solution must have a single GUI interface to manage PBX functions
(think FreePBX, FusionPBX etc)
* Configuration via the GUI must apply to all PBX instances
* Some sort of "asterisk-realtime + device state synchronization"-like
setup must ensure every PBX box can service any request at any time (for
failover)
* Solution needn't be multi-tenant oriented, but if it is, it must work
fine for single-tenant setups as well without multi-tenant capability
getting in the way all the time
* Feature list needn't be as full as, say, FreePBX's, but most common
functionality must be available (inbound/outbound routing, trunks, queues,
hunting to name a few)
* Must be open source
As a proprietary example, MiRTA PBX seems to check all the boxes above,
apart from being open source. Now this "product" also offers high
availability for databases and web apps, which is beyond the scope of this
investigation. I'm only looking at a solution that provides a federated,
synchronized farm of PBX instances.
Any input would be greatly appreciated. Thanks!
Best regards,
George
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 whether the user is identified in Asterisk as extension user or not asterisk responded with 404 user not found.
Sent from Mail for Windows 10
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 passwd sends. i do not want a MYSQL server on that server. Could
someone give me some hints on how to configure it please? In
/etc/kamailio/kamctrlc i have SIP_DOMAIN=192.168.124.5 which is my IP.
Everybody from my LAN 192.168.124.0/24 network must be able to send a
register with any username and any passwd and be able to register. Also
from the outside world, through port forward from my router.
Some hints please?
Hello,
I invoke kamcmd inside Freeswitch Lua Scripts and right now i am getting
segmentation fault any time.
This started to happen after I upgraded kamailio from 4.4 to 5.0.4 .
I tried to analyse the core dump and it give me the next information.
When I execute on the console, the command works.
Am I doing something wrong?
There is any alternative or better way to communicate with kamailio?
Thanks in advance
Best regards,
Jose Lopes
Core was generated by `/usr/sbin/kamcmd -s udp:127.0.0.1:2050
uac.reg_refresh s:29010017'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x000000000040340d in send_binrpc_cmd (s=<error reading variable:
Cannot access memory at address 0x7ffec894a60c>, cmd=<error reading
variable: Cannot access memory at address 0x7ffec894a600>,
cookie=<error reading variable: Cannot access memory at address
0x7ffec894a608>) at kamcmd.c:591
591 kamcmd.c: No such file or directory.
(gdb) bt
#0 0x000000000040340d in send_binrpc_cmd (s=<error reading variable:
Cannot access memory at address 0x7ffec894a60c>, cmd=<error reading
variable: Cannot access memory at address 0x7ffec894a600>,
cookie=<error reading variable: Cannot access memory at address
0x7ffec894a608>) at kamcmd.c:591
#1 0x0000000000403eee in run_binrpc_cmd (s=3, cmd=0x7ffec898a8d0, fmt=0x0)
at kamcmd.c:924
#2 0x0000000000404499 in run_cmd (s=3, cmd=0x7ffec898a8d0, format=0x0) at
kamcmd.c:1068
#3 0x00000000004073aa in main (argc=5, argv=0x7ffec898d1e8) at
kamcmd.c:2114
Dears;
Good day !
is it possible to use Asterisk pbx server as an Application server for the
kamailio IMS users ? as if i want to correlate an IMS user with an
extension number.
My though is kamailio ims will handle the registration process and
authentication and Asterisk will deal with IMS users as they are PBX users
to get all asterisk's benefits (call conference, monitoring, waiting, voice
mail ... etc)
i'm thinking to integrate Asterisk with S-cscf, and when an IMS user
register to the IMS to domain, a trigger will initiate the S-cscf to send
notify to asterisk .
i didnt find any solution or tutorial for this procedure, and idont know if
it is possible to be done.
Regards
Ammar
Hi,
Is there a way to add prefix and strip in dispatcher table attribute
column. I have tried prefix=11,strip=3 but this seems to not work.
Any help?
Regards,
Ashutosh Chaubey
Hello,
I'm having strange behavior with the http_async_client module and https
connections. Our kamailio config use REST interfaces to send push to mobile
apps when calls are initiated. We also use a REST interface to register the
client in our push database (and then be able to use the info to send a
push). Our REST interface use TLS to cypher exchanged data between the SIP
registrar and the Pusher service.
We have configured the tls connection using modparam:
# ------ http async client params -------
modparam("http_async_client", "workers", 16)
modparam("http_async_client", "connection_timeout", 20000) # 20 seconds
timeout on HTTP requests
modparam("http_async_client", "hash_size", 2048) # update this value
depending of the load
#modparam("http_async_client", "curl_verbose", 1) # curl debug
modparam("http_async_client", "tls_ca_path", "/etc/kamailio/ssl/ca")
What we have noticed is when there is 1 SIP Register requests triggering and
HTTPS request all works fine, but as soon as we have several HTTPS request
in //, the HTTPS request fails with curl error 77: curl: (77) Problem with
the SSL CA cert (path? access rights?).
We tried to put the Root CA Path when building the request:
$http_req(all) = $null; # reset the parameters
$http_req(method) = "POST";
$http_req(hdr) = "authorization: "+$hdr(authorization);
$http_req(hdr) = "Content-Type: application/json";
$http_req(suspend) = 0; # don't suspend the transaction, continue
routing script's execution
$http_req(body) = "{ 'pushRegistration':{'callId':'" + $ci + "',
'fromUri':'" + $fU + "@" + $fd + "', 'contactLine':'" + $ct + "'}}";
$http_req(tls_ca_path) = "/etc/kamailio/ssl/ca/";
http_async_query("https://pusher:443/rest/push/register",
"HTTP_REGISTER_REPLY");
But we have exactly the same behavior.
Does the http_async_client module supports muti-thread?
Regards
Giovanni
--
Sent from: http://sip-router.1086192.n5.nabble.com/Users-f3.html
Hello,
can you run list command in gdb to see the code? Because I am not sure
what is exactly at that line in your version with the patch.
Cheers,
Daniel
On 09.11.17 18:10, Marco Capetta wrote:
> I applied the patch but kamailio crashes with the following error:
>
> (gdb) bt full
> #0 0x00007f8af1e9b9ae in relay_reply (t=t@entry=0x7f8a29c05868,
> p_msg=p_msg@entry=0xffffffffffffffff, branch=branch@entry=0,
> msg_status=<optimized out>,
> cancel_data=cancel_data@entry=0x7ffd92443570,
> do_put_on_wait=do_put_on_wait@entry=0) at t_reply.c:1968
> relay = 0
> [...]
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training, Nov 13-15, 2017, in Berlin - www.asipto.com
Kamailio World Conference - www.kamailioworld.com
Hello, I want to distribute some messages-actions for redis to my kamailio
servers.
I use this code:
For send:
dmq_bcast_message("redis", "set early:$fU", "text/plain");
For recieve:
request_route {
xnotice("ROOT: $rm $rU [$ci]");
if(is_method("KDMQ")) {
if($rU == 'redis') {
route(REDIS);
} else {
dmq_handle_message();
}
}
......
route[REDIS] {
xnotice("REDIS: $rb");
redis_cmd("redis", "$rb", "r");
return;
}
When dmq_bcast_message starts - other node recieve 7 KDMQ sip packets. And
not always it executed.
Is it right way to use dmq?
Dmq user locations are ok.