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
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to