Hello, I am using the last version on subversion, I already configured the file sip.conf: [6614] username=6614 type=friend secret=********* qualify=no port=5060 nat=yes host=dynamic dtmfmode=rfc2833 context=meuvoip callerid=6614 <6614@meuvoip> [6617] username=6617 type=friend secret=********* qualify=no port=5060 nat=yes host=dynamic dtmfmode=rfc2833 context=meuvoip callerid=6617 <6617@meuvoip> and the file extensions.conf: [meuvoip] exten => 6614,1,Dial(SIP,6614,20) exten => 6614,2,Hangup exten => 6617,Dial,(SIP,6617,20) exten => 6617,2,Hangup so when I go to start asterisk... this message is showed: [root@mlima ~]# asterisk -rd Asterisk SVN-trunk-r56126, Copyright (C) 1999 - 2006 Digium, Inc. and others. Created by Mark Spencer <markster@digium.com> Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for details. This is free software, with components licensed under the GNU General Public License version 2 and other licenses; you are welcome to redistribute it under certain conditions. Type 'core show license' for details. ========================================================================NOTE: This is a development version of Asterisk, and should not be used in production installations. Parsing /etc/asterisk/asterisk.conf Parsing /etc/asterisk/extconfig.conf Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?) I am using Mandriva Linux 2007 Plus. Please can someone help me ? Mhayk Whandson da Silva Lima www.mhayk.com.br skype: mhaykwhandson eu@mhayk.com.br
> > so when I go to start asterisk... this message is showed: > [root@mlima ~]# asterisk -rdasterisk -h Asterisk 1.2.14, Copyright (C) 1999 - 2005, Digium, Inc. and others. Usage: asterisk [OPTIONS] Valid Options: -V Display version number and exit -C <configfile> Use an alternate configuration file -G <group> Run as a group other than the caller -U <user> Run as a user other than the caller -c Provide console CLI>> -d >> Enable extra debugging-f Do not fork -g Dump core in case of a crash -h This help screen -i Initialize crypto keys at startup -n Disable console colorization -p Run as pseudo-realtime thread -q Quiet mode (suppress output)>> -r >> Connect to Asterisk on this machine-R Connect to Asterisk, and attempt to reconnect if disconnected -t Record soundfiles in /var/tmp and move them where they belong after they are done. -T Display the time in [Mmm dd hh:mm:ss] format for each line of output to the CLI. -v Increase verbosity (multiple v's = more verbose) -x <cmd> Execute command <cmd> (only valid with -r) ... Try "asterisk -pT" first and THEN "asterisk -rd" --Michel
You have to actually start asterisk with a command like "safe-asterisk" before you can connect to the console with the command "asterisk -r" Mhayk Whandson wrote:> Hello, I am using the last version on subversion, I already configured the > file sip.conf: > [6614] > username=6614 > type=friend > secret=********* > qualify=no > port=5060 > nat=yes > host=dynamic > dtmfmode=rfc2833 > context=meuvoip > callerid=6614 <6614@meuvoip> > > [6617] > username=6617 > type=friend > secret=********* > qualify=no > port=5060 > nat=yes > host=dynamic > dtmfmode=rfc2833 > context=meuvoip > callerid=6617 <6617@meuvoip> > > and the file extensions.conf: > [meuvoip] > exten => 6614,1,Dial(SIP,6614,20) > exten => 6614,2,Hangup > > exten => 6617,Dial,(SIP,6617,20) > exten => 6617,2,Hangup > > so when I go to start asterisk... this message is showed: > [root@mlima ~]# asterisk -rd > Asterisk SVN-trunk-r56126, Copyright (C) 1999 - 2006 Digium, Inc. and others. > Created by Mark Spencer <markster@digium.com> > Asterisk comes with ABSOLUTELY NO WARRANTY; type 'core show warranty' for > details. > This is free software, with components licensed under the GNU General Public > License version 2 and other licenses; you are welcome to redistribute it > under > certain conditions. Type 'core show license' for details. > ========================================================================> NOTE: This is a development version of Asterisk, and should not be used in > production installations. > Parsing /etc/asterisk/asterisk.conf > Parsing /etc/asterisk/extconfig.conf > Unable to connect to remote asterisk (does /var/run/asterisk.ctl exist?) > > I am using Mandriva Linux 2007 Plus. Please can someone help me ? > > Mhayk Whandson da Silva Lima > www.mhayk.com.br > skype: mhaykwhandson > eu@mhayk.com.br > > _______________________________________________ > --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 >