Hi.

First off, the illegal instruction doesn't look at all pretty.

The best way to start a new installation is to start asterisk thus:

/usr/sbin/asterisk -vc

when you get a clean start with no fatal or significant errors, you can close it out and then start it as a daemon

/usr/sbin/asterisk

Only then can you use "-r" to connect to the remote console.

I would suggest if you are having "illegal instruction' messages, then asterisk isn't starting cleanly, and you have a significant compilation issue on your hands.

I would make sure your FC3 box is up2date and that you are not seeing any significant compilation errors first.

Once you have got things going this far, we can then look at your dialplan...

cheers,

Mark

On 12/12/05, Talat Ishtiaq <[EMAIL PROTECTED]> wrote:
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
[EMAIL PROTECTED] asterisk]# asterisk -rvvv
Unable to connect to remote asterisk
[EMAIL PROTECTED] asterisk]# asterisk -c
Asterisk 1.0.9, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <[EMAIL PROTECTED]>
=========================================================================
[ 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


[EMAIL PROTECTED] asterisk]# asterisk -c
Asterisk 1.0.9, Copyright (C) 1999-2004 Digium.
Written by Mark Spencer <[EMAIL PROTECTED]>
=========================================================================
[ Booting......................................................................................Illegal instruction
[EMAIL PROTECTED] asterisk]#


Then i try to start it
[EMAIL PROTECTED] asterisk]# asterisk -rvvvv
Unable to connect to remote asterisk
[EMAIL PROTECTED] asterisk]#



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



Regard
Talat



_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users



--
regards,

Mark P. Edwards
FWD: 667917
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to