|
|
@ -13,42 +13,52 @@ debug = L_INFO |
|
|
|
|
|
|
|
|
####### Binding Parameters ######### |
|
|
####### Binding Parameters ######### |
|
|
# mhomed=1 |
|
|
# mhomed=1 |
|
|
listen = tcp:127.0.0.1:5060 |
|
|
|
|
|
listen = udp:127.0.0.1:5060 |
|
|
|
|
|
listen = tcp:127.0.0.1:7000 |
|
|
|
|
|
listen = udp:127.0.0.1:7000 |
|
|
|
|
|
|
|
|
listen=MY_TCP_ADDR_1 |
|
|
|
|
|
listen=MY_UDP_ADDR_1 |
|
|
|
|
|
listen=MY_TCP_ADDR_2 |
|
|
|
|
|
listen=MY_UDP_ADDR_2 |
|
|
|
|
|
|
|
|
|
|
|
#!ifdef TLS-ROLE |
|
|
|
|
|
listen=MY_TLS_ADDR |
|
|
|
|
|
#!endif |
|
|
|
|
|
|
|
|
#!ifdef WEBSOCKETS-ROLE |
|
|
#!ifdef WEBSOCKETS-ROLE |
|
|
listen = udp:127.0.0.1:8080 |
|
|
|
|
|
listen = tcp:127.0.0.1:8080 |
|
|
|
|
|
|
|
|
listen=MY_WS_ADDR |
|
|
|
|
|
#!ifdef TLS-ROLE |
|
|
|
|
|
listen=MY_WSS_ADDR |
|
|
|
|
|
#!endif |
|
|
#!endif |
|
|
#!endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
####### Dispatcher module ######## |
|
|
####### Dispatcher module ######## |
|
|
#!ifdef DISPATCHER-ROLE |
|
|
#!ifdef DISPATCHER-ROLE |
|
|
modparam("dispatcher", "ds_ping_from", "sip:sipcheck@127.0.0.1") |
|
|
|
|
|
# modparam("dispatcher", "ds_ping_sock", "udp:127.0.0.1:5060") |
|
|
|
|
|
|
|
|
modparam("dispatcher", "ds_ping_from", "sip:sipcheck@@MY_HOST_NAME") |
|
|
#!endif |
|
|
#!endif |
|
|
|
|
|
|
|
|
######## NAT Traversal module - signaling functions ######## |
|
|
######## NAT Traversal module - signaling functions ######## |
|
|
#!ifdef NAT-TRAVERSAL-ROLE |
|
|
#!ifdef NAT-TRAVERSAL-ROLE |
|
|
modparam("nathelper", "sipping_from", "sip:sipcheck@127.0.0.1") |
|
|
|
|
|
|
|
|
modparam("nathelper", "sipping_from", "sip:sipcheck@MY_HOST_NAME") |
|
|
# modparam("nathelper", "natping_socket", "127.0.0.1:5060") |
|
|
# modparam("nathelper", "natping_socket", "127.0.0.1:5060") |
|
|
#!endif |
|
|
#!endif |
|
|
|
|
|
|
|
|
####### Kazoo Integration module ########## |
|
|
####### Kazoo Integration module ########## |
|
|
#!ifdef INCLUDE-DB-KAZOO |
|
|
#!ifdef INCLUDE-DB-KAZOO |
|
|
## NOTE: The hostname that should be advertised to Kazoo |
|
|
## NOTE: The hostname that should be advertised to Kazoo |
|
|
modparam("db_kazoo", "node_hostname", "kamailio.2600hz.com") |
|
|
|
|
|
|
|
|
modparam("db_kazoo", "node_hostname", "MY_HOST_NAME") |
|
|
## NOTE: If you want a certain fs_path to be sent Kazoo, |
|
|
## NOTE: If you want a certain fs_path to be sent Kazoo, |
|
|
## uncomment the next line and set the right value |
|
|
## uncomment the next line and set the right value |
|
|
# modparam("db_kazoo", "register_fs_path", "127.0.0.1:5060") |
|
|
|
|
|
|
|
|
# modparam("db_kazoo", "register_fs_path", "MY_HOST_NAME") |
|
|
#!endif |
|
|
#!endif |
|
|
|
|
|
|
|
|
####### Common Module Parameters ########## |
|
|
####### Common Module Parameters ########## |
|
|
#!ifdef REGISTRAR-ROLE |
|
|
#!ifdef REGISTRAR-ROLE |
|
|
modparam("auth_db|usrloc", "db_url", "kazoo://guest:guest@127.0.0.1:5672/callmgr") |
|
|
|
|
|
|
|
|
modparam("auth_db|usrloc", "db_url", "kazoo://guest:guest@MY_RABBIT_HOST_NAME:5672/callmgr") |
|
|
#!endif |
|
|
#!endif |
|
|
#!ifdef PRESENCE-ROLE |
|
|
#!ifdef PRESENCE-ROLE |
|
|
modparam("presence", "db_url", "kazoo://guest:guest@127.0.0.1:5672/dialoginfo") |
|
|
|
|
|
|
|
|
modparam("presence", "db_url", "kazoo://guest:guest@MY_RABBIT_HOST_NAME:5672/dialoginfo") |
|
|
#!endif |
|
|
#!endif |
|
|
|
|
|
|
|
|
# vim: tabstop=4 softtabstop=4 shiftwidth=4 expandtab |
|
|
# vim: tabstop=4 softtabstop=4 shiftwidth=4 expandtab |