[asterisk-dev] [Code Review] 2584: New SIP Channel Driver - SIP Qualify Support

Kevin Harwell reviewboard at asterisk.org
Tue Jun 4 13:00:33 CDT 2013



> On June 3, 2013, 11:48 a.m., Joshua Colp wrote:
> > /team/group/pimp_my_sip/res/res_sip/sip_options.c, lines 218-239
> > <https://reviewboard.asterisk.org/r/2584/diff/2/?file=38914#file38914line218>
> >
> >     As long as we get *any* response back then they are reachable. Actually authenticating can cause useless system load on the remote system.

If they are behind an authenticating proxy then that will indicate the proxy is reachable, but not necessarily the endpoint/contact.  This should allow us to pass through the proxy and check the actual contact.  But potential system load issues may outweigh the need for this?


- Kevin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviewboard.asterisk.org/r/2584/#review8758
-----------------------------------------------------------


On May 31, 2013, 8:05 p.m., Kevin Harwell wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviewboard.asterisk.org/r/2584/
> -----------------------------------------------------------
> 
> (Updated May 31, 2013, 8:05 p.m.)
> 
> 
> Review request for Asterisk Developers.
> 
> 
> Bugs: ASTERISK-21499
>     https://issues.asterisk.org/jira/browse/ASTERISK-21499
> 
> 
> Repository: Asterisk
> 
> 
> Description
> -------
> 
> Completed the work that had been started for SIP qualify support in the new channel driver.  Qualify requests are now sent for every contact associated with an endpoint.  When a contact is registered a check is done to make sure it is available and the round trip time is stored for reference.  The contact continues to be checked at a specified interval (qualify_frequency - now set on the AOR) until it is removed.
> 
> A CLI command ("sip qualify <endpoint>") is also available that when issued will send qualifies for all contacts on the given endpoint.  Also added CLI command "sip show endpoint <endpoint>" that will show all the contacts and their status for the given endpoint.
> 
> 
> Diffs
> -----
> 
>   /team/group/pimp_my_sip/include/asterisk/res_sip.h 390336 
>   /team/group/pimp_my_sip/res/res_sip.c 390336 
>   /team/group/pimp_my_sip/res/res_sip/location.c 390336 
>   /team/group/pimp_my_sip/res/res_sip/sip_configuration.c 390336 
>   /team/group/pimp_my_sip/res/res_sip/sip_options.c 390336 
>   /team/group/pimp_my_sip/res/res_sip_registrar.c 390336 
> 
> Diff: https://reviewboard.asterisk.org/r/2584/diff/
> 
> 
> Testing
> -------
> 
> Manually tested by registering contacts and making sure the qualify requests were sent out and scheduled.
> 
> 
> Thanks,
> 
> Kevin Harwell
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20130604/c9a9eba6/attachment.htm>


More information about the asterisk-dev mailing list