Displaying 4 results from an estimated 4 matches for "hispaddr".
Did you mean:
hisiaddr
2004 Nov 29
1
Polycom Reboot Script PRI errors!!
...etprotobyname('udp');
> socket( SOCKET, PF_INET, SOCK_DGRAM, $proto );
> $iaddr = inet_aton("$phone_ip");
> $paddr = sockaddr_in( 5060, $iaddr );
> bind( SOCKET, $paddr );
> $port = 5060;
>
> $hisiaddr = inet_aton($phone_ip);
> $hispaddr = sockaddr_in( $port, $hisiaddr );
>
> if ( send( SOCKET, $MESG, 0, $hispaddr ) ) {
> print "reboot of phone ", "$phone_ip", " was successful", "\n";
> }
> else { print "reboot of phone ", "$phone_ip", &...
2004 Jan 22
2
Polycom Reboot Script - Please wiki-size me
...ntent-Length: 0
";
$proto = getprotobyname('udp');
socket( SOCKET, PF_INET, SOCK_DGRAM, $proto );
$iaddr = inet_aton("$phone_ip");
$paddr = sockaddr_in( 5060, $iaddr );
bind( SOCKET, $paddr );
$port = 5060;
$hisiaddr = inet_aton($phone_ip);
$hispaddr = sockaddr_in( $port, $hisiaddr );
if ( send( SOCKET, $MESG, 0, $hispaddr ) ) {
print "reboot of phone ", "$phone_ip", " was successful", "\n";
}
else { print "reboot of phone ", "$phone_ip", " failed", "...
2003 Jun 24
0
SIP REGISTER script
...q: $seq REGISTER
Expires: 3700
Content-Length: 0
";
$proto = getprotobyname('udp');
socket(SOCKET, PF_INET, SOCK_DGRAM, $proto) ;
$iaddr = inet_aton("$local_ip");
$paddr = sockaddr_in(5060, $iaddr);
bind(SOCKET, $paddr) ;
$port=5060;
$hisiaddr = inet_aton($proxy_ip) ;
$hispaddr = sockaddr_in($port, $hisiaddr);
send(SOCKET, $MESG, 0,$hispaddr ) || warn "send $host $!\n";
}
---------------------------- cut here -------------------------------
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