Posts Tagged custom module

Building module in asterisk part 3

/*
 * Asterisk -- An open source telephony toolkit.
 *
 * Copyright (C) 1999 - 2012, Digium, Inc.
 *
 * Mark Spencer <markster@digium.com>
 *
 * See http://www.asterisk.org for more information about
 * the Asterisk project. Please do not directly 
Read more

, , , , ,

No Comments

Building module in asterisk Part 2

For me previous tutorial “Building module in asterisk P.1” add a new funciton cdr_foobar and register it while loading a module and unregister it while unloading the module.

/*
 * Asterisk -- An open source telephony toolkit.
 *
 * 
Read more

, , , ,

No Comments

Building modules in asterisk part 1

This is a basics of "How to build a module in asterisk " the following example was tested on asterisk 11.5

Create a res_foobar.c file on the asterisk source folder/res directory;

1) Include asterisk header file
	#include "asterisk.h"

2) 
Read more

, , , ,

No Comments