Compare commits

...

68 Commits
master ... 3.15

Author SHA1 Message Date
  karl anderson 87ad893047 manual merge and backport of pull #20 adding an accounting role 11 years ago
  karl anderson 7f69161cbf increase the rd buf size 12 years ago
  karl anderson 8cd466e43e KAZOO-2674: update the presence role to reflect changes to db_kazoo 12 years ago
  karl anderson 92c66f8a79 updated websocket alias logic for in-dialog requests 12 years ago
  karl anderson 82380dbf0f new log lines for in-dialog websocket 12 years ago
  karl anderson 47786e64ba range the while loop, just in case 12 years ago
  karl anderson f821786bfd listen on the UDP ports for FS->kamailio traffic when using websockets 12 years ago
  karl anderson 0c6255e0cb disable fs tls by default 12 years ago
  karl anderson 2be4e0da4e comment out the ca.pem by default 12 years ago
  Darren Schreiber 4a7e389f0f Fixed minimum expires 12 years ago
  lazedo b94b03e72f kazoo-sync 12 years ago
  lazedo b995116129 error in build 12 years ago
  lazedo d7a66244f4 missing compat file 12 years ago
  lazedo cd0ad42e9c missing changelog 12 years ago
  lazedo 77963de42d build configs for ubuntu/debian 12 years ago
  bitbashing d683cff848 KAZOO-1513: remove my dispatcher config 12 years ago
  karl anderson 3c420d9ab3 correct typo 12 years ago
  karl anderson 81b46a3729 Merge branch 'master' into 3.0 12 years ago
  karl anderson d037c80e8b KAZOO-2363: do not remap the valid 6xx codes 12 years ago
  karl anderson d0d1cac479 added OPUS and Speex 12 years ago
  Luis Azedo 31d616746a ensure certs dir get created 12 years ago
  karl anderson f242e8749c ensure the list is non-empty 12 years ago
  karl anderson bc5826e5fa fix hunt in the backup dispatcher list, fix tab-to-space and enable tls by default 12 years ago
  karl anderson d43f3543f0 always check ds list 2 if not found 12 years ago
  karl anderson 9bb9e70ef6 update registration failure log 12 years ago
  Ben Wann f4dc70190c HAProxy: Adding ability to log via UDP by default for HAProxy logging 12 years ago
  karl anderson 72854add2d 3.0: fix typo when changing limits 12 years ago
  Jeremy Ai 43ab4c6080 Added size limit to prevent logfiles from getting too big 12 years ago
  Jeremy Ai dfec4f1fc7 Fixed freeswitch logrotate.d file 12 years ago
  karl anderson 6dd3e23ee3 KAZOO-1846: do not send option pings if the user-agent is for a SPA8000, it causes the ATA to reboot when multiple lines are registered 12 years ago
  Jeremy Ai 65600505fe Fixed log location and changed 'create' to 'copytruncate' to fix logrotate issue 12 years ago
  karl anderson c2b6077fe4 fix logrotate location 12 years ago
  karl anderson 28bc8e9dbc record_route on re-invite 12 years ago
  karl anderson 804f0ed847 set thresholds 12 years ago
  Jeremy Ai 56de030ba7 Removed rollover log thing and hup 12 years ago
  karl anderson 0ee0e46361 add liberal-dtmf 12 years ago
  karl anderson 728e85762e enable zrtp 12 years ago
  karl anderson 0f0123a5a4 add a rate limit config 12 years ago
  karl anderson 9383cdda06 handle inbound notifies like options 12 years ago
  karl anderson 91bbbcb7fb support associations in the backup list and fix issue with redirect when challenged 12 years ago
  Jeremy Ai 15cc899bab Moved kamailio logs to /var/log/kamailio/kamailio.log 12 years ago
  karl anderson f97dcea088 move min/max expires to presence module 12 years ago
  karl anderson 3ca72aaec8 config tweaks 12 years ago
  karl anderson 75b349ec09 add exit after send_reply for MESSAGE 12 years ago
  karl anderson a6731d36db correct mpath 12 years ago
  karl anderson 1ef127da0d tweak what is considered a retry requiring failure 12 years ago
  karl anderson 5dc9a75f89 config tweaks to ignore errors post session progress and ignore MESSAGE for now 12 years ago
  karl anderson 36d09694a2 always ping 12 years ago
  karl anderson 4e393911b5 created a role to enable traffic filters, strip custom headers, and remove diversion headers for now 12 years ago
  karl anderson 3c5cac3fdd more log tweaks 12 years ago
  karl anderson d6643be707 log line tweak 12 years ago
  karl anderson 9657b9b21d allow trusted IPs to bypass all checks 12 years ago
  karl anderson 9fd2112e91 more tweaks, move dispatcher.list to dbtext and drop the extension 12 years ago
  karl anderson 83c46bf3b4 tweaks 12 years ago
  karl anderson 9ce7613fee Merge branch 'master' into 3.0 12 years ago
  karl anderson 2afb6a0582 use manual redirects 12 years ago
  karl anderson e45e70bfbf increase rabbits file descriptors 12 years ago
  karl anderson 92772b9393 fix kamailio role dependencies, add more async IO workers, and constrain erlang ports 12 years ago
  karl anderson 1f5326b1f1 correct copy/paste error 13 years ago
  karl anderson c475da7f06 Merge branch 'master' into 3.0 13 years ago
  karl anderson 6e197128bc update for TCP in kamailio and max freeswitch log file size 13 years ago
  karl anderson 59f14c5709 fix associations 13 years ago
  karl anderson b40e6e221d tweaks 13 years ago
  karl anderson db85e6f523 add logrotate and rsyslog confs 13 years ago
  karl anderson bd1b5b7118 Merge branch 'master' into 3.0 13 years ago
  karl anderson dc5394a43d remove dup 13 years ago
  karl anderson 6ddf348505 tweaks for presence 13 years ago
  karl anderson 285ba76e87 since there are no admins by default, dont require'em 13 years ago
