Displaying 20 results from an estimated 52 matches for "external_signaling_address".
2017 Oct 09
6
PJSIP, NAT and STUN/ICE
...oobish questions.
When planning and setting up the Asterisk, I had to deal with NAT. The Asterisk config
object of type=transport knows about essential entries:
local_net= 192.168.254.1/24
bind= 192.168.254.1:5060
external_media_address= dyndns FQDN
external_signaling_address= dyndns FQDN
direct_media= no
rtp_symmetric= yes
force_rport= yes
dyndns FQDN is the FQDN of my broadband access point provided by some dynamical DNS
provider.
This setup is not working properly with when external_media_address= and
external_signaling_address= are set that way, but commenti...
2023 Apr 08
1
TLS and NAT
...s
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
external_signaling_address=your.ext.host.name ; hostname pointing to
your ext. IP
local_net=192.168.0.0/24 # your local net
Regards
Michael
On 07.04.23 at 17:25 Steve Matzura wrote:
> I want to configure communication with my phone provider using TLS for
> all the obvious reasons. Since I'm behind a firewall,...
2023 Apr 09
1
TLS and NAT
...port
> 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
> external_signaling_address=your.ext.host.name ; hostname pointing to
> your ext. IP
> local_net=192.168.0.0/24 # your local net
>
>
> Regards
> Michael
>
> On 07.04.23 at 17:25 Steve Matzura wrote:
>> I want to configure communication with my phone provider using TLS
>> for all the obvio...
2015 Mar 05
2
PJSIP configuration for AWS/EC2 based Asterisk 13.1.0
...nt pjsip.conf configuration looks like
this:
type=transport
protocol=udp
bind=0.0.0.0
local_net=172.31.32.0/20
; In the following two lines, replace "<publicIP>" with the output of
; curl -s http://169.254.169.254/latest/meta-data/public-ipv4
external_media_address=<publicIP>
external_signaling_address=<publicIP>
[endpoint_internal](!)
type=endpoint
context=from-internal
disallow=all
allow=ulaw
direct_media=no
[auth_userpass](!)
type=auth
auth_type=userpass
[aor_dynamic](!)
type=aor
max_contacts=1
remove_existing=yes
;Definitions for our phones, using the templates above
;; usernames an...
2016 Sep 15
2
Asterisk 13 externip
...>
>
> On Wednesday, 14 September 2016, Madushan Geethanga <
> mgliyanage.rc at gmail.com> wrote:
>
>> Hi,
>>
>> What is the equal option for externip in asterisk 13 with pjsip. I have
>> tried
>>
>> external_media_address=XX.XX.XX.XX
>> external_signaling_address=XX.XX.XX.XX
>>
>> but asterisk 13 writes local ip to the from header. any suggestions?
>>
>
Setting 'from_domain' on the endpoint will do it. Are you having issues
with an internal address being used in the "From" header?
>
>> Best Regards,
>&g...
2016 Sep 14
2
Asterisk 13 externip
Hi,
What is the equal option for externip in asterisk 13 with pjsip. I have
tried
external_media_address=XX.XX.XX.XX
external_signaling_address=XX.XX.XX.XX
but asterisk 13 writes local ip to the from header. any suggestions?
Best Regards,
Madushan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20160914/eadc7197/attachment.html>
2023 Apr 07
1
TLS and NAT
...onf, 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 'transport=tls' and 'protocol=tls', and
including the lines for local_net, external_media_address and
external_signaling_address?
2016 Mar 03
3
RTP / NAT question ( pjsip )
...UDP packet bound for my remote endpoints internal IP:
17:07:57.130212 IP 10.50.55.10.6214 > 10.128.30.239.51126: UDP, length 182
Current pjsip.conf file
[transport-tls]
type=transport
protocol=tls
bind=0.0.0.0:5061
local_net=10.50.55.0/24
external_media_address=<scrubbed public ip>
external_signaling_address=<scrubbed public ip>
cert_file=/etc/asterisk/keys/dev1.crt
priv_key_file=/etc/asterisk/keys/dev1.key
ca_list_file=/etc/asterisk/keys/ca.crt
cipher=AES256-SHA
method=tlsv1
;===============EXTENSION 6001
[6000]
type=endpoint
context=internal
disallow=all
allow=ulaw
auth=auth6000
aors=6000
d...
2016 Sep 15
2
Asterisk 13 externip
...PABX is on the cloud when I try to register to the server, the
> server sends registration OK with public address but OPTION method
> includes the private address of the server in from header not the public
> address. I have include both
>
> external_media_address=XX.XX.XX.XX
> external_signaling_address=XX.XX.XX.XX
> local_net=XX.XX.XX.XX
>
>
> The client AOR is not getting registered.
>
What type of device/softphone is the client?
Is the client trying to respond back to the address in the From header
instead of the Contact header?
>
> Best Regards,
> Madushan
>
>...
2014 Dec 16
3
PJSIP configuration question
...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>*
[outbound.vitelity.net]
type = aor
remove_existing = yes
qualify_frequency = 60
contact = sip:64.2.142.93
[outbound.vitelity.net]
type = endpoint
context = TestApp
transport = transport1
aors = outbound.vitelity.net
dtmf_mode = rfc4733
force_rport = yes
rtp_symmetric =...
2016 Jan 26
2
PJSIP Stun/ICE
...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
address. When I manually add external_media_address and
external_signaling_address to the pjsipconfig registration seams to work,
but knowing that the IP could change really means I need some kind of
STUN/ICE similar to what we ran with chan_sip.
I can find limited documentation on this, and what I have found does not
show how to set a stun server to make the ice_support fie...
2016 Sep 16
3
Asterisk 13 externip
...he server, the
>>> server sends registration OK with public address but OPTION method
>>> includes the private address of the server in from header not the public
>>> address. I have include both
>>>
>>> external_media_address=XX.XX.XX.XX
>>> external_signaling_address=XX.XX.XX.XX
>>> local_net=XX.XX.XX.XX
>>>
>>>
>>> The client AOR is not getting registered.
>>>
>>
>> What type of device/softphone is the client?
>> Is the client trying to respond back to the address in the From header
>> instea...
2017 Jul 29
2
[asterisk13] Multiple transport objects of same protocol in pjsip.conf
...ansport via UDP
[transport-nat-udp]
type= transport
protocol= udp
local_net= 192.168.254.0/24
local_net= 127.0.0.1/32
bind= 192.168.254.1:5060
external_media_address= ddns.gdr
external_signaling_address= ddns.gdr
The VoIP phones are also residing on network 192.168.254.0/24, bu they are separated and
strictly prohibited by firewall rules to act with the outer net. The Asterisk PBX is
acting as the transition point between our VoIP phones and the ITSPs SIP server.
So, my understanding is that...
2018 Feb 08
3
pjsip trunking configuration issue
...s.
A test call form Twilio?s system hits the PBX (over TLS), but always says ?No matching endpoint found? in the asterisk log.
pjsip.conf
[transport-tls]
type = transport
protocol = tls
bind = 0.0.0.0:5061
cert_file=cert_file
priv_key_file=key_file
method=tlsv1
external_media_address=X.Y.Z.D
external_signaling_address=X.Y.Z.D
verify_client=no
verify_server=no
allow_reload=yes
[twilio](!)
type=endpoint
transport=transport-tls
context=from-twilio
disallow=all
allow=ulaw
dtmf_mode=inband
media_encryption=sdes
rtp_symmetric=yes
rewrite_contact=yes
force_rport=yes
canreinvite=no
tlsdontverifyserver=yes
[auth-out](...
2015 Mar 03
1
Cannot configure PJSIP TLS
...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 to use tis and srtp, server.crt and server.key uploaded to phone
ubuntu*CLI> pjsip show transports
Transport: tls tls 0 0 192.168.1.4:5061
so transport exist, have set endpoint transport to tls,
but for some r...
2015 Mar 04
0
TLS connect() error when calling udp to tls
...drecv
both phones SPA502, force_rport disabled for tls phone,
here is my transports:
[tls]
type=transport
ca_list_file=/pbx/keys/asterisk.pem
cert_file=/pbx/keys/asterisk.crt
priv_key_file=/pbx/keys/asterisk.key
method=sslv23
protocol=tls
bind=192.168.1.4:5061
external_media_address=8.8.8.8:5061
external_signaling_address=8.8.8.8:5061
[udp]
type=transport
protocol=udp
bind=192.168.1.4
local_net=192.168.1.0/24
external_media_address=8.8.8.8
external_signaling_address=8.8.8.8
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachmen...
2015 Mar 06
0
PJSIP configuration for AWS/EC2 based Asterisk 13.1.0
...y is to add
rtp_symmetric=yes
Here's what my final configuration looks like:
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0
;; for within EC2
local_net=172.31.32.0/20
;; For softphones within EC2
local_net=192.168.1.0/24
external_media_address=<publicIPOfEC2Instance>
external_signaling_address=<publicIPOfEC2Instance>
;Templates for the necessary config sections
[endpoint_internal](!)
type=endpoint
context=from-internal
disallow=all
allow=!all,ulaw
direct_media=no
rtp_symmetric=yes
On Thu, Mar 5, 2015 at 5:52 PM, Sonny Rajagopalan <
sonny.rajagopalan at gmail.com>...
2020 Aug 07
1
One way audio on outgoing calls
...do not
see anything odd with a packet capture and using PJSIP history to
check. The provider says that on outgoing calls the get random
characters instead of the media port for RTP.
We are using Asterisk 16.12.0 with PJSIP. The server is behind NAT
so we have external_media_address and external_signaling_address set to
the public IP and all relevant ports are forwarded to the Asterisk
server. The other SIP trunks work fine, only this new provider has a
problem and only for outgoing calls.
An rtp set debug on shows only outgoing packets to the media
address but no incoming packets. Why would 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
2014 Oct 23
1
PJSIP and NAT behind a dynamic IP address
What should the PJSIP configuration be if your external IP address is
dynamic, as is common with most home networks, and probably a lot of
small business networks as well? The external_media_address and
external_signaling_address transport settings are static. It would be
possible to write a script that would detect the external IP address
and rewrite the pjsip configuration file, but since you can't change
transports without a full restart of the server that doesn't seem very
friendly. Is the only alternative to...