Make a call between the 2 x-lite over internet

hi guys

i have installed asterisk on my server (Centos) with fixed, public ip address (87.x.x.x) and i have two (x-lite) for simulation in 2 different machines.

i want make a call between the 2 x-lite over internet.

Howdy,

asteriskdocs.org/en/3rd_Edition/ … g_id291081

and

asteriskdocs.org/en/3rd_Edition/ … s-SECT-3.3

Cheers

thx malcolmd, i have do this configuration for the local area, it’s working very well but now i need change this config for the internet

[general]

[1000]
type=friend
context=default
username=1000
secret=1234
host=dynamic
allow=all
nat=no
svrlookup=yes

[2000]
type=friend
context=default
username=2000
secret=1234
host=dynamic
allow=all
nat=no
svrlookup=yes

[default]

exten=>1000,1,dial(SIP/1000,7,A(/var/lib/asterisk/urphonee))
exten=>1000,2,hangup()

exten=>2000,1,dial(SIP/2000,10,A(/var/lib/asterisk/urphonee)L(1000))
exten=>2000,2,hangup()

The same.

Of course, if either the phones or Asterisk aren’t on a globally routable network, you will need to read the bits on NAT. I don’t know if X-Lite supports use with NAT.

For the avoidance of doubt. You haven’t provided enough information to indicate that a different configuration is needed, or to allow that configuration to be determined.

Thanks David55

you are totally right X-Lite not supporting NAT

i have test my config with 3CX Phone and Jitsi, it works well.

thanks again