Hey,
I had asterisk up and running on desktop with Ubuntu-9.04 server version (with static Ip address created while installing Linux)
Now I installed X-LITE phone on my LAPTOP and entered info for sip settings. the registration went well , but when I try to call any number it says Service unavailable. On my x-lite softphone it says call failed: not found.
my /etc/asterisk/sip.conf settings are
[general]
[brat]
type = friend
username = brat
secret = rach_pwd
host = xx.xx.x.xx(linux static Ip addr)
context = sip-brat
[user2]
type = friend
username = user1
secret = user1_pwd
host = xx.xx.x.xx(linux static IP addr)
context = sip-brat ( Provided I uncommented useragent=Asterisk PBX )
sudo nano /etc/asterisk/extensions.conf(
The place where I’m very doubtful of right or wrong )
[general]
[sip-brat]
exten => brat,1,Dial(SIP/brat,20)
exten => user1,1,Dial(SIP/user1,20)
When I reload my dialplan on the asterisk CLI
dialplan reload
Dialplan reloaded.
[Oct 15 14:10:03] WARNING[17081]: pbx_config.c:1541 pbx_load_config: ==!!== Unknown directive: static at line 25 – IGNORING!!!
[Oct 15 14:10:03] WARNING[17081]: pbx_config.c:1541 pbx_load_config: ==!!== Unknown directive: writeprotect at line 30 – IGNORING!!!
[Oct 15 14:10:03] WARNING[17081]: pbx_config.c:1541 pbx_load_config: ==!!== Unknown directive: clearglobalvars at line 92 – IGNORING!!!
[Oct 15 14:10:25] NOTICE[3212]: chan_sip.c:16869 handle_request_invite: Call from ‘rachel’ to extension ‘210’ rejected because extension not found.
P.S: 210( my colleagues number ) is the number I was trying to call
Do I need to change my bindaddr to my STATIC IP address in sip.conf too?
Help me please!