Discussion:
408Request timeout
paddy3631
2007-03-30 23:06:20 UTC
Permalink
Hi Michel,


I'm trying to make PC-to-PC call by calling '***@ipaddress'. But
I keep getting the error message '408 Request timeout'. Why is this
happening? I looked up on the Twinkle web site w.r.t this...you've
talked about ADSL modem settings, NAT settings, but I'm not sure how
or where to go about correcting this problem. Any suggestions?

Thanks,
paddy
joerg.greoj
2007-03-31 03:52:06 UTC
Permalink
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
Michel de Boer
2007-03-31 06:47:37 UTC
Permalink
Hi Paddy,

408 means that Twinkle does not receive a response in time.
Either the request never makes it to its destination,
or the request is received, but the destination does not like
it and discards it, or the response from the destination never
makes it back to Twinkle. You'd have to monitor the network
to find out which of this scenario's it is (wireshark).

Cheers,
Michel
--
Michel de Boer
www.twinklephone.com
Continue reading on narkive:
Loading...