[asterisk-users] multiple host= in sip.conf

Alexandre VERNIOL alexandre.verniol at scipio.fr
Wed May 30 02:57:50 MST 2007


Not supported jsut use host=dynamic with username and secret.

Alex


Yusuf a écrit :
> 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?
>




More information about the asterisk-users mailing list