[sr-dev] aastra outbound support

GG GG ggcoding at gmail.com
Mon Feb 23 21:21:10 CET 2015


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 !
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150223/59a5c54b/attachment.html>


More information about the sr-dev mailing list