1. level: both ends directly connected to internet
this means "modem, NO router" and "PC has public IP".
check this with
`/sbin/route` where you remember the "Iface" device from right hand
end of "default" line, then
`/sbin/ifconfig` where you remember "inet Address:311.123.11.2 ..."
of above Iface device, then
`/sbin/host 311.123.11.2` where you use in command the inet IP from
above. This should shield sth like
"DSL-2-11-123-311.your_telco.net", so ok - youŽre directly
connected.
Now set up a direct-IP-to-IP user profile in twinkle using the
wizzard.
Fill just the two fields marked (*):
some arbitrary username (like "Alice", donŽt use 'strange' chars!),
the IP from above for Address.
DonŽt register this profile - there is no registrar! Just run it.
Do the same on a second machine (letŽs call it "Bob").
Here we go: Bob calls Alice at sip:Alice(AT)311.123.11.2
Note carefully that IP addresses must not change after twinkle start
and setup at either side! I.e.: when DSL goes down/up, you have to
restart twinkle and modify the address settings.
2. level: use DynDNS
To avoid the problems with changing IP-Addresses, use some dynamic
DNS from dyndns.org for instance. Plus local tools (also quite some
routers can handle DynDNS registering).
In twinkleŽs user setup use the dynamic URL
("the_PC_of_Alice.dyndns.org") for "Address*" field instead of IP
3. level: router/NAT in between
In the setup of your router/NAT you have to forward to your local
twinkle PC the SIP-port (usually 5060) and 6(!) RTP-ports beginning
with what youŽve configured/find in twinkleŽs
system-settings/network. Refer to router manual.
In twinkleŽs Userprofile/NAT you have to select "use fixed address"
and give (preferably) the dyndns URL from 2.) or the _public_IP_ of
the router as address. The commands from 1.) wonŽt help here.
3.a level: router has Application Layer Gateway
Use dyndns, or
disable ALG in router, or
use PCŽs _local_IP_ as fixed address
- whichever of the 3 might work for your router.
If you need more specific help, please give more detailed info bout
near & far end setup, devices(routers) aso.
Please note: usually you canŽt call direct to a sipfone which is set
up to register with some provider only. SIP-address and IP-address
are different then (see 1. & 2.).
cheers
jOERG