Multiple Host IP allow Possible ?

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Multiple Host IP allow Possible ?

Postby ashis103 » Tue Jul 30, 2013 5:19 am

Hello

would you please let me know how I can add more IP in host option for inbound trunk?

[out1]
type=peer
context=trunkinbound
usecallerid=yes
trustrpid=yes
sendrpid=yes
host=192.168.1.70 ?????????# How I can add more IP ##???
qualify=yes
insecure=port,invite
disallow=all
allow=ulaw
dtmfmode=auto
---------------------------------------
Asterisk 1.4.44-vici

Server : Cluster
ISO ::ViciBox.x86_64-4.0.3.iso
ViciBox Server v.4.0!
SVN Version: 1953
DB Schema Version: 1341
Kernel:
Linux ccdial1 3.1.10-1.19-default #1 SMP Mon Feb 25 10:32:50 UTC 2013 (f0b13a3) x86_64 x86_64 x86_64 GNU/Linux
VERSION: 2.6-396a
BUILD: 130402-2322

Server :Cluster:: No senguma , No other SW install .
ashis103
 
Posts: 69
Joined: Tue Jan 15, 2013 5:16 am

Re: Multiple Host IP allow Possible ?

Postby williamconley » Tue Jul 30, 2013 1:01 pm

Code: Select all
[in1]
type=peer
context=trunkinbound
usecallerid=yes
trustrpid=yes
sendrpid=yes
host=192.168.1.70
host=192.168.1.10
host=192.168.1.20
host=192.168.1.30
qualify=yes
insecure=port,invite
disallow=all
allow=ulaw
dtmfmode=auto
[out1]
type=peer
context=trunkinbound
usecallerid=yes
trustrpid=yes
sendrpid=yes
host=192.168.1.79
qualify=yes
insecure=port,invite
disallow=all
allow=ulaw
dtmfmode=auto
[out2]
type=peer
context=trunkinbound
usecallerid=yes
trustrpid=yes
sendrpid=yes
host=192.168.1.81
qualify=yes
insecure=port,invite
disallow=all
allow=ulaw
dtmfmode=auto
[out3]
type=peer
context=trunkinbound
usecallerid=yes
trustrpid=yes
sendrpid=yes
host=192.168.1.35
qualify=yes
insecure=port,invite
disallow=all
allow=ulaw
dtmfmode=auto

for inbound this works well. for outbound you should only have one (create a new context for each) so you can specify which to send the call through. but for inbound all will be accepted and treated the same.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: Multiple Host IP allow Possible ?

Postby ashis103 » Wed Jul 31, 2013 7:10 am

Thank you again William .. you are very helpful guys .:d
ashis103
 
Posts: 69
Joined: Tue Jan 15, 2013 5:16 am


Return to Support

Who is online

Users browsing this forum: No registered users and 72 guests