25 changed files with 279 additions and 81 deletions
Split View
  1. +6
    -34
      config.ini
  2. +7
    -0
      debian/changelog
  3. +1
    -0
      debian/compat
  4. +23
    -0
      debian/control
  5. +3
    -0
      debian/kazoo-configs-freeswitch.install
  6. +41
    -0
      debian/kazoo-configs-freeswitch.postinst
  7. +27
    -0
      debian/kazoo-configs-freeswitch.postrm
  8. +12
    -0
      debian/kazoo-configs.install
  9. +11
    -0
      debian/rules
  10. +1
    -0
      freeswitch/chatplan/.placeholder
  11. +1
    -0
      freeswitch/dialplan/.placeholder
  12. +1
    -0
      freeswitch/directory/.placeholder
  13. +7
    -1
      freeswitch/freeswitch.xml
  14. +21
    -0
      freeswitch/scripts/kazoo-sync.sh
  15. +2
    -2
      freeswitch/sip_profiles/sipinterface_1.xml
  16. +23
    -24
      haproxy/haproxy.cfg
  17. +22
    -0
      kamailio/accounting-role.cfg
  18. +1
    -2
      kamailio/dbtext/dispatcher
  19. +39
    -5
      kamailio/default.cfg
  20. +7
    -5
      kamailio/local.cfg
  21. +5
    -1
      kamailio/nat-traversal-role.cfg
  22. +13
    -4
      kamailio/presence-role.cfg
  23. +1
    -1
      kamailio/tls.cfg
  24. +2
    -0
      kamailio/websockets-role.cfg
  25. +2
    -2
      rabbitmq/rabbitmq.config

+ 6
- 34
config.ini View File

