Re: [Asterisk-java-users] Call status tracking HOWTO
Brought to you by:
srt
From: David R. <dr...@in...> - 2007-07-05 11:04:16
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Silvio Bierman wrote: > Can anyone point us in the right direction (preferably a small code > sample) of how to initiate a call and then track the status of that call > (connecting, ringing, answered and various error statusses)? When initiating a call (using the Manager API and the Originate command), set a variable on that call. Then track the events the Manager API emits, if you encounter a NewChannelEvent get the variable from that channel and match it to a call. From there on you can use the channel name to track events. Hope that helps, David Roden - -- INA Service GmbH Papenreye 63 22453 Hamburg Germany Mail: in...@in... Phone: +49 (0)40 557 07-07 Fax: +49 (0)40 557 07-100 Geschäftsführer: Ines M. Hoerner Amtsgericht Hamburg HRB 96470 Ust-IdNr. DE248754961 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGjNAXah2J2g3uuwIRAtIKAJwL+/S6KwzZYN8mhE8veYxpW0/N0QCdHObv paHpMSmx/Dz+mSfbxbf/570= =vDFB -----END PGP SIGNATURE----- |