Multiple Carrier entries
Posted: Mon Nov 03, 2014 12:48 pm
This may be a simple question , something i am missing in the way the way the actual asterisk conf files work but
currently I have added a carrier for every dialing server that I have. So say I have 4 dialing servers and 2 different carriers.
in vicidial Admin>carrier GUI I have and entry for each
carrier1 - server 1 ip
carrier1 - server 2 IP
carrier1 - server 3 IP
carrier1 - server 4 IP
carrier2 - server 1 ip
carrier2 - server 2 IP
carrier2 - server 3 IP
carrier2 - server 4 IP
I also have to do the same thing if i have other carriers for DID's etc.
this could get really tedious , i am thinking there is an easier way and i am just missing something.
Also while im on the subject is there a way to specify more than one host in a single carrier record?
[voipinno1]
disallow=all
allow=ulaw
allow=g729
type=friend
host=xxx.xxx.xxx.xxx
host=xxx.xxx.xxx.xxx
or
host=xxx.xxx.xxx.xxx, xxx.xxx.xxx.xxx
dtmfmode=rfc2833
qualify=yes
insecure=port,invite
nat=yes
context=trunkinbound
any help is greatly appreciated.
currently I have added a carrier for every dialing server that I have. So say I have 4 dialing servers and 2 different carriers.
in vicidial Admin>carrier GUI I have and entry for each
carrier1 - server 1 ip
carrier1 - server 2 IP
carrier1 - server 3 IP
carrier1 - server 4 IP
carrier2 - server 1 ip
carrier2 - server 2 IP
carrier2 - server 3 IP
carrier2 - server 4 IP
I also have to do the same thing if i have other carriers for DID's etc.
this could get really tedious , i am thinking there is an easier way and i am just missing something.
Also while im on the subject is there a way to specify more than one host in a single carrier record?
[voipinno1]
disallow=all
allow=ulaw
allow=g729
type=friend
host=xxx.xxx.xxx.xxx
host=xxx.xxx.xxx.xxx
or
host=xxx.xxx.xxx.xxx, xxx.xxx.xxx.xxx
dtmfmode=rfc2833
qualify=yes
insecure=port,invite
nat=yes
context=trunkinbound
any help is greatly appreciated.