Skip to content

Instantly share code, notes, and snippets.

View ssinyagin's full-sized avatar

Stanislav Sinyagin ssinyagin

View GitHub Profile
@ssinyagin
ssinyagin / atom01
Created October 12, 2013 02:48
FreeSWITCH performance on Atom CPU
root@atom01:~# cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 54
model name : Intel(R) Atom(TM) CPU N2600 @ 1.60GHz
stepping : 1
microcode : 0x10d
cpu MHz : 600.000
cache size : 512 KB
<!-- 7390: VUC conference -->
<extension name="forward_7390">
<condition field="destination_number" expression="^7390$">
<action application="bridge" data="sofia/external/200901@login.zipdx.com"/>
</condition>
</extension>
<!-- 7394: VUC conference via e164.org -->
<extension name="forward_7394">
<condition field="destination_number" expression="^7394$">
@ssinyagin
ssinyagin / cli.log
Created November 1, 2012 22:26
freeswitch sbc: gateway variables
2012-11-01 23:24:52.507287 [NOTICE] switch_channel.c:951 New Channel sofia/outside/0794070224@212.117.203.41 [f4b8691e-2472-11e2-bd2e-b701f648768e]
2012-11-01 23:24:52.507287 [DEBUG] switch_core_session.c:905 Send signal sofia/outside/0794070224@212.117.203.41 [BREAK]
2012-11-01 23:24:52.507287 [DEBUG] switch_core_session.c:905 Send signal sofia/outside/0794070224@212.117.203.41 [BREAK]
2012-11-01 23:24:52.507287 [DEBUG] switch_core_state_machine.c:398 (sofia/outside/0794070224@212.117.203.41) Running State Change CS_NEW
2012-11-01 23:24:52.507287 [DEBUG] switch_core_state_machine.c:416 (sofia/outside/0794070224@212.117.203.41) State NEW
2012-11-01 23:24:52.527245 [DEBUG] sofia.c:6282 Channel sofia/outside/0794070224@212.117.203.41 entering state [received][100]
2012-11-01 23:24:52.527245 [DEBUG] sofia.c:6293 Remote SDP:
v=0
o=Sippy 25552224 0 IN IP4 212.117.203.41
@ssinyagin
ssinyagin / syslog.log
Created September 30, 2012 11:01
Winkstart failing to get account details
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|v1_resource:74 (<0.599.0>) OPTIONS: /v1/accounts/896f0df4b4412e98ed82ef1b0bb24170?_=1349002744219
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|v1_util:371 (<0.599.0>) mod accounts has params [<<"896f0df4b4412e98ed82ef1b0bb24170">>]
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|v1_util:119 (<0.599.0>) undefined content type when getting req data, assuming application/json
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|v1_util:290 (<0.599.0>) request had no payload
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|crossbar_bindings:462 (<0.599.0>) exact match <<"v1_resource.allowed_methods.accounts">> to <<"v1_resource.allowed_methods.accounts">>
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|v1_util:330 (<0.599.0>) sticking with method OPTIONS
Sep 30 12:58:24 kz02 2600hz[2097]: |b34296dd2916c76ac9b4c6ee8f27e709|v1_resource:146 (<0.599
@ssinyagin
ssinyagin / kz02_squeese.log
Created August 29, 2012 18:58
kazoo on debian
mkdir -p /var/lib/xen/images/debian/squeeze
cd /var/lib/xen/images/debian/squeeze
wget http://mirror.switch.ch/ftp/mirror/debian/dists/squeeze/main/installer-amd64/current/images/netboot/xen/initrd.gz
wget http://mirror.switch.ch/ftp/mirror/debian/dists/squeeze/main/installer-amd64/current/images/netboot/xen/vmlinuz
lvcreate -L 20G -n kz02 VG0
xm create /etc/xen/manual/kz02-install.cfg -c
@ssinyagin
ssinyagin / log.txt
Created August 18, 2012 23:02
Kazoo fails to boot, chef_solo ca38950c3b
After chef finished:
[root@kz01 kazoo_install]# ps axf
PID TTY STAT TIME COMMAND
2 ? S 0:00 [kthreadd]
3 ? S 0:00 \_ [migration/0]
4 ? S 0:00 \_ [ksoftirqd/0]
5 ? S 0:00 \_ [migration/0]
6 ? S 0:00 \_ [watchdog/0]
7 ? S 0:00 \_ [migration/1]
@ssinyagin
ssinyagin / Kazoo_d64eff45_crash.log
Created August 16, 2012 19:24
Kazoo d64eff45 crash
root@738-15:/opt/kazoo/whistle_apps# ./start-dev.sh
heart_beat_kill_pid = 15346
Erlang R14B03 (erts-5.8.4) [source] [64-bit] [smp:14:14] [rq:14] [async-threads:8] [kernel-poll:true]
Eshell V5.8.4 (abort with ^G)
(whistle_apps@738-15.vm.clodoserver.ru)1> 19:22:36.657 [info] Application lager started on node 'whistle_apps@738-15.vm.clodoserver.ru'
19:22:36.735 [info] Application crypto started on node 'whistle_apps@738-15.vm.clodoserver.ru'
19:22:36.784 [info] Application gproc started on node 'whistle_apps@738-15.vm.clodoserver.ru'
19:22:36.860 [info] Application amqp_client started on node 'whistle_apps@738-15.vm.clodoserver.ru'
19:22:36.876 [info] loaded amqp manager configuration from '/opt/kazoo/whistle_apps/../lib/whistle_amqp-1.0.0/priv/startup.config'
@ssinyagin
ssinyagin / pciback
Created August 4, 2012 20:04
/etc/init.d/pciback
#!/bin/bash
### BEGIN INIT INFO
# Provides: pciback
# Required-Start: $syslog $remote_fs xen
# Required-Stop: $syslog $remote_fs xen
# Should-Start: drbd iscsi
# Should-Stop: drbd iscsi
# X-Start-Before: xendomains
# X-Stop-After:
# Default-Start: 2 3 4 5
@ssinyagin
ssinyagin / CVJI-E212_linaro_boot
Created August 1, 2012 16:06
Linaro boot on CVJI-E212
U-Boot SPL 2011.09-00000-g8d13bc8-dirty (Jul 26 2012 - 04:00:50)
MMC: SUNXI SD/MMC: 0
Loading U-Boot... OK!
Jumping to U-Boot...
U-Boot 2011.09-00000-g8d13bc8-dirty (Jul 26 2012 - 04:00:50) Allwinner Technology
CPU: SUNXI Family
@ssinyagin
ssinyagin / gist:2980650
Created June 24, 2012 00:13
FreePyBX working directory
bash-4.1$ cd /usr/local/www/
bash-4.1$ git status
# On branch master
# Changed but not updated:
# (use "git add <file>..." to update what will be committed)
# (use "git checkout -- <file>..." to discard changes in working directory)
#
# modified: FreePyBX/development.ini
# modified: FreePyBX/freepybx/websetup.py
#