Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update local.cfg #150

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions kamailio/local.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,18 @@
## in the zone that this server will service.
#!substdef "!MY_AMQP_URL!kazoo://guest:guest@127.0.0.1:5672!g"

## CHANGE "kazoo://guest:guest@127.0.0.1:5672" TO THE AMQP URL
## This should be the failover RabbitMQ server
## in the zone that this server will service.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not supported

## Remove all but the last '#' to enable.
# # #!substdef "!MY_AMQP_SECONDARY_URL!kazoo://guest:guest@127.0.0.1:5672!g"

## CHANGE "kazoo://guest:guest@127.0.0.1:5672" TO THE AMQP URL and uncomment
## This should be the secondary failover RabbitMQ server
## in the zone that this server will service.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

failover is not supported

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In that case, can you help me understand what this is, and how to document it?
/etc/kazoo/kamailio/default.cfg

amqp connections

modparam("kazoo", "amqp_connection", "MY_AMQP_URL")
#!ifdef MY_AMQP_SECONDARY_URL
modparam("kazoo", "amqp_connection", "MY_AMQP_SECONDARY_URL")
#!endif
#!ifdef MY_AMQP_TERTIARY_URL
modparam("kazoo", "amqp_connection", "MY_AMQP_TERTIARY_URL")
#!endif

## Remove all but the last '#' to enable.
# # #!substdef "!MY_AMQP_TERTIARY_URL!kazoo://guest:guest@127.0.0.1:5672!g"

## This parameter is only required if you are using websockets
## This value must be present in the HTTP
## Origin header on a new websocket request
Expand Down