@ -1,53 +1,25 @@
; section are between [] = [section]
; key = value
; to comment add ";" in front of the line
;
;
; NOTE: You must add all your FreeSWITCH servers to the trusted ACLs
; if you are using zones!
;
[amqp]
uri = "amqp://guest:guest@127.0.0.1:5672"
[bigcouch]
compact_automatically = true
cookie = change_me
ip = "127.0.0.1"
port = 15984
;username = "kazoo"
;password = "supermegaexcellenttelephonyplatform"
; username = "kazoo"
; password = "supermegaexcellenttelephonyplatform"
admin_port = 15986
; Define your AMQPs and zones here
[zone]
name = zone_1
amqp_uri = "amqp://guest:guest@127.0.0.1:5672"
;[zone]
;name = zone_2
;amqp_uri = "amqp://guest:guest@127.0.0.2:5672"
; Define your whistles here
[whistle_apps]
;host = apps001.2600hz.com
zone = zone_1
cookie = change_me
;[whistle_apps]
;host = apps002.2600hz.com
;zone = zone_2
;cookie = change_me
; Define your ecallmgr's here
[ecallmgr]
;host = apps001.2600hz.com
zone = zone_1
cookie = change_me
;[ecallmgr]
;host = apps002.2600hz.com
;zone = zone_2
;cookie = change_me
[log]
syslog = debug
syslog = info
console = notice
file = error

+ 7
- 0
debian/changelog View File

@ -0,0 +1,7 @@
kazoo-configs (3-0) UNRELEASED; urgency=low
* Kazoo Configs.
-- Travis Cross <tc@traviscross.com> Mon, 26 May 2014 08:59:35 +0100

+ 1
- 0
debian/compat View File

@ -0,0 +1 @@
8

+ 23
- 0
debian/control View File

@ -0,0 +1,23 @@
#### Do not edit! This file is auto-generated from debian/bootstrap.sh.
Source: kazoo-configs
Section: comm
Priority: optional
Maintainer: Travis Cross <tc@traviscross.com>
Build-Depends: debhelper (>= 8.0.0)
Standards-Version: 3.9.3
Homepage: http://www.2600hz.com/
Package: kazoo-configs
Architecture: all
Provides: kazoo-configs-freeswitch
Depends: ${misc:Depends}
Description: Kazoo Configurations
This package contains the Kazoo Configuration Files.
Package: kazoo-configs-freeswitch
Architecture: all
Depends: ${misc:Depends}
Description: Kazoo Configurations for FreeSWITCH
This package contains the Kazoo Configuration Files fo FreeSWITCH.

+ 3
- 0
debian/kazoo-configs-freeswitch.install View File

@ -0,0 +1,3 @@
#### Do not edit! This file is auto-generated from debian/bootstrap.sh.
freeswitch /etc/kazoo

+ 41
- 0
debian/kazoo-configs-freeswitch.postinst View File

@ -0,0 +1,41 @@
#!/bin/sh
set -e
case "$1" in
configure)
if ! getent group freeswitch >/dev/null; then
groupadd --system freeswitch
fi
if ! getent passwd freeswitch >/dev/null; then
useradd --system -g freeswitch -Gaudio \
-d /var/lib/freeswitch \
-s /bin/false \
-e '' \
-c 'FreeSWITCH' \
freeswitch
fi
for x in \
/etc/kazoo/freeswitch \
/etc/kazoo/freeswitch/autoload_configs \
/etc/kazoo/freeswitch/certs \
/etc/kazoo/freeswitch/chatplan \
/etc/kazoo/freeswitch/dialplan \
/etc/kazoo/freeswitch/directory \
/etc/kazoo/freeswitch/scripts \
/etc/kazoo/freeswitch/sip_profiles;
do
mkdir -p $x
chown -R freeswitch:freeswitch $x
chmod -R o-wx,g+u $x
done
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

+ 27
- 0
debian/kazoo-configs-freeswitch.postrm View File

