Displaying 4 results from an estimated 4 matches for "reboot_sip_phone".
2004 Nov 29
1
Polycom Reboot Script PRI errors!!
...ep your config files
> $arp = '/sbin/arp'; # Location of arp command
> $sipserver = '192.168.XXX.XXX'; # IP of asterisk server
>
> $phone = shift;
>
> checkphone("$phone");
> touch( arp2config("$phone") );
>
> reboot_sip_phone( "$phone", "$sipserver", "Reboot" );
>
> sub checkphone { # Checks for existence of phone, makes sure
> # it's in arp table
> $activephone = shift;
>
> # Populate ARP table
> print "Checking ARP table.\n"...
2004 Jan 22
2
Polycom Reboot Script - Please wiki-size me
...th = '/home/poly/'; # Where you keep your config files
$arp = '/sbin/arp'; # Location of arp command
$sipserver = '192.168.XXX.XXX'; # IP of asterisk server
$phone = shift;
checkphone("$phone");
touch( arp2config("$phone") );
reboot_sip_phone( "$phone", "$sipserver", "Reboot" );
sub checkphone { # Checks for existence of phone, makes sure
# it's in arp table
$activephone = shift;
# ARP table needs our phone
print "Checking ARP table.\n";
$p = Net:...
2005 Aug 28
3
Polycom Reboot Script
...tring at
./polycom_reboot.pl line 99, <ARP> line 3.
reboot of phone 192.168.3.205 was successful
While it does say it is successful, I can tell you the phone does NOT
reboot.
line 97 looks like this:
$call_id = $tm . "msgto$sip_to";
It's part of this sub routine:
sub reboot_sip_phone { # Send the phone a check-sync to reboot it
$phone_ip = shift;
$local_ip = shift;
$sip_to = shift;
$sip_from = "asterisk";
$tm = time();
$call_id = $tm . "msgto$sip_to";
$httptime = `date -R`;
$MESG = "NOTIFY sip:$sip_to\@$p...
2003 May 06
1
SIP NOTIFY Message
any way the you can get * to send a NOTIFY SIP message to all SIP phones? to have the SIP sets recheck thier configs etc??
Like this?
NOTIFY sip:sip@192.168.0.3:5060 SIP/2.0
Via: SIP/2.0/UDP ipaddress:5060;branch=1
Via: SIP/2.0/UDP ipaddress
From: <sip:webadim@192.168.0.1>
To: <sip:sip@192.168.0.3>
Event: check-sync
Date: Mon, 10 Jul 2000 16:28:53 -0700
Call-ID: test@192.168.0.1