Displaying 20 results from an estimated 56 matches for "local_net".
2023 Aug 18
2
PJSIP Losing knowledge of external_media_address
...ort = yes
protocol = udp
bind = 0.0.0.0:5060
external_media_address = 152.X.Y.Z
external_signaling_address = 152.X.Y.Z
external_signaling_port = 5060
allow_reload = no
tos = cs3
cos = 3
local_net = 127.0.0.1/24
local_net = 192.168.50.0/24
local_net = 192.168.1.0/24
local_net = 10.3.2.0/24
local_net = 10.20.1.0/24
local_net = 10.10.41.0/24
local_net = 10.5.1.0/24
pjsip_wiza...
2017 Jul 29
2
[asterisk13] Multiple transport objects of same protocol in pjsip.conf
...r 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
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 separa...
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.
> [HVout]
>
> type=friend
>
> d...
2015 Mar 05
2
PJSIP configuration for AWS/EC2 based Asterisk 13.1.0
...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 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-i...
2015 Apr 20
3
Issues with call dropping
....168.53.1:5060>
Content-Length: 0
192.168.53.1 - operator IP
192.168.53.9 - asterisk IP
Any idea how to fix this?
have 2 Ethernet interfaces:
192.168.1.4 - local network
192.168.53.9 - VOIP Provider network
Im using PJSIP, here is config:
[udp]
type=transport
protocol=udp
bind=192.168.1.4
local_net=10.0.0.0/24
local_net=10.0.1.0/24
local_net=192.168.1.0/24
external_media_address=195.239.8.122
external_signaling_address=195.239.8.122
[udp_B]
type=transport
protocol=udp
bind=192.168.53.9
[10000]
type=endpoint
aors=10000
context=dialmap
disallow=all
allow=alaw,ulaw
transport=udp_B
[10000]
ty...
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 address and mask of
the test machine is 192.168.0.1/255.255.255.0 then the correct entry would
be 192....
2023 Apr 08
1
TLS and NAT
...68.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, I'll be needing to
> do it with NAT. There are examples of...
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.vit...
2014 Dec 16
0
PJSIP configuration question
I corrected my local_net setting (based on advice from network admin).
I have tried several different values for the from_user and still have the same problem.
Asterisk receives the OK from Vitelity.
Asterisk sends the ACK (without a Contact header).
Vitelity doesn?t seem to process it, so they send an OK again.
The OK...
2023 Apr 09
1
TLS and NAT
...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, I'll be
>> needing t...
2017 Oct 09
6
PJSIP, NAT and STUN/ICE
...ience with chan_sip since I
started recently using Asterisk for several SoHo and lab's projects. 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 dy...
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
disall...
2015 Jun 30
0
Issues with call dropping
...asterisk IP
>
>
> Any idea how to fix this?
>
>
> have 2 Ethernet interfaces:
> 192.168.1.4 - local network
> 192.168.53.9 - VOIP Provider network
>
> Im using PJSIP, here is config:
>
> [udp]
> type=transport
> protocol=udp
> bind=192.168.1.4
> local_net=10.0.0.0/24
> local_net=10.0.1.0/24
> local_net=192.168.1.0/24
>
> external_media_address=195.239.8.122
> external_signaling_address=195.239.8.122
>
> [udp_B]
> type=transport
> protocol=udp
> bind=192.168.53.9
>
> [10000]
> type=endpoint
> aors=10000
&g...
2023 Apr 07
1
TLS and NAT
...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 'transport=tls' and 'protocol=tls', and
including the lines for local_net, external_media_address and
external_signaling_address?
2023 Jun 21
2
Asterisk not replacing private FROM ip with public IP in INVITE
...888 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 reason Asterisk is not replacing the private IP with my public IP address. My pjsip.transport.conf contains a stanza for this transport with:
local_net=172.31.0.0/16
Is that all that's needed for Asterisk to replace the from IP with the external IP? I'm not clear on why Asterisk is not substituting the private FROM ip with a public one...
2014 Dec 16
0
PJSIP configuration question
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...
[HVout]
type=friend
dtmfmode=auto
host=64.2.142.93
disallow=all
allow=ulaw
canreinvite=no
trustrpid=yes
sendrpid=yes
nat=yes
context=TestApp
On Dec 15, 2014, at 9:32 PM, George Joseph <ge...
2014 Dec 16
0
PJSIP configuration question
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.
One minor detail, we are using ip authentication. When Vitelity changed my account from user based authentication to IP based authentication, they stopped including a user fo...
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 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:...
2015 Mar 25
0
PJSIP configuration for Asterisk 13.1.0/SIP trunk outbound calling
...onfigured my trunks in the following manner (based on
https://wiki.asterisk.org/wiki/display/AST/res_pjsip+Configuration+Examples,
and other pages on the same wiki, but there are small changes between them
which confused the heck out of me):
[transport-udp]
type=transport
protocol=udp
bind=0.0.0.0
local_net=172.31.32.0/20
local_net=192.168.1.0/24
external_media_address=aa.bb.cc.dd ; replaced real public IP address
external_signaling_address=aa.bb.cc.dd ; replaced real public IP address
[sonnyGW1]
type=registration
transport=transport-udp
outbound_auth=sonnyGW1_auth
server_uri=sip:registrar at gw1.sip...
2023 Jun 21
1
Asterisk not replacing private FROM ip with public IP in INVITE
...gt;;tag=773a3e6a-a677-4fb1-95fc-54b379b650a4
>
> The IP address above is an internal/non-routable IP, so Twilio is rejecting it. For some reason Asterisk is not replacing the private IP with my public IP address. My pjsip.transport.conf contains a stanza for this transport with:
>
> local_net=172.31.0.0/16
>
> Is that all that's needed for Asterisk to replace the from IP with the external IP? I'm not clear on why Asterisk is not substituting the private FROM ip with a public one...
>
>
>
--
http://help.nyigc.net/