Re: [asterisk-users] TCP dial via proxy

2022-07-21 Thread David Cunningham
gt;> *From: *asterisk-users on >>> behalf of Dovid Bender >>> *Reply-To: *Asterisk Users Mailing List - Non-Commercial Discussion < >>> asterisk-users@lists.digium.com> >>> *Date: *Thursday, July 21, 2022 at 9:21 AM >>> *To: *Asterisk Users Mailin

Re: [asterisk-users] TCP dial via proxy

2022-07-21 Thread Łukasz Grzywański
risk Users Mailing List - Non-Commercial Discussion < >> asterisk-users@lists.digium.com> >> *Date: *Thursday, July 21, 2022 at 9:21 AM >> *To: *Asterisk Users Mailing List - Non-Commercial Discussion < >> asterisk-users@lists.digium.com> >> *Subject: *Re: [aster

Re: [asterisk-users] TCP dial via proxy

2022-07-21 Thread David Cunningham
k-users@lists.digium.com> > *Date: *Thursday, July 21, 2022 at 9:21 AM > *To: *Asterisk Users Mailing List - Non-Commercial Discussion < > asterisk-users@lists.digium.com> > *Subject: *Re: [asterisk-users] TCP dial via proxy > > > > David, > > > > We had this e

Re: [asterisk-users] TCP dial via proxy

2022-07-21 Thread David Cunningham
Hi Dovid, Thanks for the reply. We are indeed able to force TCP from the Kamailio proxy, but haven't been able to force it between Asterisk and Kamailio. On Fri, 22 Jul 2022 at 01:21, Dovid Bender wrote: > David, > > We had this exact "issue" in the past and were not able to figure out how >

Re: [asterisk-users] TCP dial via proxy

2022-07-21 Thread David Cunningham
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 =

Re: [asterisk-users] TCP dial via proxy

2022-07-21 Thread Thomas Ray
-Commercial Discussion Date: Thursday, July 21, 2022 at 9:21 AM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: Re: [asterisk-users] TCP dial via proxy David, We had this exact "issue" in the past and were not able to figure out how to do it. Where we wan

Re: [asterisk-users] TCP dial via proxy

2022-07-21 Thread Henning Follmann
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 >

Re: [asterisk-users] TCP dial via proxy

2022-07-21 Thread Dovid Bender
David, We had this exact "issue" in the past and were not able to figure out how to do it. Where we wanted tcp we prefixed the sip URI with "force_tcp". So: Dial(SIP/1234@1.1.1.1//2.2.2.2) became: Dial(SIP/force_tcp1234@1.1.1.1//2.2.2.2) On Kamailio's side in the FORWARD block we added: # HACK

[asterisk-users] TCP dial via proxy

2022-07-20 Thread David Cunningham
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