Page 1 of 1

can call out from astguiclient???

PostPosted: Wed Feb 14, 2007 2:16 am
by gersonsia
is it can call out from astguiclient??
why i cant call out??
when i press Dial, it have no any response...

PostPosted: Wed Feb 14, 2007 7:17 am
by mflorell
This is a support topic, not development.

What is the output of "screen -r" on your Linux commandline?

Hi, the same problem

PostPosted: Wed Feb 14, 2007 12:27 pm
by jonsolbg
Hi, I'm taking the same problem, but I think mine is worst because I don't see anything when I type "screen -r"

>screen -r
There is no screen to be resumed.

Log in as a normal user, I followed the install scratch several times but still don't make this works out.
Always the same with "screen -r"

It seems that works..

PostPosted: Wed Feb 14, 2007 8:04 pm
by jonsolbg
: )
Now I want to tell you how was it.
In the installation everything was ok, but I needed to add in every single line of the crontab the user root, so this:
* * * * * /usr/share/astguiclient/ADMIN_keepalive_ALL.pl
changes for this:
* * * * * root /usr/share/astguiclient/ADMIN_keepalive_ALL.pl

Also had to add "export SCREENDIR=/root/tmp" every single time that you use the screen command in /usr/share/astguiclient/ADMIN_keepalive_ALL.pl file
So, this line (351):
/usr/bin/screen -d -m -S ASTsend $PATHhome/AST_manager_send.pl
Change to this:
export SCREENDIR=/root/tmp && /usr/bin/screen -d -m -S ASTsend $PATHhome/AST_manager_send.pl

It was all, at least for now.
I post in several topics, so I will copy and paste this same explanation.
Now if someone could tell me off (politely) about what was doing wrong, I'll really appreciate it.
Thanks all for your responses.

PostPosted: Wed Feb 14, 2007 8:22 pm
by gersonsia
mflorell wrote:This is a support topic, not development.

What is the output of "screen -r" on your Linux commandline?


sorry tat i post this in wrong place...
the output of 'screen -r' is very long....but im sure the asterisk is ready...

i can call out to client by using sjphone, but i only wan to noe tat can call out from astguiclient?

PostPosted: Wed Feb 14, 2007 10:33 pm
by mflorell
Are all of the perl modules installed properly?

Is manager.conf configured properly?

PostPosted: Thu Feb 15, 2007 10:48 pm
by gersonsia
mflorell wrote:Are all of the perl modules installed properly?

Is manager.conf configured properly?


the perl modules is installed in my FC6...

n this is my manager.conf:
;
[general]
enabled = yes
port = 5038
bindaddr = 0.0.0.0
displayconnects = yes

;[mark]
;secret = mysecret
;deny=0.0.0.0/0.0.0.0
;permit=209.16.236.73/255.255.255.0
;
; writetimeout = 100
;
[cron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = system,call,log,verbose,command,agent,user
[updatecron]
secret = 1234
read = command
write = command
[listencron]
secret = 1234
read = system,call,log,verbose,command,agent,user
write = command
[sendcron]
secret = 1234
read = command
write = system,call,log,verbose,command,agent,user

anything need to be change?

PostPosted: Fri Feb 16, 2007 12:18 am
by mflorell
What version of asterisk-perl have you installed?

PostPosted: Sun Feb 25, 2007 9:27 pm
by gersonsia
im using perl-5.8.8-10...

*sorry for late reply bcos i was in chinese new year holiday on last week....