[asterisk-dev] SIP outbound proxy for 1.4 - now working!

Olle E Johansson oej at edvina.net
Tue Feb 6 11:36:22 MST 2007


Friends,

Asterisk 1.4 (and possibly 1.2) have a broken implementation of  
outbound proxy support.

I've created a branch called "obproxy" that includes what I believe  
is a fixed version

- outboundproxy= in the general section of SIP.conf now actually does  
something
- outboundproxy= in a [peer] section now works properly

If you configure an outboundproxy, Asterisk will no longer do DNS  
resolution on
host/domains, it will let the outbound proxy handle all of that.

Outboundproxy configuration syntax is

outboundproxy=domain/host[:port][,force]

"force" enables outbound proxy forcing, meaning that all SIP requests  
in the dialog
will be sent to the proxy. If you do not force, only the first  
request will be sent
to the outbound proxy and it's up to the proxy to add a record-route  
header if it
wants to stay in the signalling path.

This work was paid for by Talkplus, inc in California (http:// 
www.talkplus.com). Thanks!

Please test this. If it works, we might be able to consider this a  
bug fix and include it
in 1.4.

Looking forward to your feedback!

/Olle

---
* Olle E Johansson - oej at edvina.net
* Cell phone +46 70 593 68 51, Office +46 8 96 40 20, Sweden





More information about the asterisk-dev mailing list