Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] MeetMe option b


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
geisj at pagestation.com
Guest





PostPosted: Mon Mar 17, 2008 9:57 am    Post subject: [asterisk-users] MeetMe option b Reply with quote

I am running asterisk 1.4.18 trying to use MeetMe and option b.

I am getting permissions denied failed to execute conf-background.agi
on the CLI

lrwxrwxrwx 1 root root 37 Mar 17 10:11 conf-background.agi ->
/home/silentm/bin/conf-background.agi
my conf background is a symbolic link - then my permissions are :

[root at devcentos5x64 src]# ls -l /home/silentm/bin/conf-background.agi
-rwSr-Sr-- 1 root root 81 Mar 17 10:44 /home/silentm/bin/conf-background.agi

I have tried with just 744 and also with 744 and chmod +s.

Any ideas why I would get the permission denied?

Jerry
Back to top
geisj at pagestation.com
Guest





PostPosted: Mon Mar 17, 2008 10:33 am    Post subject: [asterisk-users] MeetMe option b Reply with quote

Jerry Geis wrote:
Quote:
I am running asterisk 1.4.18 trying to use MeetMe and option b.

I am getting permissions denied failed to execute conf-background.agi
on the CLI

lrwxrwxrwx 1 root root 37 Mar 17 10:11 conf-background.agi ->
/home/silentm/bin/conf-background.agi
my conf background is a symbolic link - then my permissions are :

[root at devcentos5x64 src]# ls -l /home/silentm/bin/conf-background.agi
-rwSr-Sr-- 1 root root 81 Mar 17 10:44
/home/silentm/bin/conf-background.agi

I have tried with just 744 and also with 744 and chmod +s.

Any ideas why I would get the permission denied?

Jerry

I seem to have gotten past the permissions error by putting
#!/bin/sh
#

at the top of my script file...

Now when I run permissions issue is gone, however, When I try to access by
variables (as I have dont many other times) I am getting an error.

In my call file I have
SetVar: MEETME_PLAYFILE=/home/silentm/record/pc.610.wav

And when I asking for the value of MEETME_PLAYFILE it is giving an error
about the PIPE being broken.

Is there something special about this option "b" and what an AGI can and
cannot do???
The AGI actually calls a C program (this is the same C file I have been
using for a long time)
and I just ask the AGI for the values of the variables.

Jerry
Back to top
tony at softins.clara....
Guest





PostPosted: Mon Mar 17, 2008 10:33 am    Post subject: [asterisk-users] MeetMe option b Reply with quote

In article <47DE86DE.6070906 at pagestation.com>,
Jerry Geis <geisj at pagestation.com> wrote:
Quote:
I am running asterisk 1.4.18 trying to use MeetMe and option b.

I am getting permissions denied failed to execute conf-background.agi
on the CLI

lrwxrwxrwx 1 root root 37 Mar 17 10:11 conf-background.agi ->
/home/silentm/bin/conf-background.agi
my conf background is a symbolic link - then my permissions are :

[root at devcentos5x64 src]# ls -l /home/silentm/bin/conf-background.agi
-rwSr-Sr-- 1 root root 81 Mar 17 10:44 /home/silentm/bin/conf-background.agi

I have tried with just 744 and also with 744 and chmod +s.

Any ideas why I would get the permission denied?

It looks like you don't have execute permission. When the S is capital,
I think it indicates that the s bit is set, but the x bit isn't (which
is a situation that doesn't make much sense). It looks above like you
did "chmod 6644 /home/silentm/bin/conf-background.agi". Try again with
0755 instead of 6644.

Cheers
Tony
--
Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org
Back to top
support at drdos.info
Guest





PostPosted: Mon Mar 17, 2008 10:37 am    Post subject: [asterisk-users] MeetMe option b Reply with quote

Jerry Geis wrote:
Quote:
/home/silentm/bin/conf-background.agi
my conf background is a symbolic link - then my permissions are :

[root at devcentos5x64 src]# ls -l /home/silentm/bin/conf-background.agi
-rwSr-Sr-- 1 root root 81 Mar 17 10:44 /home/silentm/bin/conf-background.agi


I'm guessing because the agi needs to run from:

/var/lib/asterisk/agi-bin

Doug
--

Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."
Back to top
lee at datatrakpos.com
Guest





PostPosted: Mon Mar 17, 2008 10:48 am    Post subject: [asterisk-users] MeetMe option b Reply with quote

Jerry Geis wrote:
Quote:
Jerry Geis wrote:
Quote:
I am running asterisk 1.4.18 trying to use MeetMe and option b.

I am getting permissions denied failed to execute conf-background.agi
on the CLI

lrwxrwxrwx 1 root root 37 Mar 17 10:11 conf-background.agi ->
/home/silentm/bin/conf-background.agi
my conf background is a symbolic link - then my permissions are :

[root at devcentos5x64 src]# ls -l /home/silentm/bin/conf-background.agi
-rwSr-Sr-- 1 root root 81 Mar 17 10:44
/home/silentm/bin/conf-background.agi

I have tried with just 744 and also with 744 and chmod +s.

Any ideas why I would get the permission denied?

Jerry

I seem to have gotten past the permissions error by putting
#!/bin/sh
#

at the top of my script file...

Now when I run permissions issue is gone, however, When I try to access by
variables (as I have dont many other times) I am getting an error.

In my call file I have
SetVar: MEETME_PLAYFILE=/home/silentm/record/pc.610.wav

And when I asking for the value of MEETME_PLAYFILE it is giving an error
about the PIPE being broken.

Is there something special about this option "b" and what an AGI can and
cannot do???
The AGI actually calls a C program (this is the same C file I have been
using for a long time)
and I just ask the AGI for the values of the variables.

Jerry


Is that an Originate command that you're using? Shouldn't that be:

Variable: MEETME_PLAYFILE=/home/silentm/record/pc.610.wav ??

http://www.voip-info.org/wiki/index.php?page=Asterisk+Manager+API+Action+Originate

Or are using the SetVar AMI Command?

Sorry, I wasn't clear on this.

--
Warm Regards,

Lee

"Everything I needed to learn in life, I learned selling encyclopedias door to
door."
Back to top
geisj at pagestation.com
Guest





PostPosted: Mon Mar 17, 2008 5:00 pm    Post subject: [asterisk-users] MeetMe option b Reply with quote

I have been playing with meetme option b.

I was wanting to use a spool call file going to a local channel,
then bring a list of asterisk boxes into a meetme in talk only mode.
then run the AGI to play a wave file then hangup.

It seems to be doing all this but I hear no audio.
I seem to get pipe errors when running the AGI.

Should this work?
Is there an example of this anywhere.

I basically just want to bring in a list of asterisk boxes (console
ports on their end)
speak a wave file and hang up the meetme. seems easy enough.

This same thing works for speaking live. All I added was playing a wave
file instead with the agi.

Jerry
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services