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 !
i would prefer to call sip_trace() up front in the script in order to
avoid calling it many places. currently, however, looks like setting of
traced_user_avp after sip_trace() is called has no effect.
how about if i add a module var delayed_avp_trace (or something) so that if
it has value 1, trusted_user_avp value is checked when the message is
actually stored by sip_trace_store_db function?
-- juha