Cant register a phone

Hi, im a new to asterisk and im using the Oreilly book about asterisk. im following the basic steps in configuring asterisk et al. my problem is i don’t know if my phone is registered of not and i can’t make an outgoing call.

im using winXP for my softphone(xlite v3.0) and VMware for centOS where my asterisk is installed, both are in the same box.since i dont have any zaptel hardware i jumped into configuring SIP. where my softphone is installed) where asterisk is installed).

this is my extensions.conf code



exten => s,1,Verbose(1|Unrouted call handler)
exten => s,n,Answer()
exten => s,n,Wait(1)
exten => s,n,Playback(tt-weasels)
exten => s,n,Hangup()


exten => 500,1,Verbose(1|Echo test application)
exten => 500,n,Echo()
exten => 500,n,Hangup()

exten => 1000,1,Verbose(1|Extension 1000)
exten => 1000,n,Dial(SIP/1000,30)
exten => 1000,n,Hangup()

include => internal

this is my SIP.conf code



and for the configuration of my softphone i have:

Display name: mon
User name: 1000
Authorization user name: 1000

upon registering a sofphone according to the book it should have:
" – Registered SIP ‘1000’ at softphone’s IP) port 5061 expires 3600"

but i did not get those output and when i command “sip show peers” it shows:
Name/username Host Dyn Nat ACL Port Status
1000 5060 Unmonitored
1 sip peers [Monitored: 0 online, 0 offline Unmonitored: 1 online, 0 offline]

and according to the book it should have a status of “OK(63ms)” i dont know why it shows “unmonitored”.

and when im trying to dial the extension 1000 i only get the voice “the person you are calling is unavailable” after 1 minute.

Is my softphone already registered eventhough it didn’t show in the asterisk CLI " – Registered SIP ‘1000’ at softphone’s IP) port 5061 expires 3600"?

and are my configurations correct to make ang outside call?or theres something wrong or missing?


you need to add qualify=yes or qualify=Value , where Value is in ms in sip.conf for each sip client.