due to lack of time just a short hint...
use a CallBackHandler.... (take a look in the docs to get more
information about it) this will give you all the infos you need
synchronously.
regards,
yves
Am 15.11.2012 16:01, schrieb vic neiman:
> Hello everyone,
>
> I write some code to originate a call from a Java app to an Asterisk
> instance that looks like this:
>
> DefaultAsteriskServer astServer = new DefaultAsteriskServer(ip,
> "manager", "password");
> AsteriskChannel asteriskChannel = astServer.
> originateToExtension(channel, context, exten, priority, timeout);
>
> The code works and the call happens but I was expecting the
> AsteriskChannel object to come back populated with data about the
> dailed channel, however, asteriskChannel.getDialedChannel() is set to
> null. Is there a setting on Asterisk that will populate the returned
> object?
>
> What I am looking for is to get information about the call I
> originated back to the Java app -- things like call duration,
> disposition and such.
>
> Regards
>
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov
>
>
> _______________________________________________
> Asterisk-java-users mailing list
> Ast...@li...
> https://lists.sourceforge.net/lists/listinfo/asterisk-java-users
|