[asterisk-users] TCP dial via proxy
David Cunningham
dcunningham at voisonics.com
Thu Jul 21 16:32:53 CDT 2022
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 <hfollmann at itcfollmann.com>
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 | hfollmann at itcfollmann.com
>
>
> --
> _____________________________________________________________________
> -- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20220722/4ed28adb/attachment.html>
More information about the asterisk-users
mailing list