[asterisk-users] SIP.Conf - bindaddr per peer?
Johansson Olle E
oej at edvina.net
Mon Feb 2 01:20:32 CST 2009
31 jan 2009 kl. 02.44 skrev Mike:
> Replying to my own message. How difficult would it be to add a
> "bindaddr" (and possibly bindport) PER PEER in SIP.conf?
>
> How much of a bounty would I have to pay to get this done you think?
>
Well, if you run bindaddr=0.0.0.0 Asterisk will listen to all IP's. I
would say the simplest way would be to implement
some sort of ACL for which address a peer accept inbound
communication. The problem here is making sure that
we send From the proper IP. It can be done, but with testing it's
propably a couple of days work.
Adding bindport would be a huge project, since it requires multiple
ports in parallell, something that we're still
a bit nervous about doing in chan_sip for 1.6 with the addition of TLS
and TCP. The SIP structure locking scheme
is... Well, to put it mildly, scary.
For pricing, I would suggest you use the -biz list or send private e-
mails.
/O
More information about the asterisk-users
mailing list