Re: [Asterisk-java-users] still not getting CDR events
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2005-09-15 21:23:40
|
On Wed, 2005-09-14 at 23:27 +0500, SYED ADEEL ALI wrote: > I m using asterisk 1.07 and asterisk-java 0.1 n i've given every > permission (read/write) to the manager as describe in the tutorial as > well as in manager.c > =20 > I m getting all other events .... the CDR has been recorded in MYSQL > database as usual but i m unable to capture it's event .... help me > plzzz >=20 lets have a look if the event is actually sent by asterisk or not. telnet to your asterisk box on port 5038 and send a login action. that should look like: srt@endorsed:~$ telnet pbx0 5038 Trying 10.13.0.100... Connected to pbx0.cologne.reucon.net. Escape character is '^]'. Asterisk Call Manager/1.0 Action: Login Username: manager Secret: obelisk Response: Success Message: Authentication accepted [...] Event: Cdr AccountCode: Source: 1310 Destination: s DestinationContext: default CallerID: Stefan Reuter<1310> Channel: SIP/1310-c8b4 DestinationChannel: LastApplication: Hangup LastData: StartTime: 2005-09-16 05:22:12 AnswerTime: 2005-09-16 05:22:12 EndTime: 2005-09-16 05:22:13 Duration: 1 BillableSeconds: 1 Disposition: ANSWERED AMAFlags: DOCUMENTATION UniqueID: pbx0-cgn-808-1126848132.75 UserField: If you get it via telnet we must investigate Asterisk-Java, if you don't its a problem with Asterisk or its configuration. =3DStefan |