@ -0,0 +1,27 @@
#!/bin/sh
set -e
case "$1" in
purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
if [ "$1" = "purge" ]; then
if getent passwd freeswitch >/dev/null; then
userdel freeswitch
fi
if getent group freeswitch >/dev/null; then
groupdel freeswitch
fi
for x in \
/etc/kazoo/freeswitch;
do
rm -rf $x
done
fi
;;
*)
echo "postrm called with unknown argument \`$1'" >&2
exit 1
;;
esac
#DEBHELPER#
exit 0

+ 12
- 0
debian/kazoo-configs.install View File

@ -0,0 +1,12 @@
#### Do not edit! This file is auto-generated from debian/bootstrap.sh.
app.config /etc/kazoo
config.ini /etc/kazoo
vm.args /etc/kazoo
freeswitch /etc/kazoo
kamailio /etc/kazoo
haproxy /etc/kazoo
bigcouch /etc/kazoo
rabbitmq /etc/kazoo

+ 11
- 0
debian/rules View File

@ -0,0 +1,11 @@
#!/usr/bin/make -f
export DH_VERBOSE=1
%:
dh $@
override_dh_auto_build:
override_dh_auto_install:

+ 1
- 0
freeswitch/chatplan/.placeholder View File

@ -0,0 +1 @@
just a placeholder

+ 1
- 0
freeswitch/dialplan/.placeholder View File

@ -0,0 +1 @@
just a placeholder

+ 1
- 0
freeswitch/directory/.placeholder View File

@ -0,0 +1 @@
just a placeholder

+ 7
- 1
freeswitch/freeswitch.xml View File

@ -36,16 +36,22 @@
<X-PRE-PROCESS cmd="set" data="send_silence_when_idle=400"/>
<X-PRE-PROCESS cmd="set" data="codecs=G7221@32000h,G7221@16000h,G722,PCMU,PCMA,G729,GSM,OPUS,Speex"/>
<X-PRE-PROCESS cmd="set" data="codecs=H263,OPUS,G7221@32000h,G7221@16000h,G722,PCMU,PCMA,G729,GSM,Speex"/>
<section name="configuration" description="Various Configuration">
<X-PRE-PROCESS cmd="include" data="autoload_configs/*.xml"/>
</section>
<section name="dialplan" description="Regex/XML Dialplan">
<X-PRE-PROCESS cmd="include" data="dialplan/*.xml"/>
</section>
<section name="chatplan" description="Regex/XML Chatplan">
<X-PRE-PROCESS cmd="include" data="chatplan/*.xml"/>
</section>
<section name="directory" description="User Directory">
<X-PRE-PROCESS cmd="include" data="directory/*.xml"/>
</section>
<section name="phrases" description="Speech Phrase Management">


+ 21
- 0
freeswitch/scripts/kazoo-sync.sh View File

@ -0,0 +1,21 @@
#!/bin/sh
#### KAZOO - FREESWITCH OFFLINE
##
## run this command in a whapps server on a kazoo cluster to obtain the synchronization key
##
## sup whapps_config get crossbar.freeswitch offline_configuration_key `sup wh_util rand_hex_binary 32 | sed s/[\<\"\>]*//g` | sed s/[\<\"\>]*//g
##
## to change the key use the following command
##
## sup whapps_config set crossbar.freeswitch offline_configuration_key `sup wh_util rand_hex_binary 32 | sed s/[\<\"\>]*//g`
##
##
##
####
KEY=86d4f72ba888dba211fa2d17dcb558f0c8483e1ca5a048757b7d0e9204a3c24e
curl --insecure https://your-kazoo-api-fqdn:8443/v2/freeswitch?key=${KEY} -o update.zip
sudo unzip -o -d /etc/kazoo/freeswitch update.zip
fs_cli --execute reloadxml

+ 2
- 2
freeswitch/sip_profiles/sipinterface_1.xml View File

