SIP Soft phone showing 408 Error

Hi,
I have just installed asterisk 1.8.23.1 on my local linux machine.
and added 2 sip accounts. now can see the peers on sip show peers command.
but now when i am trying to login with one of the user on my softphone in LAN it is show error"Registration error: 408 Request Timeout."
After searching through post i found that i should enable sip debug, but when i tried this command it is saying no such command.

kindly help
my sip.conf added with user account:

[quote][demo-alice]
type=friend
host=dynamic
secret=verysecretpassword ; put a strong, unique password here instead
context=users
deny=0.0.0.0/0
permit=192.168.1.0/255.255.255.0 ; replace with your network settings

[demo-bob]
type=friend
host=dynamic
secret=othersecretpassword ; put a strong, unique password here instead
context=users
deny=0.0.0.0/0
permit=192.168.1.0/255.255.255.0 ; replace with your network settings[/quote]

408 is pseudo error response really meaning that there was no response at all. Combined with the failure to run sip set debug on, I would say that chan_sip.so failed to load.

If you built Asterisk yourself, make sure that it is present in /usr/lib/asterisk/modules. If not, the normal reason is missing encryption libraries.

If it is present, try “module reload chan_sip”. This will probably fail. If it does, try “module load chan_sip” and correct the errors reported.

Too Make sure you are running the correct command [quote]sip set debug on[/quote]

Sometimes it’s useful to capture the ouput of CLI on a text file (e.g. for debugging purposes), you could use this

asterisk -r | tee asterisk-output.txt

then post asterisk-output.txt here for debugging purposes