H's Blog A good shell is the best user interface.

7Feb/115

Asterisk at Home

My sipgate basic account is now serving successfully as SIP trunk for my private Asterisk/FreePBX running in a KVM-virtualized environment.

I used the AsteriskNOW distribution and selected FreePBX. Later I used yum to update the system including Asterisk and the FreePBX update features in the frontend, ending up with a quite up-to-date setup.

The Asterisk-related help at sipgate is not that details, but it was sufficient to get a working setup. Especially the remark about the change in type for Asterisk 1.6 was crucial and helpful.

Now it's time to look for low power hardware for Asterisk and I am not talking about pre-installed distributions, I want to be free to install a customized Asterisk/FreePBX on my own.

Comments (5) Trackbacks (0)
  1. Today I fixed the CDR reports:

    • I first changed my admin password in /etc/amportal.conf, /etc/asterisk/manager.conf.
    • I installed the package asterisk16-addons-mysql to enable CDR transfer into the asteriskcdrdb.
    • I used chown asterisk /var/lib/php/session to fix an issue about access session data for the graphical frontend to CDR recording. The problem was introduced by a system upgrade.
    • I checked the CDR status by calling asterisk -r and asking for cdr show status
  2. eMails about voicebox messages are now showing the correct URL, I can at least use in the local network. I just changed the corresponding text in /etc/asterisk/vm_email.inc. Watch out for the hostname AMPWEBADDRESS and replace it with something that really points to your FreePBX.

  3. Setting up the sipgate trunk includes the following non-default changes:

    • Trunk Name: Name this trunk like “sipgate”.
    • Outbound Caller ID: Your phone number at sipgate
    • Trunk Name: sipgate.de
    • PEER Details
      host=sipgate.de
      username=xxxxxxx
      fromuser=xxxxxxx
      fromdomain=sipgate.de
      secret=ppppppp
      type=friend
      nat=yes
      insecure=invite
    • USER Context: xxxxxxx
    • USER Details
      secret=ppppppp
      type=user
      context=from-trunk
    • Register String: xxxxxxx:ppppppp@sipgate.de/xxxxxxx
  4. After downloading some free voice prompts in German language, 2 changes were necessary to activate the new prompts located in /var/lib/asterisk/sounds/de:

    • File /etc/asterisk/iax_general_custom.conf: language=de
    • File /etc/asterisk/sip_general_custom.conf: language=de
  5. Softphone Overview for Ubuntu 10.04

    • SFLphone: This was really easy, just create an account with Protocol SIP, the Hostname of your Asterisk instance, Username and Password and normally it will just work.
    • Ekiga works with Asterisk: Add a SIP Account with the Asterisk’s Hostname as Registrar and the Extension as (Authenticated) User. I suggest a restart after changes in the Accounts’ settings.
    • Linphone tends to crash. Even though an initial call to the CLI linphonec fixes the crashes on the GUI, there were follow-ups to the problems. The register command will fail on the CLI if parameters are missing. I removed the Lucid release of this package soon after installation.

Leave a comment

(required)

 

No trackbacks yet.