Hi All,
Can someone point me in the right direction of a command line SIP Ping
utility or how to invoke from Kamailio? I see there is a sip_ping.pl
script in voip-hacks, does anyone have copy-paste text version of
that, all I can find is the PDF?
Thanks.
JR
--
JR Richardson
Engineering for the
JR Richardson writes:
> Can someone point me in the right direction of a command line SIP Ping
> utility or how to invoke from Kamailio?
you can use sipsak as command line ping tool. tm module has t_uac
function that you can invoke via mi interface. i do not have any scripts
for you.
-- juha
Hey JR...
I use this:
#! /usr/bin/perl -w
use IO::Socket;
use POSIX 'strftime';
my ($msg,$remotehost,$callid,$socket,$date,$branch,$localip,$dest);
$remotehost = $ARGV[0]
or die "FAIL \(no host defined\)\n";
if ($ARGV[1]) {
$remoteport = $ARGV[1];
} else {
On Fri, Oct 15, 2010 at 10:22 AM, Fred Posner wrote:
> Hey JR...
>
> I use this:
>
> #! /usr/bin/perl -w
> use IO::Socket;
> use POSIX 'strftime';
>
> my ($msg,$remotehost,$callid,$socket,$date,$branch,$localip,$dest);
>
> $remotehost = $ARGV[0]
> or die "FAIL \(no host defined\)\n";
>
> if
On Oct 15, 2010, at 11:42 AM, JR Richardson wrote:
> On Fri, Oct 15, 2010 at 10:22 AM, Fred Posner wrote:
>> Hey JR...
>>
>> I use this:
>>
>> #! /usr/bin/perl -w
>> use IO::Socket;
>> use POSIX 'strftime';
>>
>> my ($msg,$remotehost,$callid,$socket,$date,$branch,$localip,$dest);
>>
>> $remot
On Fri, Oct 15, 2010 at 10:50 AM, Fred Posner wrote:
> On Oct 15, 2010, at 11:42 AM, JR Richardson wrote:
>
>> On Fri, Oct 15, 2010 at 10:22 AM, Fred Posner wrote:
>>> Hey JR...
>>>
>>> I use this:
>>>
>>> #! /usr/bin/perl -w
>>> use IO::Socket;
>>> use POSIX 'strftime';
>>>
>>> my ($msg,$remoteh
15 okt 2010 kl. 17.42 skrev JR Richardson:
> On Fri, Oct 15, 2010 at 10:22 AM, Fred Posner wrote:
>> Hey JR...
>>
>> I use this:
>>
>> #! /usr/bin/perl -w
>> use IO::Socket;
>> use POSIX 'strftime';
>>
>> my ($msg,$remotehost,$callid,$socket,$date,$branch,$localip,$dest);
>>
>> $remotehost =
>
> JR, if you don't already know SIPSAK, go download it. It's what I use in
> Nagios and many other scripts.
> Nils has done a great job with it.
>
> /O=
Thanks Olle, I'll check it out.
JR
___
SIP Express Router (SER) and Kamailio (OpenSER) - sr-use