Thread: [Asterisk-java-users] Is it possible to send a custom action ?
Brought to you by:
srt
From: przeqpiciel <prz...@gm...> - 2014-07-10 09:14:31
|
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"; |
From: Yves A. <yv...@gm...> - 2014-07-10 09:52:22
|
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... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: przeqpiciel <prz...@gm...> - 2014-07-10 10:13:13
|
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 > > |
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 >> >> > |
From: Yves A. <yv...@gm...> - 2014-07-10 13:05:02
|
?? what do you mean ? can you explain? yves Am 10.07.2014 13:50, schrieb przeqpiciel: > 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... > <mailto: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... > <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... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Murthy G. <mga...@nt...> - 2014-09-19 18:12:58
|
Hi All I am using the controlStreamFile of the AgiChannel object thus: dtmf=channel.controlStreamFile(asteriskFile, "1*", 0, "7", "8", "9"); I am able to pause by pressing 9 but not forward by pressing 7 nor backward by pressing 8. Any help is appreciated. Thanks Murthy |
From: Yves A. <yv...@gm...> - 2014-07-10 13:03:38
|
"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... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: przeqpiciel <prz...@gm...> - 2014-07-10 13:10:11
|
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...>: > "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...>: > >> 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 >> >> > > > ------------------------------------------------------------------------------ > 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 > > |
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 |
From: tomasz d. <prz...@gm...> - 2014-07-10 13:40:58
|
It is NeoGate TG400. Wysłane z iPhone'a Dnia 10 lip 2014 o godz. 15:38 "Yves A." <yv...@gm...> napisał(a): 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...>: > "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...>: > >> 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 >> >> > > > ------------------------------------------------------------------------------ > 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 > > ------------------------------------------------------------------------------ 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 |
From: Miguel S. <m.s...@gm...> - 2014-07-10 18:03:01
|
I think so. You can build and send a "CommandAction" El 10/07/2014 11:15, "przeqpiciel" <prz...@gm...> escribió: > 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... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |
From: Miguel S. <m.s...@gm...> - 2014-07-10 18:08:14
|
Here you are. Follow this link to get the documentation and an example of thus command. http://www.asterisk-java.org/development/apidocs/index.html El 10/07/2014 20:02, "Miguel Santiago" <m.s...@gm...> escribió: > I think so. You can build and send a "CommandAction" > El 10/07/2014 11:15, "przeqpiciel" <prz...@gm...> escribió: > >> 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... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> |
From: przeqpiciel <prz...@gm...> - 2014-07-10 18:14:01
|
We wrote about that. I dont have a permission to send other action than 'smscommand' and yes, i can change permission in manager.conf BUT after reboot all changes are overwriting by system on that device :) 2014-07-10 20:08 GMT+02:00 Miguel Santiago <m.s...@gm...>: > Here you are. > Follow this link to get the documentation and an example of thus command. > > http://www.asterisk-java.org/development/apidocs/index.html > El 10/07/2014 20:02, "Miguel Santiago" <m.s...@gm...> > escribió: > > I think so. You can build and send a "CommandAction" >> El 10/07/2014 11:15, "przeqpiciel" <prz...@gm...> escribió: >> >>> 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... >>> 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 > > |
From: przeqpiciel <prz...@gm...> - 2014-07-10 18:49:06
|
What are you think about UserEventAction ? 2014-07-10 20:13 GMT+02:00 przeqpiciel <prz...@gm...>: > We wrote about that. I dont have a permission to send other action than > 'smscommand' and yes, i can change permission in manager.conf BUT after > reboot all changes are overwriting by system on that device :) > > > 2014-07-10 20:08 GMT+02:00 Miguel Santiago <m.s...@gm...>: > > Here you are. >> Follow this link to get the documentation and an example of thus command. >> >> http://www.asterisk-java.org/development/apidocs/index.html >> El 10/07/2014 20:02, "Miguel Santiago" <m.s...@gm...> >> escribió: >> >> I think so. You can build and send a "CommandAction" >>> El 10/07/2014 11:15, "przeqpiciel" <prz...@gm...> escribió: >>> >>>> 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... >>>> 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 >> >> > |
From: Yves A. <yv...@gm...> - 2014-07-11 01:13:43
|
I don´t see how UserEvent will help you calling a command...or how it could be a replacement for a "custom action".... UserEventAction will fire an event, nothing more... I thought, you wrote your own Action class and everything is working..? Just to make things clear... your original question was "is it possible to send a custom action"... and your question was clearly answered. could you please post a new question with a new subject if you are stuck on another problem? please post as much information as possible with any question, this helps me and others understand the problem better and maybe find other ways to solve the problem or realize your objectives. yves Am 10.07.2014 20:48, schrieb przeqpiciel: > What are you think about UserEventAction ? > > > 2014-07-10 20:13 GMT+02:00 przeqpiciel <prz...@gm... > <mailto:prz...@gm...>>: > > We wrote about that. I dont have a permission to send other action > than 'smscommand' and yes, i can change permission in manager.conf > BUT after reboot all changes are overwriting by system on that > device :) > > > 2014-07-10 20:08 GMT+02:00 Miguel Santiago > <m.s...@gm... <mailto:m.s...@gm...>>: > > Here you are. > Follow this link to get the documentation and an example of > thus command. > > http://www.asterisk-java.org/development/apidocs/index.html > > El 10/07/2014 20:02, "Miguel Santiago" > <m.s...@gm... <mailto:m.s...@gm...>> > escribió: > > I think so. You can build and send a "CommandAction" > > El 10/07/2014 11:15, "przeqpiciel" <prz...@gm... > <mailto:prz...@gm...>> escribió: > > 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... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |