[sr-dev] aastra outbound support

Daniel-Constantin Mierla miconda at gmail.com
Mon Feb 23 22:18:01 CET 2015


Hello,

reg-id=0 is considered like no-outbound is advertised, so probaly  no
real outbound routing is done. If that's ok for you, then you can test a
bit for side effects and keep the patch to run for you until aastra is
fixing it.

Cheers,
Daniel

On 23/02/15 21:21, GG GG wrote:
> 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 !
>
>
> _______________________________________________
> sr-dev mailing list
> sr-dev at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev

-- 
Daniel-Constantin Mierla
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
Kamailio World Conference, May 27-29, 2015
Berlin, Germany - http://www.kamailioworld.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-dev/attachments/20150223/c69d9fd2/attachment.html>


More information about the sr-dev mailing list