[asterisk-users] multiple host= in sip.conf
Yusuf
yusuf at ecntelecoms.com
Wed May 30 02:18:21 MST 2007
Hi,
I am running Asterisk 1.4.4, and needed to setup sip accounts for someone to call my
server and place calls. However, he has multiple IP's that he comes from, and since I
authenticate him of his IP, I did this, and it works.
[vz1]
context=outbound
type=friend
host=x.x.x.x
disallow=all
allow=alaw
canreinvite=no
[vz2]
context=outbound
type=friend
host=y.y.y.y
disallow=all
allow=alaw
canreinvite=no
[vz3]
context=outbound
type=friend
host=.z.z.z.z
disallow=all
allow=alaw
canreinvite=no
However, is there anyway I can have just one account for him, with mult host= statements,
so I can authenticate him based on his IP in just one place?
--
thanks,
Yusuf
More information about the asterisk-users
mailing list