[Asterisk-Users] [helpp] Problem in astersik

Roger Hill rhill at hillconsult.com
Mon Dec 12 02:23:58 MST 2005


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 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
>
>  
>

-- 
########################################################
Roger Hill				07739 707 180
Perseverance is the hard work you do after you get
tired of doing the hard work you already did.
########################################################




More information about the asterisk-users mailing list