Setup new SIP client in asterisk

Hi Experts.
I want to create new SIP extention in Asterisk. I wrote this code in /etc/asterisk/sip.conf :
[ivan]
type=friend
username=ivan
secret=123456789
host=dynamic
qualify=yes
nat=no
canreinvite=no
context=tutorial

then i wrote this code in /etc/asterisk/extentions.conf :
[tutorial]
exten => 2000,1,Dial(SIP/ivan)

then i wanna to register this user with softphones etc:3cx and eyebeam
but i can’t register with them (Registeration error 408 & Not connected)
Do i need to restart asterisk after change these files? How can i do it?
what is my problem? And how can i solved it?
With Regards.Mojtaba

At a minimum, you need to do sip reload and dialplan reload.

how can i do it?

In a terminal window execute:

Edit:
You should read the book: cdn.oreilly.com/books/9780596510480.pdf
It will help you allot!

i done this jobs and reload it but dont work yet. i have error 408 in registeration.
Waht need i do to solve my problem? how can i add new sip extention and register it to softphone?
thanks.

You need to register the phone with Asterisk, not Asterisk with the phone.

408 is normally internally generated within the terminal when it gets no response at all. That generally indicates a networking or firealling problem.

You haven’t provided any trace information from Asterisk, but I don’t know if that is because Asterisk never received the request, and therefore didn’t produce any, or because you just haven’t tried to provide it.