Re: [Asterisk-java-users] asterisk java and astmanproxy
Brought to you by:
srt
From: Stefan R. <ste...@re...> - 2007-08-01 22:04:29
|
Hi, astmanproxy does not honor the ActionId attribute. The following is a log of an attempt to connect: root@samael:~# ngrep port 1234 interface: eth0 (10.13.0.0/255.255.255.0) filter: (ip or ip6) and ( port 1234 ) #### T 10.13.0.101:1234 -> 10.13.0.57:33060 [AP] Asterisk Call Manager Proxy/1.21.. ## T 10.13.0.57:33060 -> 10.13.0.101:1234 [AP] action: Challenge..actionid: 1246657009_0#..authtype: MD5.... ## T 10.13.0.101:1234 -> 10.13.0.57:33060 [AP] Response: Success # T 10.13.0.101:1234 -> 10.13.0.57:33060 [AP] .. # T 10.13.0.101:1234 -> 10.13.0.57:33060 [AP] Challenge: 168169277 ## T 10.13.0.101:1234 -> 10.13.0.57:33060 [AP] .... #### Asterisk-Java sends an actionId (1246657009_0#) but astmanproxy drops it. Therefore Asterisk-Java has no chance to relate the response to the request and you receive the timeout exception. > This appears to be a timing issue and so may not appear on all systems > or everytime the call is run. > I'm doing further investigation to try and create a patch. >=20 > If anyone knows how to lodge a support request on astmanproxy I would b= e > interested. No I don't. I had a conversation with david some time ago but the without success getting these things fixed. I think astmanproxy would need some serious design changes to be usable for a larger audience... =3DStefan P.S. I've updated the latest version of Asterisk-Java to accept the protocol identifier but that won't help much until at least the action id issue is resolved. --=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... Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |