[asterisk-dev] Outboundproxy Settings

Kevin P. Fleming kpfleming at digium.com
Fri Sep 1 06:03:25 MST 2006


----- Aaron Clauson <aza at azaclauson.com> wrote:
> As an example if an Asterisk SIP account exists with settings of:
> 
> Host = 192.168.10.1
> Port = 5061
> OutboundProxy = 192.168.11.1
> OutboundProxyPort = 5060
> FullContact = sip:user at 192.168.10.1:5061

There is not currently any support for a per-peer or per-user 'outboundproxyport', there is only support for it at the global level in sip.conf. There is also not a simple fix for this, because the way per-peer outboundproxy information is recorded is sub-optimal... and the order the fields are present in the configuration file can affect the way the information is interpreted as well (which gets even worse when Realtime is used and you can't control the order the columns are returned by the database).

Unfortunately right now there is no simple solution for your problem, unless you use the same outbound proxy for all your peers, in which case you can set the proxy/port at the global level (and in fact that was the original intent of the 'outboundproxy' settings being created).

-- 
Kevin P. Fleming
Senior Software Engineer
Digium, Inc.




More information about the asterisk-dev mailing list