[Asterisk-Users] [helpp] Problem in astersik

Talat Ishtiaq talat at thespinnakers.com
Mon Dec 12 01:56:50 MST 2005


Hi I am very new to asterisk 

I am facing some problems
I have installed asterisk on my fedora core 3 by tar.gz
by
#cd /usr/local
#tar -xzvf asterisk----.tar.gz
#make
#make install
#make samples
i made following changes in the sip.conf and extention.conf 
In sip.conf 
[500] 
context=fromsip 
type=friend 
username=500 
secret=shanee 
callerid="shanee" <500> 
host=dynamic 
nat=yes 
canreinvite=no 
disallow=all 
allow=ulaw 
dtmfmode=info 
callgroup=3 
pickupgroup=3 
qualify=1000 


[501] 
context=fromsip 
type=friend 
username=501 
secret=shanee 
callerid="shanee" <501> 
host=dynamic 
nat=yes 
canreinvite=no 
disallow=all 
allow=ulaw 
dtmfmode=info 
callgroup=3 
pickupgroup=3 
qualify=1000 

In externsion.conf 
[fromsip] 
exten => s,1,Answer( ) 
exten => _5XX,1,Dial(SIP/${EXTEN},100,tr) 
exten => h,1,Hangup 
exten => t,1,Hangup 
exten => i,1,Hangup

Then What i did is 
[root at test asterisk]# asterisk -rvvv 
Unable to connect to remote asterisk 
[root at test asterisk]# asterisk -c 
Asterisk 1.0.9, Copyright (C) 1999-2004 Digium. 
Written by Mark Spencer <markster at digium.com> 
========================================================================= 
[ Booting...................................................Dec 10
07:09:47 WARNING[865]: chan_oss.c:257 sound_thread: Read error on sound
device: Resource temporarily unavailable 
...........Dec 10 07:09:47 WARNING[865]: chan_mgcp.c:4050 reload_config:
Unable to get our IP address, MGCP disabled 
...Dec 10 07:09:47 WARNING[865]: chan_skinny.c:2587 reload_config:
Unable to get our IP address, Skinny disabled 
........................Illegal instruction



I gave these error to forum and i got reply that you should unload the
mgcp and skinny modules in the modules.conf 

so i unload the following modules by
noload => chan_mgcp.so 
noload => chan_skinny.so 
noload => chan_oss.so


[root at test asterisk]# asterisk -c 
Asterisk 1.0.9, Copyright (C) 1999-2004 Digium. 
Written by Mark Spencer <markster at digium.com> 
========================================================================= 
[ Booting......................................................................................Illegal instruction 
[root at test asterisk]# 


Then i try to start it 
[root at test asterisk]# asterisk -rvvvv 
Unable to connect to remote asterisk 
[root at test asterisk]#



So can you tell me why i am having this problem and how can i solve it



Regard
Talat






More information about the asterisk-users mailing list