[asterisk-bugs] [JIRA] (ASTERISK-25605) outboundproxy= works globally but not for individual SIP trunks

Rusty Newton (JIRA) noreply at issues.asterisk.org
Mon Dec 7 20:04:33 CST 2015


    [ https://issues.asterisk.org/jira/browse/ASTERISK-25605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=228570#comment-228570 ] 

Rusty Newton commented on ASTERISK-25605:
-----------------------------------------

I feel like the sip.conf sample makes it fairly clear that you can define a peer for the host

{noformat}
;register => 2345:password at sip_proxy/1234
;
;    Register 2345 at sip provider 'sip_proxy'.  Calls from this provider
;    connect to local extension 1234 in extensions.conf, default context,
;    unless you configure a [sip_proxy] section below, and configure a
;    context.
;    Tip 1: Avoid assigning hostname to a sip.conf section like [provider.com]
;    Tip 2: Use separate inbound and outbound sections for SIP providers
;           (instead of type=friend) if you have calls in both directions
;
{noformat}

If you have a suggestion on how to make the documentation more clear, please submit a patch. It is hard for me to view it from your perspective so if you feel there is a way to improve it - a patch will provide the most clarity.

> outboundproxy= works globally but not for individual SIP trunks
> ---------------------------------------------------------------
>
>                 Key: ASTERISK-25605
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25605
>             Project: Asterisk
>          Issue Type: Improvement
>      Security Level: None
>          Components: Channels/chan_sip/General, Documentation
>    Affects Versions: 13.5.0, 13.6.0
>         Environment: CentOS v6 32bit, VPS
>            Reporter: PowerPBX
>            Severity: Trivial
>
> Normal SIP trunk configuration.  However some providers use an outboundproxy.
> With the outboundproxy configured I do not see any traffic being sent out to that outboundproxy IP.  I also tried adding the ,force option
> So my [sometrunk] config includes:
> outboundproxy=xx.xx.xx.xx:5065,force
> I tried with and without the port setting and ,force option.  It does not make any difference.  There is never any traffic sent out to that IP.
> If I add that exact same configuration under [general] settings in sip.conf it immediately starts working.  That is not a solution because it does that for all trunks and I need it to only do it for 1 trunk.



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list