[Asterisk-Users] [helpp] Problem in astersik
Talat Ishtiaq
talat at thespinnakers.com
Mon Dec 12 03:48:11 MST 2005
Hi Mark
The
#/usr/sbin/astersik -vc
-------------------(many verbosity)
Illegal instruction
[root at test postfix]# /usr/sbin/asterisk
[root at test postfix]# /usr/sbin/asterisk -rvvvv
Unable to connect to remote asterisk
still give me illegal instruction in the end.
As long as i remember i did not get any error during make and make
install command.
What packages do you want me to update on my fedora core 3 machine
Plz tell me
Regard
Talat
On Mon, 2005-12-12 at 21:16 +1100, Mark Edwards wrote:
> 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 <talat at thespinnakers.com> 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
> [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
>
>
>
> _______________________________________________
> --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
More information about the asterisk-users
mailing list