asterisk-java-users Mailing List for Asterisk-Java Library (Page 112)
Brought to you by:
srt
You can subscribe to this list here.
2005 |
Jan
|
Feb
(8) |
Mar
(33) |
Apr
(36) |
May
(19) |
Jun
(21) |
Jul
(53) |
Aug
(30) |
Sep
(36) |
Oct
(34) |
Nov
(43) |
Dec
(72) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(123) |
Feb
(75) |
Mar
(86) |
Apr
(46) |
May
(41) |
Jun
(29) |
Jul
(76) |
Aug
(38) |
Sep
(39) |
Oct
(68) |
Nov
(16) |
Dec
(17) |
2007 |
Jan
(34) |
Feb
(18) |
Mar
(39) |
Apr
(30) |
May
(20) |
Jun
(10) |
Jul
(59) |
Aug
(54) |
Sep
(60) |
Oct
(22) |
Nov
(14) |
Dec
(10) |
2008 |
Jan
(34) |
Feb
(67) |
Mar
(65) |
Apr
(67) |
May
(60) |
Jun
(51) |
Jul
(88) |
Aug
(75) |
Sep
(47) |
Oct
(143) |
Nov
(54) |
Dec
(42) |
2009 |
Jan
(46) |
Feb
(80) |
Mar
(162) |
Apr
(159) |
May
(200) |
Jun
(34) |
Jul
(46) |
Aug
(59) |
Sep
(5) |
Oct
(35) |
Nov
(73) |
Dec
(30) |
2010 |
Jan
(23) |
Feb
(50) |
Mar
(8) |
Apr
(24) |
May
(19) |
Jun
(49) |
Jul
(56) |
Aug
(35) |
Sep
(26) |
Oct
(79) |
Nov
(39) |
Dec
(34) |
2011 |
Jan
(27) |
Feb
(22) |
Mar
(28) |
Apr
(12) |
May
(16) |
Jun
(19) |
Jul
(1) |
Aug
(64) |
Sep
(19) |
Oct
(11) |
Nov
(17) |
Dec
(12) |
2012 |
Jan
(6) |
Feb
(8) |
Mar
(15) |
Apr
(43) |
May
(41) |
Jun
(14) |
Jul
(32) |
Aug
(3) |
Sep
(4) |
Oct
(7) |
Nov
(11) |
Dec
(11) |
2013 |
Jan
(35) |
Feb
(11) |
Mar
(23) |
Apr
(25) |
May
(37) |
Jun
(47) |
Jul
(25) |
Aug
(21) |
Sep
|
Oct
(1) |
Nov
(9) |
Dec
|
2014 |
Jan
(26) |
Feb
(2) |
Mar
(18) |
Apr
(41) |
May
(7) |
Jun
(7) |
Jul
(24) |
Aug
(5) |
Sep
(6) |
Oct
(8) |
Nov
(9) |
Dec
(7) |
2015 |
Jan
(7) |
Feb
(15) |
Mar
(8) |
Apr
(12) |
May
(7) |
Jun
|
Jul
|
Aug
(5) |
Sep
(1) |
Oct
(3) |
Nov
(30) |
Dec
(3) |
2016 |
Jan
(1) |
Feb
|
Mar
(2) |
Apr
|
May
(9) |
Jun
|
Jul
|
Aug
(3) |
Sep
|
Oct
|
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
(3) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
2018 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(8) |
Dec
(4) |
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Leonardo L. <leo...@gr...> - 2008-05-21 18:39:43
|
Hi Martin, Let me try to explain to you what i am expecting from the hold command Suppose the next scenary: - A is a call center employer - B is a customer receiving an incoming call from A - During the call, A decides to check some information about B and he tells B to wait for a while - In fact, what A does is to put the call in hold while he realize some action and B listens to some configured music - After that A retrieve the call and start talking to B again Put a call in a queue or in a park will turn off the A channel, what means that when A desires to retrieve the call his phone will ring again. Therefore, what i want to know is if there is some way to hold a call just like the soft-phones do (X-lite for example), like: putChannelOnHold(channel), retrieveChannel(channel) I search the entire Java-asterisk API and found nothing similar to that. Below is my extensions.conf Best regards ---------------------------------------------------------------------------- ------------------------------- ;! ;! Automatically generated configuration file ;! Filename: extensions.conf (/etc/asterisk/extensions.conf) ;! Generator: Manager ;! Creation Date: Fri May 16 03:51:37 2008 ;! [general] static = yes writeprotect = no autofallthrough = yes clearglobalvars = no priorityjumping = no [globals] trunk_1 = SIP/trunk_1 trunk_2 = SIP/trunk_2 trunk_2_cid = unknown trunk_1_cid = 090909 [dundi-e164-canonical] [dundi-e164-customers] [dundi-e164-via-pstn] [dundi-e164-local] include => dundi-e164-canonical include => dundi-e164-customers include => dundi-e164-via-pstn [dundi-e164-switch] switch => DUNDi/e164 [dundi-e164-lookup] include => dundi-e164-local include => dundi-e164-switch [macro-dundi-e164] exten => s,1,Goto(${ARG1},1) include => dundi-e164-lookup [iaxtel700] exten => _91700XXXXXXX,1,Dial(IAX2/${IAXINFO}@iaxtel.com/${EXTEN:1}@iaxtel) [iaxprovider] [trunkint] exten => _9011.,1,Macro(dundi-e164,${EXTEN:4}) exten => _9011.,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) [trunkld] exten => _91NXXNXXXXXX,1,Macro(dundi-e164,${EXTEN:1}) exten => _91NXXNXXXXXX,n,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) [trunklocal] exten => _9NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) [trunktollfree] exten => _91800NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) exten => _91888NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) exten => _91877NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) exten => _91866NXXXXXX,1,Dial(${TRUNK}/${EXTEN:${TRUNKMSD}}) [international] ignorepat => 9 include => longdistance include => trunkint [longdistance] ignorepat => 9 include => local include => trunkld [local] ignorepat => 9 include => default include => parkedcalls include => trunklocal include => iaxtel700 include => trunktollfree include => iaxprovider [macro-stdexten] exten => s,1,Dial(${ARG2},20) exten => s,2,Goto(s-${DIALSTATUS},1) exten => s-NOANSWER,1,Voicemail(${ARG1},u) exten => s-NOANSWER,2,Goto(default,s,1) exten => s-BUSY,1,Voicemail(${ARG1},b) exten => s-BUSY,2,Goto(default,s,1) exten => _s-.,1,Goto(s-NOANSWER,1) exten => a,1,VoicemailMain(${ARG1}) [macro-stdPrivacyexten] exten => s,1,Dial(${ARG2},20|p) exten => s,2,Goto(s-${DIALSTATUS},1) exten => s-NOANSWER,1,Voicemail(u${ARG1}) exten => s-NOANSWER,2,Goto(default,s,1) exten => s-BUSY,1,Voicemail(b${ARG1}) exten => s-BUSY,2,Goto(default,s,1) exten => s-DONTCALL,1,Goto(${ARG3},s,1) exten => s-TORTURE,1,Goto(${ARG4},s,1) exten => _s-.,1,Goto(s-NOANSWER,1) exten => a,1,VoicemailMain(${ARG1}) [macro-page] exten => s,1,ChanIsAvail(${ARG1}|js) exten => s,n,GoToIf([${AVAILSTATUS} = "1"]?autoanswer:fail) exten => s,n(autoanswer),Set(_ALERT_INFO="RA") exten => s,n,SIPAddHeader(Call-Info: Answer-After=0) exten => s,n,NoOp() exten => s,n,Dial(${ARG1}||) exten => s,n(fail),Hangup [demo] exten => s,1,Wait(1) exten => s,n,Answer exten => s,n,Set(TIMEOUT(digit)=5) exten => s,n,Set(TIMEOUT(response)=10) exten => s,n(restart),BackGround(demo-congrats) exten => s,n(instruct),BackGround(demo-instruct) exten => s,n,WaitExten exten => 2,1,BackGround(demo-moreinfo) exten => 2,n,Goto(s,instruct) exten => 3,1,Set(LANGUAGE()=fr) exten => 3,n,Goto(s,restart) exten => 1000,1,Goto(default,s,1) exten => 1234,1,Playback(transfer,skip) exten => 1234,n,Macro(stdexten,1234,${CONSOLE}) exten => 1235,1,Voicemail(u1234) exten => 1236,1,Dial(Console/dsp) exten => 1236,n,Voicemail(u1234) exten => #,1,Playback(demo-thanks) exten => #,n,Hangup exten => t,1,Goto(#,1) exten => i,1,Playback(invalid) exten => 500,1,Playback(demo-abouttotry) exten => 500,n,Dial(IAX2/gu...@mi.../s@default) exten => 500,n,Playback(demo-nogo) exten => 500,n,Goto(s,6) exten => 600,1,Playback(demo-echotest) exten => 600,n,Echo exten => 600,n,Playback(demo-echodone) exten => 600,n,Goto(s,6) exten => 76245,1,Macro(page,SIP/Grandstream1) exten => _7XXX,1,Macro(page,SIP/${EXTEN}) exten => 7999,1,Set(TIMEOUT(absolute)=60) exten => 7999,2,Page(Local/Grandstream1@page&Local/Xlite1@page&Local/1234@page/n|d) exten => 8500,1,VoicemailMain exten => 8500,n,Goto(s,6) [page] exten => _X.,1,Macro(page,SIP/${EXTEN}) [voicemenu-custom-1] include = default comment = Welcome alias_exten = 7000 exten = s,1,Answer exten = s,2,Wait(1) exten = s,3,Background(thank-you-for-calling) exten = s,4,Background(if-u-know-ext-dial) exten = s,5,Background(otherwise) exten = s,6,Background(to-reach-operator) exten = s,7,Background(pls-hold-while-try) exten = s,8,WaitExten(6) exten = 0,1,Goto(default|6010|1) [numberplan-custom-1] plancomment = DialPlan1 include = default include = parkedcalls exten = _9011XXXXXXX!,1,Macro(trunkdial,${}/${EXTEN:1}) comment = _9011XXXXXXX!,1,International,standard exten = _911!,1,Macro(trunkdial,${}/${EXTEN:0}) comment = _911!,1,911,standard exten = _9256XXXXXXX!,1,Macro(trunkdial,${trunk_1}/${EXTEN:4},${trunk_1_cid}) comment = _9256XXXXXXX!,1,Local,standard exten = _91XXXXXXXXXX!,1,Macro(trunkdial,${trunk_1}/${EXTEN:1},${trunk_1_cid}) comment = _91XXXXXXXXXX!,1,Longdistance,standard exten = _91700XXXXXXX!,1,Macro(trunkdial,${trunk_1}/${EXTEN:1},${trunk_1_cid}) comment = _91700XXXXXXX!,1,IAXTEL,standard exten = _8!,1,Macro(trunkdial,${trunk_1}/${EXTEN:0},${trunk_1_cid}) comment = _8!,1,Oi,standard exten = _0XXXXXXX!,1,Macro(trunkdial,${trunk_1}/${EXTEN:1},${trunk_1_cid}) comment = _0XXXXXXX!,1,Local,standard exten = _0800XXXXXXXX!,1,Macro(trunkdial,${trunk_1}/${EXTEN:0},${trunk_1_cid}) comment = _0800XXXXXXXX!,1,0800,standard [macro-trunkdial] exten = s,1,set(CALLERID(all)=${IF($["${LEN(${CALLERID(num)})}" > "6"]?${CALLERID(all)}:${ARG2})}) exten = s,n,Dial(${ARG1}) exten = s,n,Goto(s-${DIALSTATUS},1) exten = s-NOANSWER,1,Hangup exten = s-BUSY,1,Hangup exten = _s-.,1,NoOp exten = s-BUSY,1,Hangup exten = _s-.,1,NoOp [asterisk_guitools] exten = executecommand,1,System(${command}) exten = executecommand,n,Hangup() exten = record_vmenu,1,Answer exten = record_vmenu,n,Playback(vm-intro) exten = record_vmenu,n,Record(${var1}) exten = record_vmenu,n,Playback(vm-saved) exten = record_vmenu,n,Playback(vm-goodbye) exten = record_vmenu,n,Hangup exten = play_file,1,Answer exten = play_file,n,Playback(${var1}) exten = play_file,n,Hangup [voicemenu-custom-2] comment = ura cobranca alias_exten = 9000 exten = s,1,Answer exten = s,2,Background(you-wish-to-join) [default] exten = 6050,1,VoiceMailMain exten = 7000,1,Goto(voicemenu-custom-1|s|1) exten = 8000,1,MeetMe(${EXTEN}|MsI) exten = 6000,1,Queue(${EXTEN}) exten = 9000,1,Goto(voicemenu-custom-2|s|1) exten = 6001,1,Queue(${EXTEN}) exten = 1300,1,Agi(agi://localhost/hello.agi) exten = 6100,1,Goto(ringroups-custom-1|s|1) exten = 3030,1,Answer exten = 3030,2,Playback(vm-intro) exten = 3030,3,Wait(3) exten = 3030,4,Hangup [ringroups-custom-1] gui_ring_groupname = discador exten = s,1,NoOp(RINGGROUP) exten = s,n,Dial(SIP/6012&SIP/6016&SIP/6013&SIP/6014&SIP/6015,20) exten = s,n,Hangup [DID_trunk_1] include = default include = default include = default exten = _X.,1,Goto(default|6010|1) exten = s,1,ExecIf($[ "${CALLERID(num)}"="" ],SetCallerPres,unavailable) exten = s,2,ExecIf($[ "${CALLERID(num)}"="" ],Set,CALLERID(all)=unknown <0000000>) exten = s,3,Goto(default|6010|1) [DID_trunk_1] [DID_trunk_1] [DID_trunk_2] include = default ---------------------------------------------------------------------------- ------------------------------- |
From: T. L. P. T. <tom...@gm...> - 2008-05-21 18:16:10
|
On Wed, May 21, 2008 at 3:09 PM, Luc Desfosses <luc...@at...> wrote: > Is it possible the *Error* appear due bad parameter to originateAction ? > Yes, I tested the same code against my lab boxes (Asterisk 1.2 and Asterisk 1.6 trunk) and I receive the same error. You will need to change to parameters of the originate action according to your system. Here is what I get logged in Asterisk (1.2): May 21 15:11:26 VERBOSE[14124] logger.c: == Manager 'java' logged on from 127.0.0.1 May 21 15:11:26 DEBUG[14124] manager.c: Manager received command 'Command' May 21 15:11:26 DEBUG[14124] manager.c: Manager received command 'Command' May 21 15:11:26 DEBUG[14124] manager.c: Manager received command 'Originate' May 21 15:11:27 WARNING[14124] chan_sip.c: No such host: John May 21 15:11:27 NOTICE[14124] channel.c: Unable to request channel SIP/John May 21 15:11:27 DEBUG[14124] cdr_addon_mysql.c: cdr_mysql: inserting a CDR record. May 21 15:11:27 DEBUG[14124] cdr_addon_mysql.c: cdr_mysql: SQL command as follows: INSERT INTO cdr (calldate,clid,src,dst,dco ntext,channel,dstchannel,lastapp,lastdata,duration,billsec,disposition,amaflags,accountcode,uniqueid) VALUES ('2008-05-21 15: 11:27','','','s','default', '**Unknown**','','','',0,0,'FAILED',3,'','1211393487.0') May 21 15:11:27 DEBUG[14124] manager.c: Manager received command 'Logoff' May 21 15:11:27 VERBOSE[14124] logger.c: == Manager 'java' logged off from 127.0.0.1 As you can see, "Error" is the response to the originate action. The Manager API login and logout successfully. Best regards, Tomás. > originateAction = new OriginateAction(); > originateAction.setChannel("SIP/255263@AutoCom") ; > originateAction.setContext("external") ; > originateAction.setExten("Local/0624493277@AutoCom") ; > //originateAction.setApplication("Dial") ; > originateAction.setPriority(new Integer(1)); > originateAction.setTimeout(new Long(30000)); > > Tomorrow, I will put 1.4.* to test. > > Thanks for your time ( and the quick time of response :) ) > > Tomás Laureano Peralta Tormey a écrit : >> On Wed, May 21, 2008 at 3:00 PM, Luc Desfosses >> <luc...@at...> wrote: >> >>> The last one : >>> >>> asterisk-java-1.0.0-20080520.012814-155.jar >>> >> >> I will try it out in my lab and let you know the results. >> >> >>> I've take a look to the javadoc, and i see asterisk 1.6 is available >>> only for since 1.0.0 >>> >> >> Yes, the support for Asterisk 1.6 will be available in the version >> 1.0.0; but the snapshots of this version should be working as >> expected. >> >> Best regards, Tomás. >> >> >>> Tomás Laureano Peralta Tormey a écrit : >>> >>>> Hello Luc: >>>> Which version of Asterisk Java are you using? >>>> >>>> Best regards, Tomás. >>>> >>>> On Wed, May 21, 2008 at 2:44 PM, Luc Desfosses >>>> <luc...@at...> wrote: >>>> >>>> >>>>> hie all, >>>>> >>>>> This is my first mail here, so I first thank all the people who have create >>>>> or work on asterisk-java. >>>>> >>>>> Now, my problem :) >>>>> >>>>> i use asterisk 1.6.0-beta7.1 on Fedora9. >>>>> >>>>> I try HelloManager.java and i get this : >>>>> >>>>> 21 mai 2008 19:35:14 >>>>> org.asteriskjava.manager.internal.ManagerConnectionImpl connect >>>>> INFO: Connecting to localhost:5038 >>>>> 21 mai 2008 19:35:14 >>>>> org.asteriskjava.manager.internal.ManagerConnectionImpl >>>>> setProtocolIdentifier >>>>> INFO: Connected via Asterisk Call Manager/1.1 >>>>> 21 mai 2008 19:35:14 >>>>> org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin >>>>> INFO: Successfully logged in >>>>> 21 mai 2008 19:35:14 >>>>> org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin >>>>> INFO: Determined Asterisk version: Asterisk 1.6 >>>>> Error >>>>> 21 mai 2008 19:35:14 >>>>> org.asteriskjava.manager.internal.ManagerConnectionImpl disconnect >>>>> INFO: Closing socket. >>>>> 21 mai 2008 19:35:14 org.asteriskjava.manager.internal.ManagerReaderImpl run >>>>> INFO: Terminating reader thread: No more lines available: null >>>>> >>>>> As you can see, there is an *Error* just after the version was determine. >>>>> >>>>> Where i'm wrong ? >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------- >>>>> This SF.net email is sponsored by: Microsoft >>>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>>> _______________________________________________ >>>>> Asterisk-java-users mailing list >>>>> Ast...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> Asterisk-java-users mailing list >>>> Ast...@li... >>>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>>> >>>> >>>> >>>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Asterisk-java-users mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: Luc D. <luc...@at...> - 2008-05-21 18:09:45
|
Is it possible the *Error* appear due bad parameter to originateAction ? originateAction = new OriginateAction(); originateAction.setChannel("SIP/255263@AutoCom") ; originateAction.setContext("external") ; originateAction.setExten("Local/0624493277@AutoCom") ; //originateAction.setApplication("Dial") ; originateAction.setPriority(new Integer(1)); originateAction.setTimeout(new Long(30000)); Tomorrow, I will put 1.4.* to test. Thanks for your time ( and the quick time of response :) ) Tomás Laureano Peralta Tormey a écrit : > On Wed, May 21, 2008 at 3:00 PM, Luc Desfosses > <luc...@at...> wrote: > >> The last one : >> >> asterisk-java-1.0.0-20080520.012814-155.jar >> > > I will try it out in my lab and let you know the results. > > >> I've take a look to the javadoc, and i see asterisk 1.6 is available >> only for since 1.0.0 >> > > Yes, the support for Asterisk 1.6 will be available in the version > 1.0.0; but the snapshots of this version should be working as > expected. > > Best regards, Tomás. > > >> Tomás Laureano Peralta Tormey a écrit : >> >>> Hello Luc: >>> Which version of Asterisk Java are you using? >>> >>> Best regards, Tomás. >>> >>> On Wed, May 21, 2008 at 2:44 PM, Luc Desfosses >>> <luc...@at...> wrote: >>> >>> >>>> hie all, >>>> >>>> This is my first mail here, so I first thank all the people who have create >>>> or work on asterisk-java. >>>> >>>> Now, my problem :) >>>> >>>> i use asterisk 1.6.0-beta7.1 on Fedora9. >>>> >>>> I try HelloManager.java and i get this : >>>> >>>> 21 mai 2008 19:35:14 >>>> org.asteriskjava.manager.internal.ManagerConnectionImpl connect >>>> INFO: Connecting to localhost:5038 >>>> 21 mai 2008 19:35:14 >>>> org.asteriskjava.manager.internal.ManagerConnectionImpl >>>> setProtocolIdentifier >>>> INFO: Connected via Asterisk Call Manager/1.1 >>>> 21 mai 2008 19:35:14 >>>> org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin >>>> INFO: Successfully logged in >>>> 21 mai 2008 19:35:14 >>>> org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin >>>> INFO: Determined Asterisk version: Asterisk 1.6 >>>> Error >>>> 21 mai 2008 19:35:14 >>>> org.asteriskjava.manager.internal.ManagerConnectionImpl disconnect >>>> INFO: Closing socket. >>>> 21 mai 2008 19:35:14 org.asteriskjava.manager.internal.ManagerReaderImpl run >>>> INFO: Terminating reader thread: No more lines available: null >>>> >>>> As you can see, there is an *Error* just after the version was determine. >>>> >>>> Where i'm wrong ? >>>> >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> This SF.net email is sponsored by: Microsoft >>>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> Asterisk-java-users mailing list >>>> Ast...@li... >>>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>>> >>>> >>>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Asterisk-java-users mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> >>> >>> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > |
From: T. L. P. T. <tom...@gm...> - 2008-05-21 18:04:22
|
On Wed, May 21, 2008 at 3:00 PM, Luc Desfosses <luc...@at...> wrote: > The last one : > > asterisk-java-1.0.0-20080520.012814-155.jar I will try it out in my lab and let you know the results. > > I've take a look to the javadoc, and i see asterisk 1.6 is available > only for since 1.0.0 Yes, the support for Asterisk 1.6 will be available in the version 1.0.0; but the snapshots of this version should be working as expected. Best regards, Tomás. > > > Tomás Laureano Peralta Tormey a écrit : >> Hello Luc: >> Which version of Asterisk Java are you using? >> >> Best regards, Tomás. >> >> On Wed, May 21, 2008 at 2:44 PM, Luc Desfosses >> <luc...@at...> wrote: >> >>> hie all, >>> >>> This is my first mail here, so I first thank all the people who have create >>> or work on asterisk-java. >>> >>> Now, my problem :) >>> >>> i use asterisk 1.6.0-beta7.1 on Fedora9. >>> >>> I try HelloManager.java and i get this : >>> >>> 21 mai 2008 19:35:14 >>> org.asteriskjava.manager.internal.ManagerConnectionImpl connect >>> INFO: Connecting to localhost:5038 >>> 21 mai 2008 19:35:14 >>> org.asteriskjava.manager.internal.ManagerConnectionImpl >>> setProtocolIdentifier >>> INFO: Connected via Asterisk Call Manager/1.1 >>> 21 mai 2008 19:35:14 >>> org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin >>> INFO: Successfully logged in >>> 21 mai 2008 19:35:14 >>> org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin >>> INFO: Determined Asterisk version: Asterisk 1.6 >>> Error >>> 21 mai 2008 19:35:14 >>> org.asteriskjava.manager.internal.ManagerConnectionImpl disconnect >>> INFO: Closing socket. >>> 21 mai 2008 19:35:14 org.asteriskjava.manager.internal.ManagerReaderImpl run >>> INFO: Terminating reader thread: No more lines available: null >>> >>> As you can see, there is an *Error* just after the version was determine. >>> >>> Where i'm wrong ? >>> >>> >>> >>> ------------------------------------------------------------------------- >>> This SF.net email is sponsored by: Microsoft >>> Defy all challenges. Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> Asterisk-java-users mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> >> > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: Luc D. <luc...@at...> - 2008-05-21 18:00:02
|
The last one : asterisk-java-1.0.0-20080520.012814-155.jar I've take a look to the javadoc, and i see asterisk 1.6 is available only for since 1.0.0 Tomás Laureano Peralta Tormey a écrit : > Hello Luc: > Which version of Asterisk Java are you using? > > Best regards, Tomás. > > On Wed, May 21, 2008 at 2:44 PM, Luc Desfosses > <luc...@at...> wrote: > >> hie all, >> >> This is my first mail here, so I first thank all the people who have create >> or work on asterisk-java. >> >> Now, my problem :) >> >> i use asterisk 1.6.0-beta7.1 on Fedora9. >> >> I try HelloManager.java and i get this : >> >> 21 mai 2008 19:35:14 >> org.asteriskjava.manager.internal.ManagerConnectionImpl connect >> INFO: Connecting to localhost:5038 >> 21 mai 2008 19:35:14 >> org.asteriskjava.manager.internal.ManagerConnectionImpl >> setProtocolIdentifier >> INFO: Connected via Asterisk Call Manager/1.1 >> 21 mai 2008 19:35:14 >> org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin >> INFO: Successfully logged in >> 21 mai 2008 19:35:14 >> org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin >> INFO: Determined Asterisk version: Asterisk 1.6 >> Error >> 21 mai 2008 19:35:14 >> org.asteriskjava.manager.internal.ManagerConnectionImpl disconnect >> INFO: Closing socket. >> 21 mai 2008 19:35:14 org.asteriskjava.manager.internal.ManagerReaderImpl run >> INFO: Terminating reader thread: No more lines available: null >> >> As you can see, there is an *Error* just after the version was determine. >> >> Where i'm wrong ? >> >> >> >> ------------------------------------------------------------------------- >> This SF.net email is sponsored by: Microsoft >> Defy all challenges. Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Asterisk-java-users mailing list >> Ast...@li... >> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >> >> > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > |
From: T. L. P. T. <tom...@gm...> - 2008-05-21 17:50:59
|
Hello Luc: Which version of Asterisk Java are you using? Best regards, Tomás. On Wed, May 21, 2008 at 2:44 PM, Luc Desfosses <luc...@at...> wrote: > hie all, > > This is my first mail here, so I first thank all the people who have create > or work on asterisk-java. > > Now, my problem :) > > i use asterisk 1.6.0-beta7.1 on Fedora9. > > I try HelloManager.java and i get this : > > 21 mai 2008 19:35:14 > org.asteriskjava.manager.internal.ManagerConnectionImpl connect > INFO: Connecting to localhost:5038 > 21 mai 2008 19:35:14 > org.asteriskjava.manager.internal.ManagerConnectionImpl > setProtocolIdentifier > INFO: Connected via Asterisk Call Manager/1.1 > 21 mai 2008 19:35:14 > org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin > INFO: Successfully logged in > 21 mai 2008 19:35:14 > org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin > INFO: Determined Asterisk version: Asterisk 1.6 > Error > 21 mai 2008 19:35:14 > org.asteriskjava.manager.internal.ManagerConnectionImpl disconnect > INFO: Closing socket. > 21 mai 2008 19:35:14 org.asteriskjava.manager.internal.ManagerReaderImpl run > INFO: Terminating reader thread: No more lines available: null > > As you can see, there is an *Error* just after the version was determine. > > Where i'm wrong ? > > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: Luc D. <luc...@at...> - 2008-05-21 17:45:02
|
hie all, This is my first mail here, so I first thank all the people who have create or work on asterisk-java. Now, my problem :) i use asterisk 1.6.0-beta7.1 on Fedora9. I try HelloManager.java and i get this : 21 mai 2008 19:35:14 org.asteriskjava.manager.internal.ManagerConnectionImpl connect INFO: Connecting to localhost:5038 21 mai 2008 19:35:14 org.asteriskjava.manager.internal.ManagerConnectionImpl setProtocolIdentifier INFO: Connected via Asterisk Call Manager/1.1 21 mai 2008 19:35:14 org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin INFO: Successfully logged in 21 mai 2008 19:35:14 org.asteriskjava.manager.internal.ManagerConnectionImpl doLogin INFO: Determined Asterisk version: Asterisk 1.6 Error 21 mai 2008 19:35:14 org.asteriskjava.manager.internal.ManagerConnectionImpl disconnect INFO: Closing socket. 21 mai 2008 19:35:14 org.asteriskjava.manager.internal.ManagerReaderImpl run INFO: Terminating reader thread: No more lines available: null As you can see, there is an *Error* just after the version was determine. Where i'm wrong ? |
From: Martin S. <ma...@be...> - 2008-05-21 13:45:33
|
Hello, "Hold" can be many things -- send your user to a queue or park them with the appropriate action (or exec the action if we don't have it in A-J), or just "Thread.sleep(nnnn)" if you just want them to wait a bit. What are you using in extensions.conf for hold? :) Martin -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of Leonardo Lira Sent: Wednesday, May 21, 2008 7:29 AM To: ast...@li... Subject: [Asterisk-java-users] RES: cdr events on live api Dear All, How do i put a call in hold? I didn´t find any method in the Live/Manager API to realize that. Best regards, Leonardo Lira ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Leonardo L. <leo...@gr...> - 2008-05-21 11:30:49
|
Dear All, How do i put a call in hold? I didn´t find any method in the Live/Manager API to realize that. Best regards, Leonardo Lira ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Asterisk-java-users mailing list Ast...@li... https://lists.sourceforge.net/lists/listinfo/asterisk-java-users |
From: Stefan R. <ste...@re...> - 2008-05-21 09:06:22
|
preetha Ayyappan wrote: > In Agiscript,I am using for loop to play a streamfile until the call is > picked up by the extension.But when remote party hangs up the call,I am > getting the following error continuously.Is there anyway asterisk java > can handle that exception and end the agiscript. No, this is the responsibility of your code, you should wrap the calls to streamfile with a try/catch and handle the exception, if you don't it will show up in the logs. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: preetha A. <pre...@gm...> - 2008-05-21 08:58:32
|
Hi, In Agiscript,I am using for loop to play a streamfile until the call is picked up by the extension.But when remote party hangs up the call,I am getting the following error continuously.Is there anyway asterisk java can handle that exception and end the agiscript. Error: org.asteriskjava.fastagi.AgiNetworkException: Unable to send command to Asterisk: Broken pipe at org.asteriskjava.fastagi.internal.AgiWriterImpl.sendCommand(AgiWriterImpl.java:51) at org.asteriskjava.fastagi.internal.AgiChannelImpl.sendCommand(AgiChannelImpl.java:99) at org.asteriskjava.fastagi.internal.AgiChannelImpl.streamFile(AgiChannelImpl.java:233) at org.asteriskjava.fastagi.AgiOperations.streamFile(AgiOperations.java:296) at CallerId.service(CallerId.java:81) at org.asteriskjava.fastagi.internal.AgiConnectionHandler.runScript(AgiConnectionHandler.java:151) at org.asteriskjava.fastagi.internal.AgiConnectionHandler.run(AgiConnectionHandler.java:116) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Caused by: java.net.SocketException: Broken pipe at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at sun.nio.cs.StreamEncoder.writeBytes(StreamEncoder.java:202) at sun.nio.cs.StreamEncoder.implFlushBuffer(StreamEncoder.java:272) at sun.nio.cs.StreamEncoder.implFlush(StreamEncoder.java:276) at sun.nio.cs.StreamEncoder.flush(StreamEncoder.java:122) at java.io.OutputStreamWriter.flush(OutputStreamWriter.java:212) at java.io.BufferedWriter.flush(BufferedWriter.java:236) at org.asteriskjava.util.internal.SocketConnectionFacadeImpl.flush(SocketConnectionFacadeImpl.java:101) at org.asteriskjava.fastagi.internal.AgiWriterImpl.sendCommand(AgiWriterImpl.java:47) -- Preetha.A |
From: Maciek T. <mlo...@gm...> - 2008-05-21 08:49:31
|
Hi, there is way to find out form wich host we've got event. I've wrote appliction that initializes several ManagerConnection instances to several hosts, main application is listnerer to every connection. In onManagerEvent function I do something like that: String host=((ManagerConnection)(event.getSource())).getHostname(); and now host variable holds the hostname. Regards, Maciek 2008/4/10 Maciek Tokarski <mlo...@gm...>: > Hi all, > I want to develop application that will monitor cluster of Asterisk hosts. > I'm wondering if asterisk-java is able to handle events form many boxes. My > first idea was one main class implementing EventListner and several manager > connections with main class as event listener. But problem comes up when > main class have to find out origin of event (eg. Hostname or IP address). > There is no property such "Source" in events classes. > > Next attempt may be multithread application with some common synchronized > resources. > > Any more ideas?? > > Regards, Maciek > > -- Pozdrawiam Maciek Tokarski |
From: Gabriel B. <elg...@gm...> - 2008-05-20 23:51:40
|
Thanks Stefan it worked out very good Stefan Reuter escribió: > There is a setting in the Asterisk config to enable manage events for > CDR. It's in cdr_manager.conf. > > =Stefan > > Gabriel Bermudez wrote: > >> Hi list, >> >> I'm experimenting with the Live API and have a doubt. I suppose that >> when a Asterisk CDR event triggers the AsteriskChannel changes its >> "callDetailRecord" property, but I'm not receiving the property change >> event on my listener although I register it with the >> AsteriskChannel.addPropertyChangeListener() method. >> Do I have to change a configuration on my asterisk box or I miss >> understood this and Asterisk's CDR events have nothing to do? >> Thanks for your answers. >> > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: Stefan R. <ste...@re...> - 2008-05-20 22:41:04
|
There is a setting in the Asterisk config to enable manage events for CDR. It's in cdr_manager.conf. =Stefan Gabriel Bermudez wrote: > Hi list, > > I'm experimenting with the Live API and have a doubt. I suppose that > when a Asterisk CDR event triggers the AsteriskChannel changes its > "callDetailRecord" property, but I'm not receiving the property change > event on my listener although I register it with the > AsteriskChannel.addPropertyChangeListener() method. > Do I have to change a configuration on my asterisk box or I miss > understood this and Asterisk's CDR events have nothing to do? > Thanks for your answers. -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: Gabriel B. <elg...@gm...> - 2008-05-20 22:21:36
|
Hi list, I'm experimenting with the Live API and have a doubt. I suppose that when a Asterisk CDR event triggers the AsteriskChannel changes its "callDetailRecord" property, but I'm not receiving the property change event on my listener although I register it with the AsteriskChannel.addPropertyChangeListener() method. Do I have to change a configuration on my asterisk box or I miss understood this and Asterisk's CDR events have nothing to do? Thanks for your answers. Regards, |
From: Stefan R. <ste...@re...> - 2008-05-19 16:38:17
|
Eric Windham wrote: > It 'Will' reconnect, or it does automatically reconnect? I've added a section to our FAQ that provided some details on this feature: http://asterisk-java.org/faq =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |
From: Martin S. <ma...@be...> - 2008-05-19 15:54:34
|
Sorry, It definitely does reconnect automatically :). There was one catch in the past, where Asterisk will accept manager connections on startup before the core module is loaded, in which case Asterisk-Java won't be able to figure out what version of Asterisk it is (all the core commands aren't loaded yet), but it reconnect automatically. Thanks, Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 ________________________________ From: ast...@li... [mailto:ast...@li...] On Behalf Of Eric Windham Sent: Monday, May 19, 2008 10:28 AM To: ast...@li... Subject: Re: [Asterisk-java-users] auto-reconnect with asterisk-java It 'Will' reconnect, or it does automatically reconnect? Thanks Eric From: ast...@li... [mailto:ast...@li...] On Behalf Of Martin Smith Sent: Monday, May 19, 2008 9:43 AM To: ast...@li... Subject: Re: [Asterisk-java-users] auto-reconnect with asterisk-java Hi Eric, Yes, Asterisk-Java will reconnect. Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 ________________________________ From: ast...@li... [mailto:ast...@li...] On Behalf Of Eric Windham Sent: Monday, May 19, 2008 9:33 AM To: ast...@li... Subject: [Asterisk-java-users] auto-reconnect with asterisk-java Hello All I was wondering if the Manager piece of asterisk-java had an auto-reconnect feature should the client built with asterisk-java lose it's connection to asterisk. Or is this something I would need to create myself when developing my client solution? Eric Windham Affinity4 |
From: Eric W. <ewi...@af...> - 2008-05-19 14:28:14
|
It 'Will' reconnect, or it does automatically reconnect? Thanks Eric From: ast...@li... [mailto:ast...@li...] On Behalf Of Martin Smith Sent: Monday, May 19, 2008 9:43 AM To: ast...@li... Subject: Re: [Asterisk-java-users] auto-reconnect with asterisk-java Hi Eric, Yes, Asterisk-Java will reconnect. Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 ________________________________ From: ast...@li... [mailto:ast...@li...] On Behalf Of Eric Windham Sent: Monday, May 19, 2008 9:33 AM To: ast...@li... Subject: [Asterisk-java-users] auto-reconnect with asterisk-java Hello All I was wondering if the Manager piece of asterisk-java had an auto-reconnect feature should the client built with asterisk-java lose it's connection to asterisk. Or is this something I would need to create myself when developing my client solution? Eric Windham Affinity4 |
From: Martin S. <ma...@be...> - 2008-05-19 13:43:31
|
Hi Eric, Yes, Asterisk-Java will reconnect. Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 ________________________________ From: ast...@li... [mailto:ast...@li...] On Behalf Of Eric Windham Sent: Monday, May 19, 2008 9:33 AM To: ast...@li... Subject: [Asterisk-java-users] auto-reconnect with asterisk-java Hello All I was wondering if the Manager piece of asterisk-java had an auto-reconnect feature should the client built with asterisk-java lose it's connection to asterisk. Or is this something I would need to create myself when developing my client solution? Eric Windham Affinity4 |
From: Eric W. <ewi...@af...> - 2008-05-19 13:33:16
|
Hello All I was wondering if the Manager piece of asterisk-java had an auto-reconnect feature should the client built with asterisk-java lose it's connection to asterisk. Or is this something I would need to create myself when developing my client solution? Eric Windham Affinity4 |
From: Martin S. <ma...@be...> - 2008-05-19 13:01:55
|
Hello Ivan, I know less than zero about J2ME but your error seems to be specific to J2ME and not Asterisk-Java. From what I can tell, preverification is like ahead-of-time classpath validation. Perhaps you're missing some classes on your classpath? Good luck, Martin Smith, Systems Developer ma...@be... Bureau of Economic and Business Research University of Florida (352) 392-0171 Ext. 221 > -----Original Message----- > From: ast...@li... > [mailto:ast...@li...] On > Behalf Of ivan > Sent: Saturday, May 17, 2008 5:31 AM > To: ast...@li... > Subject: [Asterisk-java-users] Error preverifying > classorg.asteriskjava.AsteriskVersion ?? > > Hi, > I am developing j2me java application - midlet and I need to > make asterisk CLI commands. > I downloaded asterisk-java.jar and imported in my Eclipse > project as a External jar but I keep > getting error : > "Error preverifying class org.asteriskjava.AsteriskVersion". > Is this some known issue ? > What can be the reason for this error? > > sorry for double posting, something went wrong first time... > > Thanks > Ivan > > > -- > HP pisac uz Iskon.DUO pakete- odaberite paket Obitelj, Surf > ili Obitelj+ > i dobivate visenamjenski pisac za samo 1 kn! > Vise o paketima saznajte na http://www.iskon.hr ili na 0800 1000 > > > -------------------------------------------------------------- > ----------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |
From: James H. <jim...@ho...> - 2008-05-18 10:30:22
|
Hi all Have solved the problem. Using the CallDetailRecord I can check if the number dialled was busy using the Disposition. ________________________________ > From: jim...@ho... > To: ast...@li... > Date: Sat, 17 May 2008 16:01:34 +0000 > Subject: [Asterisk-java-users] Dialled Number Busy > > Hi all > > Is there anyway using the AsteriskChannel to find out if the number being dialled is BUSY? Unusually using channel.getState() for mine never hits a busy state? > > Possibly I am doing something wrong? > > Thanks as always in advance, > > ________________________________ > Get 5GB of online storage for free! Get it Now! _________________________________________________________________ http://clk.atdmt.com/UKM/go/msnnkmgl0010000007ukm/direct/01/ |
From: James H. <jim...@ho...> - 2008-05-17 16:01:33
|
Hi all Is there anyway using the AsteriskChannel to find out if the number being dialled is BUSY? Unusually using channel.getState() for mine never hits a busy state? Possibly I am doing something wrong? Thanks as always in advance, _________________________________________________________________ Great deals on almost anything at eBay.co.uk. Search, bid, find and win on eBay today! http://clk.atdmt.com/UKM/go/msnnkmgl0010000004ukm/direct/01/ |
From: ivan <vuc...@ne...> - 2008-05-17 09:30:46
|
Hi, I am developing j2me java application - midlet and I need to make asterisk CLI commands. I downloaded asterisk-java.jar and imported in my Eclipse project as a External jar but I keep getting error : "Error preverifying class org.asteriskjava.AsteriskVersion". Is this some known issue ? What can be the reason for this error? sorry for double posting, something went wrong first time... Thanks Ivan -- HP pisac uz Iskon.DUO pakete- odaberite paket Obitelj, Surf ili Obitelj+ i dobivate visenamjenski pisac za samo 1 kn! Vise o paketima saznajte na http://www.iskon.hr ili na 0800 1000 |
From: ivan <vuc...@ne...> - 2008-05-17 09:26:24
|
-- HP pisac uz Iskon.DUO pakete- odaberite paket Obitelj, Surf ili Obitelj+ i dobivate visenamjenski pisac za samo 1 kn! Vise o paketima saznajte na http://www.iskon.hr ili na 0800 1000 |