Re: [Asterisk-java-users] FW: SEVERE: No script configured for URL 'agi://10.168.30.1/hello2.agi' (
Brought to you by:
srt
From: Abdul B. <bas...@ho...> - 2015-11-13 11:45:38
|
Hi yves, I did as you said, please refer to the snap shot. and still no script configured :( on Eclipse Console. Nov 13, 2015 7:37:03 PM org.asteriskjava.fastagi.DefaultAgiServer startup INFO: Listening on *:4573. Nov 13, 2015 7:37:15 PM org.asteriskjava.fastagi.AbstractAgiServer getPool INFO: Thread pool started. Nov 13, 2015 7:37:16 PM org.asteriskjava.fastagi.internal.AgiConnectionHandler run SEVERE: No script configured for URL 'agi://10.168.30.1/hello.agi' (script 'hello.agi') fastagi-mapping.propertieshello.agi = AgiParsing.HelloAgiScript hello2.agi = AgiParsing.HelloAgiScript2 ON Asterisk Console agi://10.168.30.1/hello2.agi: No script configured for URL 'agi://10.168.30.1/hello2.agi' (script 'hello2.agi') Can you Teamviewer to my system. or add me on your skype skype id: abdulbasit.uc Regards, AB To: ast...@li... From: yv...@gm... Date: Fri, 13 Nov 2015 12:11:40 +0100 Subject: Re: [Asterisk-java-users] FW: SEVERE: No script configured for URL 'agi://10.168.30.1/hello2.agi' (script 'hello2.agi')) small typo... agi-server-mail-class should be agi-server-main-class Am 13.11.2015 um 12:09 schrieb Yves: The resource file fastagi-mapping.properties cannot be found. you have to include the path to this file in your EXECUTION classpath... not in the java-build-source-path. in eclipse right-click on your agi-server-mail-class an click "run as" -> "run configuration". Put your mappings file in the user-entries section via "Add JARs" Button (even if it is not a jar-file....) yves Am 13.11.2015 um 11:58 schrieb Abdul Basit: Hi Both, Thanks for the reply, i did but still same :( agi://10.168.30.1/hello.agi: No script configured for URL 'agi://10.168.30.1/hello.agi' (script 'hello.agi') hello.agi = agi_parsing.HelloAgiScript hello2.agi = agi_parsing.HelloAgiScript2 This is on Eclipse Console. Nov 13, 2015 6:52:51 PM org.asteriskjava.fastagi.ResourceBundleMappingStrategy loadResourceBundle INFO: Resource bundle 'fastagi-mapping' not found. Nov 13, 2015 6:52:51 PM org.asteriskjava.fastagi.internal.AgiConnectionHandler run SEVERE: No script configured for URL 'agi://10.168.30.1/hello.agi' (script 'hello.agi') Regards, AB From: zou...@gm... Date: Fri, 13 Nov 2015 11:33:31 +0100 To: ast...@li... Subject: Re: [Asterisk-java-users] FW: SEVERE: No script configured for URL 'agi://10.168.30.1/hello2.agi' (script 'hello2.agi')) +1 on package naming try with agi_parsing.HelloAgiScript as suggested by Yves networking seems to be fine as your server is getting the request to serve the AGI --- Zoumana TRAORE 2015-11-13 11:25 GMT+01:00 Yves <yv...@gm...>: Hi, Are your HelloAGIScript(2)-Classes defined in a package? If so, you have to prefix the full packagepath....: hello.agi = path.to.my.class.HelloAgiScript hello2.agi = path.to.my.other.class.HelloAgiScript2 Also, check, state of the AGI-Server, and if you´re on different machines (as it seems) also Network, Firewall.... regards, yves Am 13.11.2015 um 10:11 schrieb Abdul Basit: Here is another class path setting still no luck :( From: bas...@ho... To: ast...@li... Date: Fri, 13 Nov 2015 14:06:01 +0500 Subject: Re: [Asterisk-java-users] FW: SEVERE: No script configured for URL 'agi://10.168.30.1/hello2.agi' (script 'hello2.agi')) I already snapshot in my previous file including with the source code, here is the class path screen short fastagi-mapping.properties hello.agi = HelloAgiScript hello2.agi = HelloAgiScript2 regards, AB From: zou...@gm... Date: Fri, 13 Nov 2015 09:57:20 +0100 To: ast...@li... Subject: Re: [Asterisk-java-users] FW: SEVERE: No script configured for URL 'agi://10.168.30.1/hello2.agi' (script 'hello2.agi')) Please share your mapping file content and the screenshot of your eclipse project classpath Regards --- Zoumana TRAORE 2015-11-13 9:45 GMT+01:00 Abdul Basit <bas...@ho...>: Hi I am facing this issue ""SEVERE: No script configured for URL 'agi://10.168.30.1/hello2.agi' (script 'hello2.agi')"" , i did googled a lot but unable to find the solution. any one help please. I already Set fastagi-mapping.properties in class path , and also on the other path to be on safe, but no luck also the source code attached for the reference:( Asterisk Logs agi://10.168.30.1/hello2.agi: No script configured for URL 'agi://10.168.30.1/hello2.agi' (script 'hello2.agi') -- <PJSIP/1000-00000005>AGI Script agi://10.168.30.1/hello2.agi completed, returning 0 and on Eclipse Console when call trigger form softphone Nov 13, 2015 3:48:43 PM org.asteriskjava.fastagi.internal.AgiConnectionHandler run SEVERE: No script configured for URL 'agi://10.168.30.1/hello2.agi' (script 'hello2.agi') This is the Dial Plan exten => 999,1,Agi(agi://10.168.30.1/hello2.agi) Regards, AB To: ast...@li... From: yv...@gm... Date: Thu, 12 Nov 2015 12:28:30 +0100 Subject: Re: [Asterisk-java-users] sample asterisk dial plan integration with AGI java project (Eclipse) Hi, the internet is full of examples... even the docs show it...: https://maven.reucon.com/projects/public/asterisk-java/1.0.0/tutorial.html http://www.jcgonzalez.com/asterisk-handle-calls-with-java-example A google search on "asterisk-java agi example" results in tons of info. regards, yves Am 12.11.2015 um 10:41 schrieb Abdul Basit: Hi all, I am new to asterisk, i would be very appreciate if any one would like to share sample dial plan integration with AGI based on Java Eclipse. thx I manage to setup Asterisk Environment in my machine. thx Regards, AB ------------------------------------------------------------------------------ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. www.avast.com ------------------------------------------------------------------------------ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users ------------------------------------------------------------------------------ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users ------------------------------------------------------------------------------ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users ------------------------------------------------------------------------------ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users ------------------------------------------------------------------------------ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. www.avast.com ------------------------------------------------------------------------------ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users ------------------------------------------------------------------------------ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users ------------------------------------------------------------------------------ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. www.avast.com ------------------------------------------------------------------------------ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft. www.avast.com ------------------------------------------------------------------------------ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |