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

Yusuf yusuf at ecntelecoms.com
Wed May 30 03:11:30 MST 2007


Thing is, he does not REGISTER to me, he just uses me as proxy for his calls.  I 
authenticate his calls in his IP.

Alexandre VERNIOL wrote:
> 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?
>>
> 
> 


-- 

thanks,
Yusuf


More information about the asterisk-users mailing list