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. 192.168.0.183(winXP where my softphone is installed) 192.168.0.184(VMware where asterisk is installed).
this is my extensions.conf code
[globals]
[general]
autofallthrough=yes
[default]
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()
[incoming_calls]
[internal]
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()
[phones]
include => internal
this is my SIP.conf code
[general]
[1000]
type=friend
context=phones
host=192.168.0.183
and for the configuration of my softphone i have:
Display name: mon
User name: 1000
Authorization user name: 1000
Domain: 192.168.0.184
Proxy:192.168.0.184
upon registering a sofphone according to the book it should have:
" – Registered SIP ‘1000’ at 192.168.0.183(my 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 192.168.0.183 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 192.168.0.183(my softphone’s IP) port 5061 expires 3600"?
and are my configurations correct to make ang outside call?or theres something wrong or missing?
TIA