@ -90,7 +90,7 @@
<!-- TLS -->
<param name="tls" value="true"/>
<param name="tls" value="false"/>
<param name="tls-sip-port" value="11001"/>
<param name="tls-cert-dir" value="/etc/kazoo/freeswitch/certs"/>
<!--<param name="tls-only" value="false"/>
@ -141,7 +141,7 @@
<param name="enable-timer" value="false"/>
<param name="rtp-timeout-sec" value="3600"/>
<param name="rtp-hold-timeout-sec" value="3600"/>
<param name="minimum-session-expires" value="120"/>
<param name="minimum-session-expires" value="60"/>
<!--<param name="sip-force-expires" value="600"/>-->
<!--<param name="sip-expires-max-deviation" value="120"/>-->
<!--<param name="session-timeout" value="120"/>-->


+ 23
- 24
haproxy/haproxy.cfg View File

@ -1,40 +1,39 @@
global
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
maxconn 4096
user haproxy
group haproxy
stats socket /tmp/haproxy.sock mode 777
log 127.0.0.1 local0
log 127.0.0.1 local1 notice
maxconn 4096
user haproxy
group haproxy
stats socket /tmp/haproxy.sock mode 777
defaults
log global
mode http
option httplog
option dontlognull
option redispatch
option httpchk GET /
option allbackups
option http-server-close
maxconn 2000
retries 3
timeout connect 6000ms
timeout client 120000ms
timeout server 120000ms
log global
mode http
option httplog
option dontlognull
option redispatch
option httpchk GET /
option allbackups
maxconn 2000
retries 3
timeout connect 6000ms
timeout client 12000ms
timeout server 12000ms
listen bigcouch-data 127.0.0.1:15984
balance roundrobin
balance roundrobin
server db1.zone1.mydomain.com 127.0.0.1:5984 check
server db2.zone1.mydomain.com 127.0.0.2:5984 check
server db3.zone2.mydomain.com 127.0.0.3:5984 check backup
server db4.zone2.mydomain.com 127.0.0.4:5984 check backup
listen bigcouch-mgr 127.0.0.1:15986
balance roundrobin
balance roundrobin
server db1.zone1.mydomain.com 127.0.0.1:5986 check
server db2.zone1.mydomain.com 127.0.0.2:5986 check
server db3.zone2.mydomain.com 127.0.0.3:5986 check backup
server db4.zone2.mydomain.com 127.0.0.4:5986 check backup
listen haproxy-stats 127.0.0.1:22002
mode http
stats uri /
mode http
stats uri /

+ 22
- 0
kamailio/accounting-role.cfg View File

@ -0,0 +1,22 @@
####### Flags #######
flags
FLAG_ACC: 7,
FLAG_ACCMISSED: 8,
FLAG_ACCFAILED: 9;
######## Accounting module ########
loadmodule "acc.so"
######## Accounting params ########
modparam("acc", "early_media", 0)
modparam("acc", "report_ack", 0)
modparam("acc", "report_cancels", 1)
modparam("acc", "detect_direction", 0)
modparam("acc", "log_flag", 7)
modparam("acc", "log_level", 2)
modparam("acc", "log_missed_flag", 8)
modparam("acc", "failed_transaction_flag", 9)
modparam("acc", "log_extra",
"src_user=$fU;src_domain=$fd;src_ip=$si;"
"dst_ouser=$tU;dst_user=$rU;dst_domain=$rd")
modparam("acc", "log_facility", "LOG_LOCAL6")

+ 1
- 2
kamailio/dbtext/dispatcher View File

@ -6,5 +6,4 @@
### 20 - Registrar servers (if not locally handled)
# setid(integer) destination(sip uri) flags (integer, optional)
1 sip:10.26.0.83:11000 0
2 sip:10.26.0.84:11000 0
1 sip:127.0.0.1:11000 0

+ 39
- 5
kamailio/default.cfg View File

