[asterisk-dev] [Code Review] chan_sip: Manager action SIPQualifyPeer response changes
Olle E Johansson
reviewboard at asterisk.org
Fri Sep 7 07:06:58 CDT 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2098/#review7023
-----------------------------------------------------------
Ship it!
Well, we have two scenarios. One is when the device actually already is monitored, where we in theory could respond directly based on the existing status. The other is when a device is not monitored at all, where we have to send a result as it comes in - or it fails due to lag or no result. I think we should behave the same way regardless of current monitoring state.
Good work!
/O
/trunk/channels/chan_sip.c
<https://reviewboard.asterisk.org/r/2098/#comment13630>
Maybe SIpQualifyPeerResult?
Complete is usually at the end of a listing.
- Olle E
On Sept. 6, 2012, 11:47 a.m., jrose wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2098/
> -----------------------------------------------------------
>
> (Updated Sept. 6, 2012, 11:47 a.m.)
>
>
> Review request for Asterisk Developers, Olle E Johansson and Matt Jordan.
>
>
> Summary
> -------
>
> Last week a patch was made to add some feedback for SIPQualifyPeer upon completion. Olle brought up the point that sip_poke_peer may take a considerable amount of time to resolve, so this patch adds an acknowledgement of 'will qualify' right before performing the sip_poke_peer. The response upon completion of the poke has been removed and instead an event is in place (SIPQualifyPeerComplete) to address that.
>
> Matt mentioned in the same email thread that the event itself may not be necessary. Further discussion didn't take place, so that needs to be answered. If we decide the event is appropriate, it will need to be documented.
>
>
> This addresses bug AST-969.
> https://issues.asterisk.org/jira/browse/AST-969
>
>
> Diffs
> -----
>
> /trunk/channels/chan_sip.c 371997
>
> Diff: https://reviewboard.asterisk.org/r/2098/diff
>
>
> Testing
> -------
>
> The simple stuff, ran qualify peer event and made sure the response and event went through as expected.
>
>
> Thanks,
>
> jrose
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20120907/1fe9552a/attachment.htm>
More information about the asterisk-dev
mailing list