Displaying 20 results from an estimated 60 matches for "external_media_address".
2017 Oct 09
6
PJSIP, NAT and STUN/ICE
...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
...sed 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...
2015 Mar 05
2
PJSIP configuration for AWS/EC2 based Asterisk 13.1.0
...s 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/a...
2016 Mar 03
3
RTP / NAT question ( pjsip )
...rivate 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
;===============EX...
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?...
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...
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....
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 respon...
2016 Jan 26
2
PJSIP Stun/ICE
...isk 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 stu...
2017 Jul 29
2
[asterisk13] Multiple transport objects of same protocol in pjsip.conf
...f 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 th...
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
...[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...
2018 Feb 08
3
pjsip trunking configuration issue
..., and what could be causing this.
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
tl...
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
> >
2015 Mar 03
1
Cannot configure PJSIP TLS
...ork 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 end...
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://...
2015 Mar 06
0
PJSIP configuration for AWS/EC2 based Asterisk 13.1.0
OK. I think I found the issue.
The key 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,...