Re: TCP dial via proxy

David Cunningham <[email protected]>
Newsgroups gmane.comp.telephony.pbx.asterisk.user
Message-ID <CAHGbP-8ZK-VHArwRS6xTSNDU+dd4WCKwrECBuzZ_wvpPmE+3NA@mail.gmail.com>
Hi Henning,

We tried using outboundproxy as follows, but the SIP from Asterisk to the
proxy still went via UDP. Is there anything else you'd suggest? Thank you.

In extensions.conf:

Dial(SIP/${EXTEN}@sip-peer)

In sip.conf:

[general]
tcpenable = yes
tcpbindaddr = 0.0.0.0

[sip-peer]
host = final.destination.com
transport = tcp
outboundproxy = our.proxy.com


On Fri, 22 Jul 2022 at 01:23, Henning Follmann <[email protected]>
wrote:

> On Thu, Jul 21, 2022 at 02:46:07PM +1200, David Cunningham wrote:
> > Hello,
> >
> > We have an Asterisk dial which sends the call via a proxy using //, for
> > example:
> >
> > Dial(SIP/${EXTEN}@peer_address//proxy_address)
> >
> > Does anyone know how we can make the SIP to the proxy use TCP? We tried
> > making proxy_address match a peer in sip.conf with "transport = tcp" but
> > that didn't seem to work. We are using chan_sip.
> >
> > Thanks very much for any advice.
> >
>
> Have you tried to define
> outboundproxy=proxy_address
> in your sip.conf?
>
> -H
>
>
>
> --
> Henning Follmann           | [email protected]
>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at:
> https://community.asterisk.org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users



-- 
David Cunningham, Voisonics Limited
http://voisonics.com/
USA: +1 213 221 1092
New Zealand: +64 (0)28 2558 3782

-- 
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
      https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.