Hi !
Aastra phone can support outbound (RFC 5626) but they put reg-id=0 in the
SIP REGISTER.
So the registrar server can't save the AOR and says "invalid reg-id value".
I know Aastra should change that for reg-id=1, I already reported an issue
but no feedback...
Finally I applied a patch in modules/registrar/save.c:
-- if(str2int(&_c->reg_id->body, &ci.reg_id)<0 || ci.reg_id==0)
++ if(str2int(&_c->reg_id->body, &ci.reg_id)<0)
{
LM_ERR("invalid reg-id value\n");
goto error;
}
Do you think it's safe to do that ?
Thank you !