Re: [Asterisk-java-users] Cannot Run HelloEvents Example
Brought to you by:
srt
From: Stefan R. <ste...@re...> - 2007-01-16 02:49:54
|
Burak Do=C4=9Fru=C3=B6z wrote: > But, I couldn=E2=80=99t succeed to login using challenge action from te= lnet, > however i might be sending the commands in wrong order (i am not sure > about the exact format) The error sounds strange... Could you try it with telnet? The steps are: srt@samael:~$ telnet pbx0 5038 Trying 10.13.0.102... Connected to pbx0.cologne.reucon.net. Escape character is '^]'. Asterisk Call Manager/1.0 ActionId: 1 Action: Challenge AuthType: md5 Response: Success ActionID: 1 Challenge: 203694441 ActionId: 2 Action: Login Username: manager AuthType: md5 Key: 1ecee6724e5c94a38a79d341f327f997 Response: Success ActionID: 2 Message: Authentication accepted The key is the md5sum of the challenge + your password. Example (my password is "obelisk"): srt@samael:~$ echo -n '203694441obelisk' | md5sum 1ecee6724e5c94a38a79d341f327f997 - =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... |