[Asterisk-Users] SIPPeersAction class file not foundintheAsterisk-java.jar file

Bharat M. Sarvan bharat.sarvan at ezzibpo.com
Mon Aug 8 04:01:41 MST 2005


Ok Mr. Stefan,
              The contents of the file fastagi-mapping.properties are as
follows

Hello.agi = ManagerAPI

Where ManagerAPI is my class filename ManagerAPI.class.

And the directory structure is as given below:

/home/Bharat/AGISERVER/BharatJava/

Where the BharatJava directory holds the files

fastagi-mapping.properties
asterisk-java-0.1.jar
and the .java files


           
And the Asterisk server is running on Fedora Core 1. I start the asterisk
server using the command "asterisk -vvvvvvvvvvvvvvvvvvvv" at the command
prompt.

So I was having doubt about the execution of the part of the code you have
sent me where we login into the Asterisk server using the class
ManagerConnection.

Is there any way out so that I can issue the command other than using the
sendAction Method of the ManagerConnection to which I pass the object of the
class CommandAction.

My asterisk server is already up and running. I just need to issue the
command using the CommandAction. But even if I run the sample code
"ManagerAPI" given on the link
http://asterisk-java.sourceforge.net/tutorial.html. I am getting the error
for "No script configured for agi://"

Please do reply as to how I get through this problem...
 
 
 
 
 
Regards,
Bharat M. Sarvan
Software Engineer - VoIP
EZZI BPO Pvt Ltd.,
PUNE.

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Stefan Reuter
Sent: Saturday, August 06, 2005 7:02 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: RE: [Asterisk-Users] SIPPeersAction class file not
foundintheAsterisk-java.jar file

Hi,

>           I have all the necessary files for the code to be executed. The
> fastagi-mapping.properties file is also correct. But still I am getting
the
> error for 
> 
> The IP address is correct and as well as the agi file name. Does it make a
> difference giving a Tab or a space when giving the mapping of agi file
name
> and class file name in the fastagi-mapping.properties file.

no that makes no difference

> Is there any other reason for getting this error....

no
please post the contents of fastagi-mapping.properties, your directory
structure and the command you use to run java.
and please note: THERE IS NO WAY TO GET SIP PEERS VIA FASTAGI ANYWAY!

=Stefan

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list