Skip to main content

Using a node in the cluster to dial out from other nodes

This page reorganizes the operational steps for Using a node in the cluster to dial out from other nodes.

This configuration requires a more than average knowledge of Asterisk dialplan and SIP configuration.

In general, you cannot use one node as "Provider" for other nodes. Calls between nodes are managed as "internal" calls and the call will fail. However, there can be the need to send out special calls from one node only. Let's make the example of a node in the cluster hosting a Dahdi interface. To allow all other nodes to use the Dahdi interface to dial out special numbers, a special configuration needs to be done.

First you need to remove from sip.conf the parameter "insecure=port,invite" from all the host accounts. This parameter authenticate nodes using IP Address and it is used as a fallback when for some reason the user/password authentication doesn't work, for example due to a server name change not applied to sip.conf.

400px

Then you need to create a new account, in sip.conf for the communications between the other servers in the cluster and the node hosting the Dahdi interface

400px

On the Provider page, add the provider for this account

400px

As you have seen, the new account/provider is mapped to the context [dahdi]. Create that context and dial the Dahdi interface:

400px

Current Verification

After applying the change, verify the related MiRTA PBX page, the Asterisk logs, and the relevant Status menu entry. Recheck tenant selection before testing tenant-specific behavior.