similar to: PJSIP and NAT behind a dynamic IP address

Displaying 20 results from an estimated 7000 matches similar to: "PJSIP and NAT behind a dynamic IP address"

2017 Oct 09
6
PJSIP, NAT and STUN/ICE
I'm quite new to Asterisk and using Asterisk 13 on FreeBSD current. Asterisk is behind a NAT router, the physical setup is very much a trivial one. The Asterisk PBX is supposed to act as the telephone gateway for several VoIP/SIP phones. I'm using throughout pjsip as configuration, I have no experience with chan_sip since I started recently using Asterisk for several SoHo and lab's
2016 Mar 03
3
RTP / NAT question ( pjsip )
Thank you for the response Joshua . I had rtp_symmetric=yes before I wrote the email, then I set it to no, restart asterisk, and tried to make the call from the remote endpoint again but still tcpdump is showing me the RTP packets are being sent from Asterisk to the private IP. tcpdump on asterisk server showing UDP packet bound for my remote endpoints internal IP: 17:07:57.130212 IP
2014 Dec 16
3
PJSIP configuration question
Ok Dan, try this... I was able to get this to work behind a NAT and with ip address authentication. [global] type = global debug = yes [transport1] type = transport bind = 0.0.0.0 protocol = udp *local_net=<yourlocalnet I.E. 10.10.10.10/24 <http://10.10.10.10/24>>external_media_address=<your public ip address>external_signaling_address=<your public address>*
2015 Mar 05
2
PJSIP configuration for AWS/EC2 based Asterisk 13.1.0
Hello All, I have an Asterisk server v13.1.0 running on EC2 and I am able to connect and register SIP devices and "see" them on the asterisk CLI. I am also able to place calls, but I am not able to hear any audio on either end after the call is picked up. I was wondering if you can tell me what a minimal configuration for Asterisk on EC2 looks like. My current pjsip.conf configuration
2018 Feb 08
3
pjsip trunking configuration issue
Greetings ! My goal is to get Twilio trunking working, and with TLS/SRTP. I see this concerning message in my log: [Feb 7 16:50:26] ERROR[20596] res_sorcery_config.c: Could not create an object of type 'endpoint' with id ?twilio' from configuration file ?pjsip.conf? Thus, ?pjsip show endpoints? does not show the endpoint for the Twilio trunk. Hoping for a sanity check of
2018 Apr 10
2
Asterisk behind NAT Early Media Video
I just noticed, the calling device isn't even sending the early media video stream. It just sends an early media audio stream. Is there propably a change in the signaling needed? (On another P2P SIP Server the early media video works.) 2018-04-10 12:29 GMT+02:00 Benjamin Marty <benjamin.marty at gmail.com>: > Hi Florian > > I already have the external_media_address set in the
2023 Aug 18
2
PJSIP Losing knowledge of external_media_address
I've seen this happen three times in the wild now.  I've been trying to isolate the source of the issue, but so far it seems like there's not enough debug output to know why this occurs. Long story short: - Start Asterisk - PJSIP Handles receiving INVITE from ITSP via WAN (Asterisk is behind NAT).  SIP is handled correctly, Asterisk responds OK with RTP media address of
2018 Apr 10
2
Asterisk behind NAT Early Media Video
Hi Benjamin! You're obviously using a similar scenario that I have in place for testing. I initially had issues with early media (not only video also audio) as well in that scenario. What I had to do was to additionally set external_media_address=<your external IP> in pjsip.conf Also, as I wrote the patch for early-media video I'd be interested in any feedback from it. ? ? With
2014 Dec 16
2
PJSIP configuration question
On Mon, Dec 15, 2014 at 7:34 PM, Dan Cropp <dan at amtelco.com> wrote: > > I am not sure if I entered the correct settings for the transport > information. > > For the local_net, I entered my local ip address, but no mask. I will > check with the network admin so he can verify the settings I entered. > > > You need the network and mask. For example if the ip
2014 Dec 16
4
PJSIP configuration question
On Mon, Dec 15, 2014 at 9:48 PM, Dan Cropp <dan at amtelco.com> wrote: > > Thanks George. > > I will correct my local_net in the morning. > > Vitelity chan_sip settings I have working, do not have a fromuser. > sip.conf settings... > > I think you can actually specify anything, it just has to be populated with something other than a sub-account username. >
2016 Jan 26
2
PJSIP Stun/ICE
I have an asterisk 13 server behind NAT on a dynamic IP Address. It is running the PJSIP Stack It is registering to another asterisk 13 server that is on a Static IP outside of the firewall at a different location (also on the PJSIP Stack). How do we implement STUN/ICE on the server behind the dynamic Address. It does not appear to be registering properly without knowing the NAT pubic
2023 Apr 09
1
TLS and NAT
Thanks, Michael. A few questions: Is [transport_name] a reserved word, or am I supposed to replace it with a name of my own, like '[did-transport]'? Some of the keywords I haven't seen before. Is ca_list_file supposed to be an aggregate of the public and private key? And what are the 'method,' 'tos' and 'cos' keywords, which are commented out in your
2023 Apr 08
1
TLS and NAT
Hello Steve, use the following configuration for the transport and bind this transport to the trunk: [transport_name] type=transport protocol=tls bind=192.168.13.24 ; your bind IP ca_list_file=/etc/pki/tls/certs/ca-bundle.crt ; method=tlsv1_2 verify_server=yes allow_reload=no ;tos=0xb8 ;cos=3 external_media_address=your.ext.host.name ; hostname pointing to your ext. IP
2017 Jul 29
2
[asterisk13] Multiple transport objects of same protocol in pjsip.conf
Scenario: Our Asterisk 13 PBX (on network 192.168.254.0/24, bound to 192.168.254.1:5060) is behind a NAT, acting as a client to our ITSPs SIP server. But also, this Asterisk is server for various VoIP telephones. Acoording to Asterisk's wiki, the transport section of pjsip.conf is configured as follows: ; Transport via UDP [transport-nat-udp] type= transport
2023 Apr 07
1
TLS and NAT
I want to configure communication with my phone provider using TLS for all the obvious reasons. Since I'm behind a firewall, I'll be needing to do it with NAT. There are examples of UDP plus NAT in pjsip.conf, but none for TLS plus NAT. Would it be correct to set up the TLS transport stanza to look like the [transport-udp-nat] stanza example, replacing UDP with TLS in lines like
2018 Apr 11
2
Asterisk behind NAT Early Media Video
I did a quick check between what I have set and your settings below. You can try the following and see if it helps In your endpoint: bind_rtp_to_media_address=yes With best regards Florian Floimair Innovation - Software-Development - VoIP & DevOps COMMEND INTERNATIONAL GMBH A-5020 Salzburg, Saalachstra?e 51 Tel: +43-662-85 62 25 Fax: +43-662-85 62 26 http://www.commend.com Security
2015 Mar 03
1
Cannot configure PJSIP TLS
Hey guys,tried to make tls work with pjsip on asterisk 13.2.0 have compiled pjsip with ssl, added transport [tls] type=transport cert_file=/pbx/keys/server.crt ca_list_file=/pbx/keys/ca.key priv_key_file=/pbx/keys/server.key protocol=tls bind=192.168.1.4:5061 local_net=192.168.1.0/24 external_media_address=77.77.77.77 external_signaling_address=77.77.77.77 have configured Grandstream GXP1400
2014 Dec 15
2
PJSIP configuration question
On Mon, Dec 15, 2014 at 3:54 PM, Dan Cropp <dan at amtelco.com> wrote: > > Yes, everything is behind the same NAT. > > > > For the application I?m working on, the only endpoint is the endpoint to > Vitelity. > > We use AMI to Originate calls from Asterisk endpoint through Vitelity to > phones. > > After that, we control the call through AMI to perform the
2020 Jan 23
3
PJSIP and Grandstream Wave with TSL and SRTP
On Thursday, January 23, 2020 11:31:46 PM CET Sean Bright wrote: > On 1/21/2020 9:18 PM, hw wrote: > > [transport-tls] > > type = transport > > protocol = tls > > bind = 0.0.0.0:5061 > > tos = cs5 > > cert_file = /etc/asterisk/cert/asterisk.pem > > ca_list_file = /etc/pki/tls/certs/ca-bundle.crt > > method = sslv23 > > This is what mine
2023 Jun 21
2
Asterisk not replacing private FROM ip with public IP in INVITE
I've split this thread off from another (PJSIP authentication) because I think the root cause is something different. I think the problem is the following FROM line in my SIP INVITE transaction: From: "MYNAME" <sip:16667778888 at 172.31.253.4>;tag=773a3e6a-a677-4fb1-95fc-54b379b650a4 The IP address above is an internal/non-routable IP, so Twilio is rejecting it. For some