Showing posts with label Ubuntu. Show all posts
Showing posts with label Ubuntu. Show all posts

Wednesday, January 15, 2014

Patch a asterisk module without breaking package management on Ubuntu


I needed to modify one module (chan_sip) of Asterisk, but was to lazy to download and install Asterisk manually.
  1. Install build-tools
    apt-get install build-essential
  2. Get the source and build dependencies
    apt-get source asterisk
    apt-get build-dep asterisk
  3. Patch or do whatever you wanted.
    ....
  4. Re-compile Asterisk
    ./configure && make
  5. Install the Asterisk module
    cp channels/chan_sip.so /usr/lib/asterisk/modules/
PS: Was done on Ubuntu 13.10.

Tuesday, July 30, 2013

PJSIP library package for Ubuntu

I find it pretty annoying to compile PJSIP on all hosts that I use by hand.
It is quite error-prone and the procedure is quite time-consuming.

So, I created the scripts to setup an Ubuntu packet (at the moment only 13.04). It is available as PPA here: https://launchpad.net/~dennis.guse/+archive/sip-tools

On Ubuntu do the following:
sudo add-apt-repository ppa:dennisguse/sip-tools
sudo apt-get update
sudo apt-get install libpjsip-dev python-pjsip

Features:
* Python-bindings
* SSL

Missing Features:
* Video (some dependencies are missing in Ubuntu 13.04 and will come with 13.10).

Monday, June 1, 2009

Ubuntu-vm-builder default login

Today I created a ubuntu virtual machines with ubuntu-vm-builder. When I tried to login nothing worked. I searched the web and found only the parameter --username, --password and --name. But I can't recreate two VM using an UMTS uplink :(.

I booted one machine (ubuntu jaunty VM) and used the password reset procedure to get a running root shell. In the passwd I found a user ubuntu. I rebooted and used ubuntu:ubuntu as credentials.
Default username: ubuntu
Default password: ubuntu

Thanks to NO documentation and man pages for ubuntu-vm-builder... Addon:
The packet is named python-vm-builder. See also https://help.ubuntu.com/community/JeOSVMBuilder.