[Asterisk-Users] split line authorization problem (ATL IP400 phone)

Stephen J. Wilcox steve at telecomplete.co.uk
Mon Nov 21 07:30:50 MST 2005


Hi,
 I'm using an ATL IP400 phone and cant get it to register, it fails with:

chan_sip.c:9405 handle_request_register:  Registration from 'xx <sip:xx at yy>'
failed for 'x.x.x.x'

looking at the register request i notice two things:

Authorization: Digest username="xx",realm="telecomplete",nonce="30c9c7a4",uri="sip:yy",
 response="d42ad1c6bb1ccce2374e8fef69a92704"

it does not specify algorithm=md5 and the Authorization line is split onto two 
lines.

Looking at the code, it doesnt seem to check for the algorithm field so i'm 
thinking that part is okay, but i cant confirm if it is parsing the SIP headers 
and joining up the split lines before it carries out check_auth.

any ideas?

thanks
Steve





More information about the asterisk-users mailing list