Re: [Asterisk-java-users] How to get AsteriskChannel on events
Brought to you by:
srt
From: MT <moh...@gm...> - 2014-01-20 15:06:40
|
Hi, I want to use AgiOperations on some events in ManagerEventListener. but as you said there are differences between AsteriskServer and AgiServer, I decide to change my code and use AsteriskChannel instead of AgiChannel. thanks yves for your support. mohsen On Mon, Jan 20, 2014 at 6:13 PM, Yves A. <yv...@gm...> wrote: > Hi, > > I am afraid.... no, as these are completely different "things"... > What is your objective? Surely there is a way round... > > yves > > > > AsteriskChannel: > > Am 20.01.2014 12:40, schrieb MT: > > Dear yves, > is there anyway to convert AsteriskChannel to AgiChannel? > > mohsen > > > On Mon, Jan 20, 2014 at 3:05 PM, MT <moh...@gm...> wrote: > >> Thanks yves, >> you always have a solution for everything. >> >> you are the best. >> >> >> On Mon, Jan 20, 2014 at 2:24 PM, Yves A. <yv...@gm...> wrote: >> >>> Hi, >>> >>> have you tried the method(s) getChannelById(String id) or >>> getChannelByName(String name) from class (Default)AsteriskServer? >>> >>> yves >>> >>> >>> Am 20.01.2014 11:40, schrieb MT: >>> >>> Hi everyone, >>> I want to use AgiOperations on some events in ManagerEventListener, >>> some of events like NewStateEvent return channel name as string but I >>> want AsteriskChannel to use it for AgiOperations like setting and getting >>> variables on that channel. >>> >>> please help me >>> >>> regards, >>> mohsen >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> CenturyLink Cloud: The Leader in Enterprise Cloud Services. >>> Learn Why More Businesses Are Choosing CenturyLink Cloud For >>> Critical Workloads, Development Environments & Everything In Between. >>> Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk >>> >>> >>> >>> _______________________________________________ >>> Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> CenturyLink Cloud: The Leader in Enterprise Cloud Services. >>> Learn Why More Businesses Are Choosing CenturyLink Cloud For >>> Critical Workloads, Development Environments & Everything In Between. >>> Get a Quote or Start a Free Trial Today. >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> Asterisk-java-users mailing list >>> Ast...@li... >>> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users >>> >>> >> > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Asterisk-java-users mailing lis...@li...https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |