qmail outbound email monitor / blacklist prevention script.

Origional Post: Stop-Outbound-SMTP-Automatically-on-Mail-Queue-Size-Alert This is cool, HOWEVER how do you send an email if you just blocked outbound email? I’ve updated the line to directly send via my email server, as long as I am not using port 25, I’m fine (I permit internal relay on my internal IP) echo “Port 25 has been disabled in the firewall for outbound Continue reading qmail outbound email monitor / blacklist prevention script.

Raspberry Pi as Night Ringer OR Intercom

Update: Since this post we started using USB Audio dongles for better quality over the internal audio ports, removing the need to use the loopback driver /sbin/modprobe snd-aloop Thanks Ed for the reminder! So I absolutely hate adapting ATA’s or whatever to use with old intercom systems, and Valcom’s solution is way over priced for what most people need. This Continue reading Raspberry Pi as Night Ringer OR Intercom

Hall.com Chat API PHP Example

I was not able to find any good examples so I made one specific for php and hall.com’s api I use it to notify the helpdesk lobby of an incoming call on my freePBX 🙂 <?php function HallAPI($message) { $data = array(“title” => “Alert”, “message” => $message, “picture” => “http://domain.com/logo.jpg”); $data_string = json_encode($data); $result = @file_get_contents(‘https://hall.com/api/1/services/generic/*********APIKEY*******’, null, stream_context_create(array( ‘http’ => Continue reading Hall.com Chat API PHP Example

LLDP for Phones on Dell Powerconnect 35xx

TLDR; quick configure lldp policy for vlan 10 to be voice-vlan. conf lldp med network-policy 1 voice vlan 10 vlan-type tagged dscp 46 lldp med network-policy 2 voice-signaling vlan 10 vlan-type tagged dscp 24 int range ethernet e(1-48) lldp optional-tlv port-desc sys-name sys-desc sys-cap 802.3-mac-phy lldp med enable network-policy location poe-pse inventory lldp med network-policy add 1 lldp med network-policy Continue reading LLDP for Phones on Dell Powerconnect 35xx