Asterisk/FreePbx 12 – How to solve error Permission denied (13) in /var/www/html/admin/config.php on line 68

monkey-customer-serviceAfter upgrading to Asterisk/FreePbx 12 happenz the next error

PHP Warning:  session_start(): open(/var/lib/php/session/ failed.... Permission denied (13) in /var/www/html/admin/config.php on line 68

Praticaly when you login to freepbx web interface, and select any item in the menu, you will return to login page !

To solve

chown -R asterisk:asterisk /var/lib/php/session

Asterisk & FreePbx – Voicemail toggle

VoicemailIMHO many users don’t want the voicemail funct, but they want be able to access to the user portal (ARI) to see the CDR call list and the other stuff or, more easily, they want to activate-deactivate individually voicemail funct using a code on the phone, as in other pbx.

So far this feature has not been implemented in Asterisk/FreePBX: so I have implemented a very simple voicemail toggle, so a user can enable/disable the voicemail (like the Follow-me). Continue reading

Configuring Asterisk for Skype Connect

Old Italian Phone

Old Italian Phone device

This post is intended to provide some basic guidance in configuring Skype Connect SIP Channels with Asterisk/Freepbx using SIP Trunk.

-- General Settings --
Outbound Caller ID: 99051000xxxxxx <Skype Connect registration ID>
Maximum Channels: 1 <The number of channels you purchased from Skype>

Dialed Number Manipulation Rules
(0039) + <prefix = NULL> | 0Z.
(0039) + <prefix = NULL> | 3Z.

-- Outgoing Settings --

Trunk Name: SkypeConnect <This can be whatever you want>

PEER Details:
username=99051000xxxxxx ; This is your Skype Connect registration ID
secret=xxxxxxxx ; This is your Skype Connect registration password
type=peer
qualify=yes
insecure=invite
host=sip.skype.com
fromdomain=sip.skype.com
disallow=all
allow=alaw&ulaw&g729
fromuser=99051000xxxxxx ; This is your Skype Connect registration ID

-- Registration --
Registration String: 99051000xxxxxx:<password>@sip.skype.com/99051000xxxxxx

Continue reading

Configure a LinkSys SPA942 with Asterisk 1.8

In this post I will show you how to connect & configure one IpPhone Linksys SPA942 using an Asterisk Pbx 1.8: I hope this can help you with other similar IpPhones (Linksys SPA942 is in “End-of-sale “)

To start you have to verify the firmware version used by the phone: connect to the web interface on the IpPhone and check the info tab check.

LinkSys SPA942 - Firmware version
Continue reading