[asterisk-dev] [Code Review]: Add Path header support to chan_sip
Matt Jordan
reviewboard at asterisk.org
Sun Feb 24 19:19:37 CST 2013
> On Feb. 23, 2013, 8:32 a.m., Matt Jordan wrote:
> > I did a manual test with a realtime peer and the Path field was properly updated.
> >
> > I am curious if we really need rtsavepath. If a peer has supportpath and is a realtime peer, is there any reason why we wouldn't automatically save the path information to the peer's entry in the database?
>
> Olle E Johansson wrote:
> I would rather avoid it. But wouldn't that require a database schema change for users?
Unfortunately it appears that way. If a realtime backend fails to update a column, the entire update is aborted. It'd be nice if either the realtime backends or the realtime engine were a bit more forgiving that way, but there's obvious trade-offs there.
- Matt
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2235/#review7921
-----------------------------------------------------------
On Feb. 24, 2013, 3:48 a.m., Olle E Johansson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2235/
> -----------------------------------------------------------
>
> (Updated Feb. 24, 2013, 3:48 a.m.)
>
>
> Review request for Asterisk Developers and Klaus Darilion.
>
>
> Summary
> -------
>
> This is continued development based on https://reviewboard.asterisk.org/r/991/ by Klaus Darillion
>
> In that review Klaus wrote:
> "This patch adds support for the Parse header (RFC 3327). This allows to record the Path (route) of incoming REGISTER requests and then reuse the learned path on outgoing out-of-dialog requests as a pre-loaded route set.
>
> I tried to reuse as much of existing code as possible. There are several parts where I am not sure if it is implemented nice and follow chan_sip design rules (are there any?) I will post my questions as a review to myself."
>
> ---
> I have added realtime support and the global flags, as well as some other minor fixes. The bulk of this code is still Klaus' work.
>
>
> This addresses bug ASTERISK-16884.
> https://issues.asterisk.org/jira/browse/ASTERISK-16884
>
>
> Diffs
> -----
>
> /trunk/CHANGES 381912
> /trunk/CREDITS 381912
> /trunk/channels/chan_sip.c 381912
> /trunk/channels/sip/include/sip.h 381912
> /trunk/configs/res_ldap.conf.sample 381912
> /trunk/configs/sip.conf.sample 381912
> /trunk/contrib/realtime/mysql/sippeers.sql 381912
> /trunk/contrib/realtime/postgresql/realtime.sql 381912
> /trunk/contrib/scripts/asterisk.ldap-schema 381912
> /trunk/contrib/scripts/asterisk.ldif 381912
>
> Diff: https://reviewboard.asterisk.org/r/2235/diff
>
>
> Testing
> -------
>
> I have this patch running with and without NAT, but not with realtime. Will test, but have also asked for testers on asterisk-dev. Need help with the LDAP schemas.
>
>
> Thanks,
>
> Olle E
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130225/9ad34bfb/attachment.htm>
More information about the asterisk-dev
mailing list