Re: [Asterisk-java-users] Timeout when hanging up
Brought to you by:
srt
From: Brett S. <bs...@no...> - 2005-11-08 11:45:40
|
Thanks for the prompt reply. I'm using asterisk-java 0.2 rc2 and asterisk @ home 1.0.9. Here is the trace: login as: root root@10.0.5.55's password: Last login: Tue Nov 8 09:32:06 2005 from crystalreportsxi.cwmedia.com.au Welcome to Asterisk@Home ------------------------------------------------- For access to the Asterisk@Home web GUI use this URL http://10.0.5.55 For help on Asterisk@Home commands you can use from this command shell type help-aah. [root@asterisk1 root]# ngrep -s 4000 port 5038 interface: eth0 (10.0.0.0/255.255.0.0) filter: ip and ( port 5038 ) #### T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Asterisk Call Manager/1.0.. # T 10.0.0.205:5164 -> 10.0.5.55:5038 [AP] action: Challenge..actionid: 16939420_0#..authtype: MD5.... ## T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Response: Success..ActionID: 16939420_0#..Challenge: 680897534.... # T 10.0.0.205:5164 -> 10.0.5.55:5038 [AP] key: 99fa3b5002176ef1355028ca360e5c0d..action: Login..actionid: 16939420_1# ..authtype: MD5..username: admin.... # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Response: Success.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] ActionID: 16939420_1#.. ## T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Message: Authentication accepted.... # T 10.0.0.205:5164 -> 10.0.5.55:5038 [AP] command: show version files..action: Command..actionid: 16939420_2#.... # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Response: Follows.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] ActionID: 16939420_2#.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Usage: show version. Shows Asterisk version information.. ## T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] --END COMMAND--.... # T 10.0.0.205:5164 -> 10.0.5.55:5038 [AP] action: Status..actionid: 16939420_3#.... # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Response: Success.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] ActionID: 16939420_3#.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Message: Channel status will follow.... # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Event: Status..Channel: SIP/202-d2da..CallerID: <unknown>..Account: ..State : Up..Context: macro-vm..Extension: s-BUSY..Priority: 1..Seconds: 3483..Uni queid: 1131446599.1005..ActionID: 16939420_3#.... ## T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Event: Status..Channel: SIP/202-dda4..CallerID: "brett" <202>..Account: ..S tate: Up..Context: macro-vm..Extension: s-CHANUNAVAIL..Priority: 1..Seconds : 5195..Uniqueid: 1131444894.829..ActionID: 16939420_3#....Event: Status..C hannel: SIP/202-fb58..CallerID: <unknown>..Account: ..State: Up..Context: m acro-vm..Extension: s-BUSY..Priority: 1..Seconds: 17593..Uniqueid: 11314324 90.18..ActionID: 16939420_3#....Event: StatusComplete..ActionID: 16939420_3 #.... ## T 10.0.0.205:5164 -> 10.0.5.55:5038 [AP] action: Originate..timeout: 30000..actionid: 16939420_4#..exten: 202..async : true..context: default..priority: 1..channel: SIP/202.... # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Event: Newchannel.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Channel: SIP/202-91c6..State: Down..CallerID: <unknown>..Uniqueid: 11314500 89.1011.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] .. ## T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Response: Success.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] ActionID: 16939420_4#.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Message: Originate successfully queued.... ## T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Event: Newchannel.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Channel: SIP/202-91c6..State: Ringing..CallerID: <unknown>..Uniqueid: 11314 50089.1011.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] .. ## T 10.0.0.205:5164 -> 10.0.5.55:5038 [AP] action: Hangup..actionid: 16939420_5#..channel: SIP/202-91c6.... # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Response: Success.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] ActionID: 16939420_5#.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Message: Channel Hungup.... ## T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Event: Hangup.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Channel: SIP/202-91c6..Uniqueid: 1131450089.1011..Cause: 16.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] .. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Event: OriginateFailure.. ## T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] ActionID: 16939420_4#..Channel: SIP/202..Context: default..Exten: 202.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] .. ### T 10.0.0.205:5164 -> 10.0.5.55:5038 [AP] action: Logoff..actionid: 16939420_6#.... # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Response: Goodbye.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] ActionID: 16939420_6#.. # T 10.0.5.55:5038 -> 10.0.0.205:5164 [AP] Message: Thanks for all the fish..... #### Stefan Reuter wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hi Brett, > >your code looks ok. >If you receive a TimeoutException this indicates that Astersik does not >return a Response to your Action. >I just tried your code with Asterisk CVS-HEAD and it I dont get any >timeout. What version of Asterisk and Asterisk-Java do you use? > >It would help if you could send me a trace of the conversation between >Asterisk and your application. >I usually generate them using ngrep on my Asterisk server >(ngrep -s 4000 port 5038 works well). >Then we can quickly see the cause of this problem. > >=Stefan >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.4.2 (MingW32) >Comment: GnuPT 2.7.2 >Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org > >iD8DBQFDcIrSTUZ7XZofpgURAtaEAKCcVYMBzdjYOjJmxgvGW02B0JRi9QCgv+HM >OI5pyRbOG6hc0MoeqpyXLPk= >=cwpS >-----END PGP SIGNATURE----- > > >------------------------------------------------------- >SF.Net email is sponsored by: >Tame your development challenges with Apache's Geronimo App Server. Download >it for free - -and be entered to win a 42" plasma tv or your very own >Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php >_______________________________________________ >Asterisk-java-users mailing list >Ast...@li... >https://lists.sourceforge.net/lists/listinfo/asterisk-java-users > > |