Re: [Asterisk-java-users] class ManagerEvent in the sample HelloEvent
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2006-07-13 20:24:26
|
Haiyin Qiu wrote: > I suppose this method is printout the events respond from asterisk. Is = that=20 > means when i input the IAXpeers, the responds from asterisk?=20 At least in Asterisk 1.2.x the IAXpeers action is almost unusable. If you really need that information i suggest looking at the CommandAction and passing "iax show users". > how can I=20 > specilize it is the event of IAXPEERS directive but not other directive= like=20 > HANDUP? you can use Java's instanceof operator to check for the type of the event= =2E =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |