[asterisk-users] asterisk.conf and it's impact on CLI

Jaswinder Singh vicky.r at gmail.com
Sat Oct 20 13:27:05 CDT 2007


astrundir => /var/run
 Change this to astrundir => /var/run/asterisk  on 1.4 server and chmod
/var/run/asterisk to 777 . make sure u create that directory as well .

On 20/10/2007, Al lists <asteriskal at gmail.com> wrote:
>
> this message is basically tells you asterisk is not running.
> can you check and see if asterisk is running and present in memory?
> something like
> ps -ef | grep asterisk
>
>
> On 10/20/07, Dominic Son <dominicson at gmail.com> wrote:
>
> > I was previous using Asterisk 1.2.9.1  and decided to get some real
> > servers outside of my house. It was time for Asterisk 1.4.4.
> > I figured since all the conf files were in /etc/asterisk form the old
> > box, i'd just copy tha directory over to the new server. My SIP DID AGI
> > stuff worked, except running 'asterisk -r' doesn't. It tells me
> >
> > ' Unable to connect to remote asterisk (does
> > /var/run/asterisk/asterisk.ctl exist?)'
> >
> > Basically, the difference between 'asterisk.conf' file is as follows:
> >
> > v 1.2.9 (installed through trixbox)
> > astrundir => /var/run/asterisk
> >
> > v 1.4.4
> > astrundir => /var/run
> >
> > So in my new servers, if i keep it as '/var/run/asterisk, my DID phone
> > will work with stanaphone (in which i'm crapping in my pants if they'll
> > exist cause they never return emails). Though CLI won't work.
> >
> > if i do '/var/run', my DID won't work, but CLI will...
> >
> > I've tried just coping over the extensions_additional.conf and
> > sip_additional.conf files from my old setup to my new one, and that didn't
> > work. Maybe I should just install my previous version. Are there QoS
> > differences though? I'd rather not regress if that were the case.
> >
> >
> > --
> > Anything else, let me know.
> >
> > - Dominic
> >
> >
> > "It is not the force of a stroke that makes fine art"
> > _______________________________________________
> > --Bandwidth and Colocation Provided by http://www.api-digital.com--
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071020/6a36da85/attachment.htm 


More information about the asterisk-users mailing list