Re: [Asterisk-java-users] Is it possible to send a custom action ?
Brought to you by:
srt
From: Yves A. <yv...@gm...> - 2014-07-10 13:38:04
|
ok, "ticket closed" ;-) boxed asterisk sounds interesting, pls. tell me model and manufacturer. thx yves Am 10.07.2014 15:10, schrieb przeqpiciel: > boxed asterisk is mean the device with asterisk and with ssh acces so > i can change manager.conf and add privilege but after reboot the > device overwrite my configuration, > > i mean i learn Action Class from source and make my own class for my > purpose > > > 2014-07-10 15:03 GMT+02:00 Yves A. <yv...@gm... > <mailto:yv...@gm...>>: > > "boxed asterisk" means, you have no access to manager.conf to > configure rights? > > ad 1: > yes, the link shows a good and easy example... its easy and > straight forward... if you´re stuck, > download the sources, use a good IDE (like eclipse or netbeans) > and make a local little project. you can set a breakpoint > and "debug" the code in realtime to see, whats going on and how to > implement your own action-class... > > yves > > Am 10.07.2014 12:13, schrieb przeqpiciel: >> great ! >> >> but here is some problem >> 2. i cant have permission for this :) because this is GSMGateway >> with boxed asterisk :/ >> 1. im think here is good source >> https://github.com/srt/asterisk-java/blob/master/src/main/java/org/asteriskjava/manager/action/SipShowPeerAction.java >> 3. nope, i dont want >> >> >> 2014-07-10 11:52 GMT+02:00 Yves A. <yv...@gm... >> <mailto:yv...@gm...>>: >> >> Hi, >> >> sure you can... as usual... several options apply, depending >> on your skills, objective and environment: >> >> 1.) take a look at the sources and learn, how other Actions >> are designed, and write your own Action-Class... >> 2.) Use CommandAction Class to execute any CLI Command >> 3.) If you want to fire your Action from "inside a" >> Java-AGI-Call, you can use channel.exec() to execute a CLI >> command. >> >> yves >> >> Am 10.07.2014 11:14, schrieb przeqpiciel: >>> Hi everyone, >>> >>> Im new here :) Im asking you is it possible to send custom >>> action with asterisk-java. >>> In PHP i send like this: >>> $komenda = "Action: smscommand\r\n"; >>> $komenda .= "command: gsm send sms 3 $odbiorca \"$tresc\" >>> $id\r\n\r\n"; >>> >>> >>> ------------------------------------------------------------------------------ >>> Open source business process management suite built on Java and Eclipse >>> Turn processes into business applications with Bonita BPM Community Edition >>> Quickly connect people, data, and systems into organized workflows >>> Winner of BOSSIE, CODIE, OW2 and Gartner awards >>> http://p.sf.net/sfu/Bonitasoft >>> >>> >>> _______________________________________________ >>> Asterisk-java-users mailing list >>> Ast...@li... <mailto:Ast...@li...> >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java >> and Eclipse >> Turn processes into business applications with Bonita BPM >> Community Edition >> Quickly connect people, data, and systems into organized >> workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> <mailto:Ast...@li...> >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> >> >> >> ------------------------------------------------------------------------------ >> Open source business process management suite built on Java and Eclipse >> Turn processes into business applications with Bonita BPM Community Edition >> Quickly connect people, data, and systems into organized workflows >> Winner of BOSSIE, CODIE, OW2 and Gartner awards >> http://p.sf.net/sfu/Bonitasoft >> >> >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... <mailto:Ast...@li...> >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and > Eclipse > Turn processes into business applications with Bonita BPM > Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > <mailto:Ast...@li...> > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > Open source business process management suite built on Java and Eclipse > Turn processes into business applications with Bonita BPM Community Edition > Quickly connect people, data, and systems into organized workflows > Winner of BOSSIE, CODIE, OW2 and Gartner awards > http://p.sf.net/sfu/Bonitasoft > > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |