Displaying 20 results from an estimated 67 matches for "external_media_address".
2023 Aug 18
2
PJSIP Losing knowledge of external_media_address
...he 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 external_media_address
- After 30 minutes to an hour or sometimes months later after startup,
upon receiving INVITE from ITSP via WAN, Asterisk responds OK with
INTERNAL LAN IP instead of external_media_address
- I've observed this occur after 30 minutes from startup with no
configuration changes that were made or...
2023 Aug 18
1
PJSIP Losing knowledge of external_media_address
...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 external_media_address
> - After 30 minutes to an hour or sometimes months later after startup,
> upon receiving INVITE from ITSP via WAN, Asterisk responds OK with
> INTERNAL LAN IP instead of external_media_address
> - I've observed this occur after 30 minutes from startup with no
> configuration cha...
2017 Oct 09
6
PJSIP, NAT and STUN/ICE
...So be alarmed, there
may come some noobish 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_signalin...
2016 Mar 04
2
PJSIP signaling question
...th used would be awesome in along with the codec in
> "pjsip show channels" or something like that.
>
>
> Im not certain, but I think the TLS signalling problem from this email may
> be happening to me again after patching for another pjsip/NAT issue which
> was with the external_media_address not working and the internal IP being
> sent in the SDP from asterisk - I applied this patch to the codebase and
> recompiled I am seeing the TLS ?new transport? issue again , I think.
>
?I've lost track of who's applying what patches to ?which codebase. :)
Which patch did you a...
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
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 prov...
2023 Apr 09
1
TLS and NAT
...rt 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
> 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...
2015 Mar 05
2
PJSIP configuration for AWS/EC2 based Asterisk 13.1.0
...for
Asterisk on EC2 looks like. My current 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...
2016 Sep 15
2
Asterisk 13 externip
...mad <faheem2084 at gmail.com>
wrote:
>
>
> 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&quo...
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/...
2023 Apr 07
1
TLS and NAT
...s 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 '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 )
...he private IP.
tcpdump on asterisk server showing 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=inte...
2016 Sep 15
2
Asterisk 13 externip
...Thanks for the reply.
>
> Yes my 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?
>...
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>*
[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....
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 best regards
Florian Floimair
Innovation - Software-Development -? VoIP & DevOps
COMMEND INTERNATIONAL GMBH
A-5020 Salzburg, Saalachstra?e 51
Tel...
2016 Jan 26
2
PJSIP Stun/ICE
...sterisk 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
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 se...
2016 Sep 16
3
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 ba...
2017 Jul 29
2
[asterisk13] Multiple transport objects of same protocol in pjsip.conf
...jsip.conf is configured as
follows:
; Transport 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 IT...
2016 Mar 02
3
PJSIP signaling question
Interesting, thanks George. I pulled Asterisk 13 from git and the new pjproject from the SVN and will test accordingly .
I have a few more questions about PJSIP in Asterisk 13:
1. Is there any way to list current ongoing calls and see what codecs are being used in the RTP streams? With chan_sip, ?sip show channels? did this.
2. Also with a PJSIP initiated call, is there a way to see how
2014 Dec 16
4
PJSIP configuration question
...t;>
>> [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]
>> ty...
2018 Apr 10
2
Asterisk behind NAT Early Media Video
...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 PJSIP setup. Also the
> external_signaling_address is set to the Public IP. If I make a call from
> an Early Media (video&audio) capable device to an Early Media capable
> device (also video&audio) the Early Media audio works perfectly. But no
> video. If I sniff with...