Skip to content

Instantly share code, notes, and snippets.

@gumo78
gumo78 / kamailio.cfg
Created August 24, 2017 11:13 — forked from soufianeEL/kamailio.cfg
Kamailio.cfg with SIP over websockets support included and PostgreSQL as database engine ( Kamailio v=4.1.3 )
#!KAMAILIO
#
# Kamailio (OpenSER) SIP Server v4.1 - default configuration script
# - web: http://www.kamailio.org
# - git: http://sip-router.org
#
# Direct your questions about this file to: <sr-users@lists.sip-router.org>
#
# Refer to the Core CookBook at http://www.kamailio.org/wiki/
@gumo78
gumo78 / cdr.sql
Last active August 22, 2017 11:26 — forked from PBXForums/freeswitch.sql
Postgres Freeswitch DB Schema for 1.6
create table cdr (
id serial primary key,
local_ip_v4 inet not null,
caller_id_name varchar,
caller_id_number varchar,
destination_number varchar not null,
context varchar not null,
start_stamp timestamp with time zone not null,
answer_stamp timestamp with time zone,
end_stamp timestamp with time zone not null,