This is lovely. I was able to get the SPA_3102 to register ONCE, then I rebooted it (not making any configuration changes) and now get the following message in asterisk:
*CLI> NOTICE[25269248]: File chan_sip.c, Line 5216 (handle_request): Registration from 'EXTENTION 2001 <sip:EXT2001@192.168.0.67>' failed for '192.168.0.30'
I looked up that code, and it's just a strcat. WTF kind of error is this?!
Source:
http://www.asterisk.org/doxygen/chan__sip_8c.html Code:
05214 /* If we have only digits, add ;user=phone to the uri */
05215 if (onlydigits)
05216 strcpy(urioptions, ";user=phone");
05217 }