Re: [Asterisk-java-users] TimeoutException at logoff
Brought to you by:
srt
From: Stefan R. <ste...@re...> - 2007-02-03 14:47:43
|
Hi, > ManagerConnection.sendEventGeneratingAction() and OriginateAction. > After receiving the corresponding CdrEvent we disconnect it with logoff= > method. The problem is that this logoff throws an Exception: >=20 > net.sf.asterisk.manager.TimeoutException: Timeout waiting for response = to > Logoff at > net.sf.asterisk.manager.DefaultManagerConnection.sendAction(DefaultMana= gerCo > nnection.java:634) at > net.sf.asterisk.manager.DefaultManagerConnection.sendAction(DefaultMana= gerCo > nnection.java:600) at > net.sf.asterisk.manager.DefaultManagerConnection.logoff >=20 > As we could verify, the Manager Connection was logged off in Asterisk, = but > in the Framework the ManagerConnection are still alive. >=20 > Any idea or suggestion? Can you provide a network dump of what's going on there? Use ngrep to sniff the network traffic to/from Asterisk's Manager API. You can either run ngrep on the Asterisk box or on the client that runs the Asterisk-Java based application. ngrep -s 4000 port 5038 -T =3DStefan --=20 reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... |