From 69401f3e7b68bbce098fc77d345587e5d96239b5 Mon Sep 17 00:00:00 2001 From: Ciaby Date: Mon, 24 Aug 2015 17:12:30 +0200 Subject: [PATCH] RTP-bridge support Change config files for FreeSWITCH, LCR and OpenBSC --- .../files/etc/freeswitch/sip_profiles/internal.xml | 4 ++-- modules/rhizo_base/files/usr/etc/lcr/interface.conf | 10 +++++----- modules/rhizo_base/templates/osmo-nitb.cfg.erb | 8 ++++++++ 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/modules/rhizo_base/files/etc/freeswitch/sip_profiles/internal.xml b/modules/rhizo_base/files/etc/freeswitch/sip_profiles/internal.xml index c7e3d60..5297d5c 100644 --- a/modules/rhizo_base/files/etc/freeswitch/sip_profiles/internal.xml +++ b/modules/rhizo_base/files/etc/freeswitch/sip_profiles/internal.xml @@ -91,9 +91,9 @@ - + - + diff --git a/modules/rhizo_base/files/usr/etc/lcr/interface.conf b/modules/rhizo_base/files/usr/etc/lcr/interface.conf index 7177508..d306df2 100644 --- a/modules/rhizo_base/files/usr/etc/lcr/interface.conf +++ b/modules/rhizo_base/files/usr/etc/lcr/interface.conf @@ -3,15 +3,15 @@ gsm-bs tones yes earlyb no # These two lines enable RTP bridging -#bridge Ext -#rtp-bridge +bridge Ext +rtp-bridge [Ext] #sip [:] [:] -sip 127.0.0.1:5050 127.0.0.1:5060 +sip 172.16.0.1:5050 172.16.0.1:5060 earlyb yes tones yes extern # These two lines enable RTP bridging -#bridge gsm -#rtp-bridge +bridge gsm +rtp-bridge diff --git a/modules/rhizo_base/templates/osmo-nitb.cfg.erb b/modules/rhizo_base/templates/osmo-nitb.cfg.erb index 3139405..d9e0031 100644 --- a/modules/rhizo_base/templates/osmo-nitb.cfg.erb +++ b/modules/rhizo_base/templates/osmo-nitb.cfg.erb @@ -6,6 +6,7 @@ password foo log stderr logging filter all 1 logging color 1 + logging print category 0 logging timestamp 0 logging level all notice logging level rll notice @@ -31,6 +32,7 @@ log stderr logging level nat notice logging level ctrl notice logging level smpp notice + logging level filter notice logging level lglobal notice logging level llapd notice logging level linp notice @@ -38,6 +40,8 @@ log stderr logging level lmi notice logging level lmib notice logging level lsms notice + logging level lctrl notice + logging level lgtp notice ! line vty no login @@ -404,9 +408,13 @@ network mncc-int default-codec tch-f fr default-codec tch-h hr +nitb + subscriber-create-on-demand + no assign-tmsi smpp local-tcp-port 2775 policy closed + smpp-first esme OSMPP password <%= @smsc_password %> default-route