@ -52,7 +52,7 @@ tcp_keepcnt = 3
tcp_keepidle = 30
tcp_keepintvl = 10
tcp_linger2 = 30
tcp_rd_buf_size = 4096
tcp_rd_buf_size = 80000
tcp_send_timeout = 10
tcp_wq_blk_size = 2100
tcp_wq_max = 10485760
@ -170,6 +170,9 @@ include_file "websockets-role.cfg"
#!ifdef TLS-ROLE
include_file "tls-role.cfg"
#!endif
#!ifdef ACCOUNTING-ROLE
include_file "accounting-role.cfg"
#!endif
####### Permissions module ##########
loadmodule "permissions.so"
@ -323,11 +326,28 @@ route[HANDLE_IN_DIALOG_REQUESTS]
record_route();
}
if (loose_route()) {
#!ifdef ACCOUNTING-ROLE
if (is_method("BYE")) {
setflag(FLAG_ACC);
setflag(FLAG_ACCFAILED);
}
#!endif
#!ifdef WEBSOCKETS-ROLE
if (isdsturiset() && !handle_ruri_alias()) {
xlog("L_INFO", "$ci|stop|bad alias <$ru>\n");
sl_send_reply("400", "Bad Request");
exit;
if ($du == $null) {
handle_ruri_alias();
switch ($rc) {
case -1:
xlog("L_ERR", "$ci|stop|failed to handle alias of R-URI $ru\n");
send_reply("400", "Bad request");
exit;
case 1:
xlog("L_INFO", "$ci|log|loose_route in-dialog message with alias $du");
break;
case 2:
xlog("L_INFO", "$ci|log|loose_route in-dialog message with alias $du");
break;
}
}
#!endif
@ -396,6 +416,13 @@ route[RELAY]
route[INTERNAL_TO_EXTERNAL_RELAY]
{
#!ifdef ACCOUNTING-ROLE
if (is_method("INVITE")) {
setflag(FLAG_ACC);
setflag(FLAG_ACCFAILED);
}
#!endif
remove_hf_re("X-.*");
t_on_reply("EXTERNAL_REPLY");
@ -407,6 +434,13 @@ route[INTERNAL_TO_EXTERNAL_RELAY]
route[EXTERNAL_TO_INTERNAL_RELAY]
{
#!ifdef ACCOUNTING-ROLE
if (is_method("INVITE") && is_present_hf("Proxy-Authorization")) {
setflag(FLAG_ACC);
setflag(FLAG_ACCFAILED);
}
#!endif
#!ifdef NAT-TRAVERSAL-ROLE
if (!isflagset(FLAG_INTERNALLY_SOURCED)) {
route(NAT_TEST_AND_CORRECT);


+ 7
- 5
kamailio/local.cfg View File

@ -73,11 +73,13 @@ mhomed=0
#!substdef "!UDP_SIP!udp:MY_IP_ADDRESS:5060!g"
#!substdef "!TCP_SIP!tcp:MY_IP_ADDRESS:5060!g"
#!substdef "!TLS_SIP!tls:MY_IP_ADDRESS:5061!g"
#!substdef "!UDP_AGL_SIP!udp:MY_IP_ADDRESS:7000!g"
#!substdef "!TCP_AGL_SIP!tcp:MY_IP_ADDRESS:7000!g"
#!substdef "!TLS_AGL_SIP!tls:MY_IP_ADDRESS:7001!g"
#!substdef "!UDP_ALG_SIP!udp:MY_IP_ADDRESS:7000!g"
#!substdef "!TCP_ALG_SIP!tcp:MY_IP_ADDRESS:7000!g"
#!substdef "!TLS_ALG_SIP!tls:MY_IP_ADDRESS:7001!g"
#!substdef "!TCP_WS!tcp:MY_IP_ADDRESS:8080!g"
#!substdef "!UDP_WS_SIP!udp:MY_IP_ADDRESS:8080!g"
#!substdef "!TLS_WSS!tls:MY_IP_ADDRESS:8443!g"
#!substdef "!UDP_WSS_SIP!udp:MY_IP_ADDRESS:8443!g"
## YOU SHOULD NOT HAVE TO CHANGE THESE!
## This will bind the default SIP listeners
@ -88,5 +90,5 @@ mhomed=0
## what they are doing :)
listen=UDP_SIP
listen=TCP_SIP
listen=UDP_AGL_SIP
listen=TCP_AGL_SIP
listen=UDP_ALG_SIP
listen=TCP_ALG_SIP

+ 5
- 1
kamailio/nat-traversal-role.cfg View File

@ -11,7 +11,11 @@ route[NAT_TEST_AND_CORRECT]
{
if (is_present_hf("Record-Route")) {
$var(i) = $rr_count;
while($var(i) > 0) {
## We witnessed this loop execute more than
## 500 times, probably do to inability to
## allocate rr_count or the parser. Either
## way ensure the while loop is not unbound'd
while($var(i) > 0 && $var(i) < 30) {
$var(i) = $var(i) - 1;
$var(rr) = $(hdr(Record-Route)[$var(i)]);
if (!is_myself("$(var(rr){nameaddr.uri})")) {


+ 13
- 4
kamailio/presence-role.cfg View File

@ -5,22 +5,31 @@ modparam("htable", "htable", "dbkp=>size=16;autoexpire=7200")
loadmodule "presence.so"
loadmodule "presence_dialoginfo.so"
loadmodule "presence_mwi.so"
loadmodule "presence_xml.so"
modparam("presence", "subs_db_mode", 1)
modparam("presence", "expires_offset", 60)
modparam("presence", "publ_cache", 0)
#modparam("presence", "min_expires", 300)
modparam("presence", "min_expires", 0)
modparam("presence", "max_expires", 3600)
modparam("presence", "db_url", "MY_AMQP_URL/dialoginfo")
modparam("presence", "send_fast_notify", 0)
modparam("presence", "clean_period", 10)
modparam("presence_xml", "integrated_xcap_server", 1)
modparam("presence_xml", "db_url", "MY_AMQP_URL/dialoginfo")
modparam("presence_xml", "force_active", 1)
######## Presence User Agent module ########
loadmodule "pua.so"
loadmodule "pua_dialoginfo.so"
modparam("pua_dialoginfo", "library_mode", 1)
modparam("pua", "db_url", "text:///etc/kazoo/kamailio/dbtext")
modparam("pua", "db_mode", 0)
modparam("pua", "db_url", "MY_AMQP_URL/dialoginfo")
modparam("pua", "min_expires", 300)
modparam("pua", "outbound_proxy", "sip:MY_IP_ADDRESS")
loadmodule "pua_dialoginfo.so"
modparam("pua_dialoginfo", "library_mode", 1)
####### Presence Logic ########
route[HANDLE_SUBSCRIBE]
{


+ 1
- 1
kamailio/tls.cfg View File

@ -20,7 +20,7 @@ require_certificate = no
#crl = /etc/kazoo/kamailio/certs/crl.pem
certificate = /etc/kazoo/kamailio/certs/cert.pem
private_key = /etc/kazoo/kamailio/certs/key.pem
ca_list = /etc/kazoo/kamailio/certs/ca.pem
#ca_list = /etc/kazoo/kamailio/certs/ca.pem
# This is the default client domain, settings
# in this domain will be used for all outgoing


+ 2
- 0
kamailio/websockets-role.cfg View File

@ -1,8 +1,10 @@
tcp_accept_no_cl=yes
listen=TCP_WS
listen=UDP_WS_SIP
#!ifdef TLS-ROLE
listen=TLS_WSS
listen=UDP_WSS_SIP
#!endif
######## NAT Traversal module - signaling functions ########


+ 2
- 2
rabbitmq/rabbitmq.config View File

@ -1,5 +1,5 @@
[{rabbit, [{disk_free_limit, 5242880}
[
{rabbit, [{disk_free_limit, 5242880}
,{vm_memory_high_watermark, 0.8}
,{hipe_compile, true}
]}
].

Loading…
Cancel
Save