Re: [Asterisk-java-users] Call status tracking HOWTO
Brought to you by:
srt
From: Silvio B. <sbi...@ja...> - 2007-07-06 09:27:11
|
Hello David, Thank you and Stefan for your responses. We tried this earlier, and after reading your messages also the async way. The problem is that we get a very limited number of events. We never see events like RINGING, BUSY or whatever. Just an immediate UP event and finally a DOWN event. Any idea if we are doing something wrong or should configure things differently? Kind regards, Silvio Bierman David Roden wrote: > -----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----- > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Asterisk-java-users mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > |