[asterisk-users] SIP.Conf - bindaddr per peer?

Johansson Olle E oej at edvina.net
Fri Jan 30 11:09:11 CST 2009


30 jan 2009 kl. 16.59 skrev Mike:

> hI,
>
> Trying to understand how to setup two PRIs in sip.conf. Using  
> Asterisk 1.4.23.
>
> I have a provider giving me two PRI (different rate centers) through  
> SIP.  Both PRI comes in from the same IP on the provider side, but  
> go to two different IPs (both on the same box) on my side.
>
> How can I setup two different SIP peer, one for each of the PRIs I  
> get, if all I can use to differenciate them are the IP address…? I  
> can't find any obvious setting in the sip.conf peer settings.  The  
> general section has "bindaddr" which would make sense, but since  
> it's general and not per peer it's of no use…
>
Interesting question. I don't think you can. The ACLs only work on  
sender's address. Maybe we could consider at some point implement  
local ACLs too.

/O


More information about the asterisk-users mailing list