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@test asterisk]# asterisk -rvvv Unable to connect to remote asterisk [root@test asterisk]# asterisk -c Asterisk 1.0.9, Copyright (C) 1999-2004 Digium. Written by Mark Spencer <markster@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@test asterisk]# asterisk -c Asterisk 1.0.9, Copyright (C) 1999-2004 Digium. Written by Mark Spencer <markster@digium.com> ========================================================================= [ Booting......................................................................................Illegal instruction [root@test asterisk]# Then i try to start it [root@test asterisk]# asterisk -rvvvv Unable to connect to remote asterisk [root@test asterisk]# So can you tell me why i am having this problem and how can i solve it Regard Talat
Talat: asterisk -r means to connect to an asterisk that is already running. Try asterisk -vvvvgc This will start asterisk and give you a console. If you just want to run asterisk in the background, just run asterisk Then you can connect to that background asterisk with asterisk -rc HTH Roger Talat Ishtiaq 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@test asterisk]# asterisk -rvvv >Unable to connect to remote asterisk >[root@test asterisk]# asterisk -c >Asterisk 1.0.9, Copyright (C) 1999-2004 Digium. >Written by Mark Spencer <markster@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@test asterisk]# asterisk -c >Asterisk 1.0.9, Copyright (C) 1999-2004 Digium. >Written by Mark Spencer <markster@digium.com> >========================================================================= >[ Booting......................................................................................Illegal instruction >[root@test asterisk]# > > >Then i try to start it >[root@test asterisk]# asterisk -rvvvv >Unable to connect to remote asterisk >[root@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 > > >-- ######################################################## Roger Hill 07739 707 180 Perseverance is the hard work you do after you get tired of doing the hard work you already did. ########################################################
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@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@test asterisk]# asterisk -rvvv > Unable to connect to remote asterisk > [root@test asterisk]# asterisk -c > Asterisk 1.0.9, Copyright (C) 1999-2004 Digium. > Written by Mark Spencer <markster@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@test asterisk]# asterisk -c > Asterisk 1.0.9, Copyright (C) 1999-2004 Digium. > Written by Mark Spencer <markster@digium.com> > ========================================================================> [ > Booting......................................................................................Illegal > instruction > [root@test asterisk]# > > > Then i try to start it > [root@test asterisk]# asterisk -rvvvv > Unable to connect to remote asterisk > [root@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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20051212/70ec3390/attachment.htm
Hi Roger #asterisk -vvvgc gave long list to verbosity and at the end it say Illegal instruction (core dumped) when i run [root@test postfix]# asterisk -rc Unable to connect to remote asterisk [root@test postfix]# According to my last mail i told that in modules.conf i unload few modules b/c they were giving error when i run #astersik -c Plz tell me how to solve it Regard Talat On Mon, 2005-12-12 at 09:23 +0000, Roger Hill wrote:> Talat: > > asterisk -r means to connect to an asterisk that is already running. > > Try asterisk -vvvvgc > This will start asterisk and give you a console. > > If you just want to run asterisk in the background, just run > asterisk > > Then you can connect to that background asterisk with > asterisk -rc > > HTH > Roger > Talat Ishtiaq 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@test asterisk]# asterisk -rvvv > >Unable to connect to remote asterisk > >[root@test asterisk]# asterisk -c > >Asterisk 1.0.9, Copyright (C) 1999-2004 Digium. > >Written by Mark Spencer <markster@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@test asterisk]# asterisk -c > >Asterisk 1.0.9, Copyright (C) 1999-2004 Digium. > >Written by Mark Spencer <markster@digium.com> > >========================================================================= > >[ Booting......................................................................................Illegal instruction > >[root@test asterisk]# > > > > > >Then i try to start it > >[root@test asterisk]# asterisk -rvvvv > >Unable to connect to remote asterisk > >[root@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 > > > > > > >
/var/log/asterisk/full text file may give you a more specific error. -- -- Steven May you have the peace and freedom that come from abandoning all hope of having a better past. --- - --- - - - - - - - -- - - - --- - ------ - - --- - - -- - - - -- - - - "Talat Ishtiaq" <talat@thespinnakers.com> wrote in message news:1134377810.3345.5.camel@talat.thespinnakers.com...> 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@test asterisk]# asterisk -rvvv > Unable to connect to remote asterisk > [root@test asterisk]# asterisk -c > Asterisk 1.0.9, Copyright (C) 1999-2004 Digium. > Written by Mark Spencer <markster@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@test asterisk]# asterisk -c > Asterisk 1.0.9, Copyright (C) 1999-2004 Digium. > Written by Mark Spencer <markster@digium.com> > ========================================================================> [ > Booting......................................................................................Illegal > instruction > [root@test asterisk]# > > > Then i try to start it > [root@test asterisk]# asterisk -rvvvv > Unable to connect to remote asterisk > [root@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 >
Hi Guys After your guies replies now i have changed the machine .But this time i get little different problem i made following chnages in sip.conf [901] context=fromsip type=friend username=901 secret=901 callerid="Test2" <901> host=dynamic nat=yes canreinvite=no disallow=all allow=ulaw dtmfmode=rfc2833 callgroup=3 pickupgroup=3 qualify=1000 ;[902] ;context=fromsip ;type=friend ;username=902 ;secret=902 ;callerid="Test3" <902> ;host=dynamic ;nat=yes ;canreinvite=no ;disallow=all ;allow=ulaw ;dtmfmode=info ;callgroup=3 ;pickupgroup=3 ;qualify=1000 in extension.conf [fromsip] exten => s,1,Answer( ) exten => _9XX,1,Dial(SIP/${EXTEN},100,tr) exten => _5XX,1,Dial(SIP/${EXTEN},100,tr) exten => h,1,Hangup exten => t,1,Hangup exten => i,1,Hangup Now Asterisk 1.0.9, Copyright (C) 1999-2004 Digium. Written by Mark Spencer <markster@digium.com> ========================================================================[ Booting................Dec 14 15:23:05 WARNING[3478]: chan_oss.c:257 sound_thread: Read error on sound device: Resource temporarily unavailable .............................................................................Dec 14 15:23:07 WARNING[3478]: chan_skinny.c:2587 reload_config: Unable to get our IP address, Skinny disabled ............ ] Asterisk Ready. *CLI> Now from xpro lite software after configuring it for my machine when i try to connect to my machine i am unable to get connection it says unable to connect contact your network administratot.Althoug i am the network admin Plz tell me what to do Regard Talat On Mon, 2005-12-12 at 06:40 -0500, Steven wrote:> /var/log/asterisk/full text file may give you a more specific error. > > --