Asterisk VoIP : Getting your outbound CallerID to show properly

We lately ran into a scenario where our asterisk server is connected via SIP trunk to our DID provider (mydivert.com). Our PABX server opens a single SIP trunk to the provider, however we have multiple DIDs running over this trunk. Having multiple DIDs means we can use multiple phone numbers, in different countries, benefiting from … Continue reading Asterisk VoIP : Getting your outbound CallerID to show properly

Advertisements

Nugget Post : Beyond basic SED

Interesting problem to solve with sed. Given the following file: [firstCompany-1-restricted-internal] exten => _1XX,1,Goto,(from-internal,${EXTEN},1) exten => _881XX,1,Goto(from-internal,${EXTEN},1) exten => _XXX,1,Goto(app-blackhole,congestion,1) exten => _XXXXX,1,Goto(app-blackhole,congestion,1) exten => _9XXXX.,1,Dial(SIP/BRI_1_OUT/${EXTEN},60) exten => h,1,Hangup() [secondCompany-2-restricted-internal] exten => _2XX,1,Goto,(from-internal,${EXTEN},1) exten => _882XX,1,Goto(from-internal,${EXTEN},1) exten => _XXX,1,Goto(app-blackhole,congestion,1) exten => _XXXXX,1,Goto(app-blackhole,congestion,1) exten => _[*0-9]!,1,Set(restprefix=1001992) exten => _[*0-9]!,1,Goto(from-internal,${restprefix}${EXTEN},1) exten => h,1,Hangup() We'd like to be … Continue reading Nugget Post : Beyond basic SED

Web MeetMe : Conferencing in FreePBX

The company I work for currently uses TrixBox as their VoIP server. It's an excellent piece of software but being no longer supported, the decision was taken to upgrade to the later and more active FreePBX. Since they are both built around the asterisk core, I figured this upgrade wouldn't be too much of a … Continue reading Web MeetMe : Conferencing in FreePBX

Connecting to a Palo Alto Network GlobalProtect Gateway from Linux

Please note: this software has only been officially tested on Ubuntu and CentOS distributions. The VPN software uses community based vpnc software, please direct support questions about the actual client to your distribution's support channels. The following documentation is based on Ubuntu 12.04 LTS - Install the following packages on your system: * network-manager-vpnc * … Continue reading Connecting to a Palo Alto Network GlobalProtect Gateway from Linux

Adding agentless Windows WMI monitoring to Nagios

There are a couple of well documented methods to monitor Windows machines from Nagios. The most popular of these seems to be NRPE. This method works very well, but the biggest downside for me was the need to install a client on every machine that needed to be monitored. WMI seemed to be the best … Continue reading Adding agentless Windows WMI monitoring to Nagios

Check_mk, pnp4nagios and mod_gearman

Ever since i've been working with Centreon, I've found it to be a relatively stable all-in-one solution. Its all-in-one aspect makes it extremely convenient (for example, graphing is taken care of without any third part modules. Moreover, since Centreon is built on top of nagios / icinga, you get to all the openness, and flexibility … Continue reading Check_mk, pnp4nagios and mod_gearman

Bash scripting: another use for “DD”

For most linux users, "dd" is mostly used when dealing with disk issues, such as copying one disk to another (byte for byte) creating an ISO from a CD/DVD, and so on. I personally didnt know what else I would use dd for until I ran across a particular need.... I needed my linux script … Continue reading Bash scripting: another use for “DD”