On Fri, Nov 11, 2011 at 5:20 PM, Florian Haas <[email protected]> wrote:
> On 2011-11-11 21:41, Russell Bryant wrote:
>> You're right that SIPp isn't packaged really, but it would have to be
>> an optional feature of the resource agent regarless of what utilities
>> it uses.  A little 'nc' based hack might work.  You wouldn't be able
>> to do any validation of the message, but all you really care about is
>> that a packet came back.  Another utility to look at is 'sipsak'.  I
>> see that on both Ubuntu and Fedora (those are the only ones I
>> checked).
>
> https://github.com/fghaas/resource-agents/commit/ac34c61cc209c389c4501a9f4a699a23e803a0f6#heartbeat/asterisk
>
> Does this look reasonable to you?
>
> In case you're unfamiliar with our function library: ocf_run runs a
> command and captures its output, but only writes the output to the logs
> if the command returned an error.

Cool, that wasn't so bad.  :-)

Looks good to me.

On a related note, looks like sipsak is broken in Fedora so I'll have
to file a bug on that.

$ sipsak -v -s sip:[email protected]
Segmentation fault

I tried it on another system and it worked fine, though.

-- 
Russell Bryant
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to