Re: [Asterisk-java-users] Is it possible to send a custom action ?
Brought to you by:
srt
From: przeqpiciel <prz...@gm...> - 2014-07-10 11:50:48
|
Thank you for your advice ! I build my own class :) Now is working is good but not very well ;) Best regards 2014-07-10 12:13 GMT+02:00 przeqpiciel <prz...@gm...>: > 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...>: > > 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 awardshttp://p.sf.net/sfu/Bonitasoft >> >> >> >> _______________________________________________ >> Asterisk-java-users mailing lis...@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 >> >> > |