Several incoming IPs for one Provider

From Kolmisoft Wiki
Jump to navigationJump to search

Sometimes Providers sends calls from several IPs.

This guide shows how to configure that in MOR (prior 0.8).

NOTE: MOR 0.8 will have this implemented into GUI directly.


Lets say we have provider which sends calls from such IP:

* 83.136.162.72
* 83.136.161.72
* 83.136.161.75

First lets create such Provider in GUI and take note of Device ID of this Provider and enter on:

Several ips1.png


Now open /etc/asterisk/sip.conf in text editor and at the end enter:

[provider1]
type=friend
host=83.136.162.72
accountcode=50
context=mor
[provider2]
type=friend
host=83.136.161.72
accountcode=50
context=mor
[provider3]
type=friend
host=83.136.162.75
accountcode=50
context=mor

And reload Asterisk.

>>> NOTE THE ACCOUNTCODE!!! <<<