[asterisk-dev] outboundproxy in [general] section - is it a bug?

Matthew Nicholson mnicholson at digium.com
Tue Dec 9 10:27:31 CST 2008


There is at least one problem that I know of.  Try the patch from bug
12006 (http://bugs.digium.com/view.php?id=12006).

On Tue, 2008-12-09 at 15:51 +0000, Chris Maciejewski wrote:
> Hi,
> 
> I am trying to force Asterisk (SVN-branch-1.6.1-r161639) to send all
> SIP signalling via a proxy server.
> 
> Unfortunately when I put in sip.conf:
> [general]
> ...
> outboundproxy=proxy.domain:5060
> 
> and try to Dial(SIP/enum-test at sip.nemox.net), I am getting the
> following error in the console:
> 
>     -- Executing [43780004711 at dialSIP:3]
> Dial("SIP/dev-sip.tele500.com-08204d10",
> "SIP/enum-test at sip.nemox.net") in new stack
>   == Using SIP RTP CoS mark 5
> [Dec  9 15:39:35] ERROR[2344]: chan_sip.c:19423 handle_request_do: We
> could NOT get the channel lock for SIP/sip.nemox.net-08210dc8!
> [Dec  9 15:39:35] ERROR[2344]: chan_sip.c:19424 handle_request_do: SIP
> transaction failed: 365c9c8209a3163523bd79782dc9d208 at 78.105.1.129
>     -- Got SIP response 503 "Server error" back from 0.0.0.0
>     -- Called enum-test at sip.nemox.net
>     -- SIP/sip.nemox.net-08210dc8 is circuit-busy
> 
> When I use IP address instead of a domain name:
> [general]
> ...
> outboundproxy=proxy_IP_address:5060
> 
> There is an error as below:
> 
>     -- Executing [43780004711 at dialSIP:3]
> Dial("SIP/dev-sip.tele500.com-b7208810",
> "SIP/enum-test at sip.nemox.net") in new stack
>   == Using SIP RTP CoS mark 5
>     -- Called enum-test at sip.nemox.net
>     -- Got SIP response 482 "Loop Detected" back from 0.0.0.0
> 
> In both cases no SIP packets are leaving Asterisk.
> 
> Am I missing something, or there is a problem with outboundproxy in
> "general" section of sip.conf file.
> 
> Kind regards,
> 
> Chris
> 
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
-- 
Matthew Nicholson
Digium




More information about the asterisk-dev mailing list