[asterisk-users] Trunk with multiple IPs?
    Rich Adamson 
    radamson at routers.com
       
    Fri Aug 25 05:02:38 MST 2006
    
    
  
I don't believe that addresses the OP's original post since he was 
talking about limiting "incoming" calls from specific IP addresses. You 
might want to validate how secure your definitions are considering the 
type=friend approach.
Lists @ EMS wrote:
> Hi, I've only just now seen this post. This is how we have setup.
> 
> In sip.conf
> 
> [xxx.xxx.xx1]
> host = xxx.xxx.xx1
> type = friend
> insecure = very
> context = your-context
> canreinvite=no
> 
> [xxx.xxx.xx2]
> host = xxx.xxx.xx2
> type = friend
> insecure = very
> context = your-context
> canreinvite=no
> 
> [xxx.xxx.xx3]
> host = xxx.xxx.xx3
> type = friend
> insecure = very
> context = your-context
> canreinvite=no
> 
> [xxx.xxx.xx4]
> host = xxx.xxx.xx4
> type = friend
> insecure = very
> context = your-context
> canreinvite=no
> 
> 
> 
> Hope this helps.
> 
> 
> Paulo
> 
> 
> I wish I could offer some direct help on whether or not your method with a
> comma separated list would work, but I can't. However, you could always
> create a few entries using different formats and then run some tests against
> them....
> 
> 
>  
> 
>> Still no answers huh?
>>
>> I've asked a couple of time how to do this, and by the lack of 
>> answers, I'm guessing there is no way.
>> The workaround unfortunately is to create an entry for each IP 
>> address in the range (I hope you don't have to open up a whole 
>> C class) 
>>
>> -----Original Message-----
>>
>> How do I enter a trunk with multiple IPs.
>>
>> xyz voip provider has 4 IPs and I want to allow incoming from any of
>> them: 1.1.1.1, 1.1.1.2, 1.1.1.3 and 1.1.1.4
>>
>> Do I put 4 separate host= lines, do I put a single host=line 
>> that is comma separated or do I have to set up 4 separate 
>> incoming trunks?
>>
>> TIA,
>> Warren
    
    
More information about the asterisk-users
mailing list