Podrška #18755
Zatvorenfreeswitch on atom-2, skypiax ludara
0%
Fajlovi
Povezani tiketi 3 (0 otvoreno — 3 zatvorenih)
Izmjenjeno od Ernad Husremović prije više od 15 godina
root@atom-2:~# mv freeswitch-dbg_1.0.4-1_amd64.deb dbg
root@atom-2:~# mv freeswitch-dev_1.0.4-1_amd64.deb dbg
Izmjenjeno od Ernad Husremović prije više od 15 godina
dpkg -i *deb
Setting up freeswitch-codec-passthru-g729 (1.0.4-1) ... Setting up freeswitch-lang-de (1.0.4-1) ... Setting up freeswitch-lang-en (1.0.4-1) ... Setting up freeswitch-lang-es (1.0.4-1) ... Setting up freeswitch-lang-fr (1.0.4-1) ... Setting up freeswitch-lang-it (1.0.4-1) ... Setting up freeswitch-lang-nl (1.0.4-1) ... Setting up freeswitch-lang-ru (1.0.4-1) ... Setting up freeswitch-lua (1.0.4-1) ... Setting up freeswitch-perl (1.0.4-1) ... Setting up freeswitch-sounds-en-us-callie-16000 (1.0.4-1) ... Setting up freeswitch-sounds-en-us-callie-32000 (1.0.4-1) ... Setting up freeswitch-sounds-en-us-callie-48000 (1.0.4-1) ... Setting up freeswitch-sounds-en-us-callie-8000 (1.0.4-1) ... Setting up freeswitch-sounds-music-8000 (1.0.4-1) ... Setting up freeswitch-sounds-ru-ru-elena-16000 (1.0.4-1) ... Setting up freeswitch-sounds-ru-ru-elena-32000 (1.0.4-1) ... Setting up freeswitch-sounds-ru-ru-elena-48000 (1.0.4-1) ... Setting up freeswitch-sounds-ru-ru-elena-8000 (1.0.4-1) ... Setting up freeswitch-spidermonkey (1.0.4-1) ... Setting up freeswitch-codec-passthru-amr (1.0.4-1) ... Setting up freeswitch-codec-passthru-g7231 (1.0.4-1) ...
root@atom-2:~# usermod -s /bin/bash freeswitch
Izmjenjeno od Ernad Husremović prije više od 15 godina
conf/vars.xml
<X-PRE-PROCESS cmd="set" data="internal_sip_port=5065"/> <X-PRE-PROCESS cmd="set" data="internal_tls_port=5066"/>
Izmjenjeno od Ernad Husremović prije više od 15 godina
root@atom-2:~# free -m
total used free shared buffers cached Mem: 991 483 507 0 36 43 -/+ buffers/cache: 404 587 Swap: 2903 6 2897
Izmjenjeno od Ernad Husremović prije više od 15 godina
freeswitch@atom-2:~$ bin/freeswitch
root@atom-2:~# free -m
total used free shared buffers cached Mem: 991 509 481 0 39 46 -/+ buffers/cache: 424 567 Swap: 2903 6 2897
Izmjenjeno od Ernad Husremović prije više od 15 godina
2009-11-02 23:43:00.606760 [CONSOLE] switch_core.c:1498 FreeSWITCH Version 1.0.trunk (hacked) Started. Max Sessions[1000] Session Rate[30] SQL [Enabled] freeswitch@atom-2>obori fs:
- shutdown
Izmjenjeno od Ernad Husremović prije više od 15 godina
Izmjenjeno od Ernad Husremović prije više od 15 godina
root@atom-2:~# sudo apt-get install lib32stdc++6 lib32asound2 ia32-libs libc6-i386 lib32gcc1 lib32z1 lib32bz2-1.0 lib32v4l-0 lib32ncurses5
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Predloženi paketi: lib32asound2-plugins Slijedeći NOVI paketi će biti instalirani: ia32-libs lib32asound2 lib32bz2-1.0 lib32gcc1 lib32ncurses5 lib32stdc++6 lib32v4l-0 lib32z1 libc6-i386 0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 34,0MB of archives.
Izmjenjeno od Ernad Husremović prije više od 15 godina
pokrenuo skype kao brinout i setovao hernad_bringout account
bringout@atom-2:~/.Skype/hernad_bringout
Izmjenjeno od Ernad Husremović prije više od 15 godina
Izmjenjeno od Ernad Husremović prije više od 15 godina
kad pokrenem skype client
root@atom-2:~# free -m
total used free shared buffers cached Mem: 991 907 84 0 46 395 -/+ buffers/cache: 464 526 Swap: 2903 6 2897
Izmjenjeno od Ernad Husremović prije više od 15 godina
Izmjenjeno od Ernad Husremović prije više od 15 godina
Multiple concurrent incoming calls to the same Skype username¶
This solution, based on "transfer" the call to another Skype username (running on the same machine) works on both Windows and on Linux. For a Linux-only solution, based on running multiple instances of the same Skype username, see below
Let's say you want to be able to serve multiple concurrent incoming calls to the Skype username "skypiax1" (as in: Alice uses Skype to call the Skype user "skypiax1", concurrently Bob uses Skype to call the Skype user "skypiax1", both Alice and Bob are concurrently served by FS).
You setup multiple skypiax interfaces on FS, as many interfaces as the max number of concurrent incoming calls you want to serve.
Each skypiax interface will have its own Skype client running, each one with its own Skype user login.
Let's say you want to serve a max of 3 concurrent incoming calls, you'll setup three skypiax interface (100 concurrent calls, 100 skypiax interfaces). One of those three interfaces will be logged into the Skype network using the Skype username you want to use to answer all the incoming calls.
So, one interface will be logged into Skype network as "skypiax1". Let's say that the other two interfaces will be logged into the Skype network as "skypiax2" and "skypiax3", but they could be logged as any other Skype username, as long as they are all different and different from "skypiax1" (it's not possible to have more than one Skype client instance using the same Skype username on the same machine, at least on Linux).
When the first incoming call to the Skype username "skypiax1" is received, is served as you would expect by the interface logged as "skypiax1".
If another call for "skypiax1" is incoming while that interface is busy into a call (incoming or outbound), the "skypiax1" interface will transfer the incoming call to the first other idle skypiax interface it finds (eg: interface2 or interface3). The calling user will not have to do nothing for this, and this is completely transparent for Windows and Linux users, while MacOSX users will see into their client that the called party is changed from "skypiax1" to, say, "skypiax3", but they too do not have to do nothing.
And so on until all the skypiax interfaces available are busy. At that point, further incoming calls will be rejected until one skypiax interface exit from the call it is into, and will be available to answer.
Izmjenjeno od Ernad Husremović prije više od 15 godina
root@atom-2:~# sudo apt-get install xvfb
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Slijedeći dodatni paketi će biti instalirani: xserver-common Slijedeći NOVI paketi će biti instalirani: xserver-common xvfb 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 1680kB of archives. After this operation, 2879kB of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://archive.sigma-com.net karmic/main xserver-common 2:1.6.4-2ubuntu4 [74,6kB] Get:2 http://archive.sigma-com.net karmic/main xvfb 2:1.6.4-2ubuntu4 [1605kB] Fetched 1680kB in 5s (291kB/s) Selecting previously deselected package xserver-common. (Reading database ... 126103 files and directories currently installed.) Unpacking xserver-common (from .../xserver-common_2%3a1.6.4-2ubuntu4_all.deb) ... Selecting previously deselected package xvfb. Unpacking xvfb (from .../xvfb_2%3a1.6.4-2ubuntu4_amd64.deb) ... Processing triggers for man-db ... Setting up xserver-common (2:1.6.4-2ubuntu4) ... Setting up xvfb (2:1.6.4-2ubuntu4) ...
Izmjenjeno od Ernad Husremović prije više od 15 godina
start_skype.sh
# remember to add here the removing of all the installed snd-* modules, so you're sure only the snd-dummy driver will be around # rmmod snd_hda_intel modprobe -r snd-dummy modprobe -r snd_hda_codec_realtek # if you DO NOT USE the custom ALSA device we provide, you need three "standard" dummy soundcard for 20 Skype client instances, because each "standard" dummy soundcard can handle a max of 8 Skype instances # the enable= module parameter tells how many cards to start. For each additional card, add a comma and a 1 # manually configure the first 8 Skype client instances to use the hw:Dummy_0, the next 8 instances to use hw:Dummy_1, etc for all three devices (Play, Capture, Ring) modprobe snd-dummy # enable=1,1,1 sleep 3 #start the fake X server on a given port /usr/bin/Xvfb :101 -ac & sleep 3 # start a Skype client instance that will connect to the X server above, and will login to the Skype network using the 'username password' you send to it on stdin. Here xxxx would be the password and skypiax1 the username su root -c "/bin/echo 'bringout_sa xxxxxxxxxxxxxxxx'| DISPLAY=:101 /usr/bin/skype --pipelogin &" sleep 7 /usr/bin/Xvfb :102 -ac & sleep 3 su root -c "/bin/echo 'bringout_sa_2 xxxxxxxxxxxxxxxx'| DISPLAY=:102 /usr/bin/skype --pipelogin &" sleep 7 /usr/bin/Xvfb :103 -ac & sleep 3 su root -c "/bin/echo 'bringout_sa_3 xxxxxxxxxxxxxxxx'| DISPLAY=:103 /usr/bin/skype --pipelogin &"
bringout@atom-2:~$ sudo start_skype.sh
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! [config/dbus] couldn't take over org.x.config: org.freedesktop.DBus.Error.AccessDenied (Connection ":1.262" is not allowed to own the service "org.x.config.display101" due to security policies in the configuration file) (EE) config/hal: NewInputDeviceRequest failed (2) (EE) config/hal: NewInputDeviceRequest failed (2) (EE) config/hal: NewInputDeviceRequest failed (2) [dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! [config/dbus] couldn't take over org.x.config: org.freedesktop.DBus.Error.AccessDenied (Connection ":1.264" is not allowed to own the service "org.x.config.display102" due to security policies in the configuration file) (EE) config/hal: NewInputDeviceRequest failed (2) (EE) config/hal: NewInputDeviceRequest failed (2) (EE) config/hal: NewInputDeviceRequest failed (2) [dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! [config/dbus] couldn't take over org.x.config: org.freedesktop.DBus.Error.AccessDenied (Connection ":1.266" is not allowed to own the service "org.x.config.display103" due to security policies in the configuration file) (EE) config/hal: NewInputDeviceRequest failed (2) (EE) config/hal: NewInputDeviceRequest failed (2) (EE) config/hal: NewInputDeviceRequest failed (2)
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:~$ ps ax | grep skype | grep -v grep
7477 pts/4 Sl 0:04 /usr/bin/skype --pipelogin 7520 pts/4 Sl 0:04 /usr/bin/skype --pipelogin 7571 pts/4 Sl 0:04 /usr/bin/skype --pipelogin 7610 pts/2 S+ 0:00 vi /usr/local/bin/start_skype.sh
bringout@atom-2:~$ ps ax | grep Xvfb | grep -v grep
7463 pts/4 S 0:00 /usr/bin/Xvfb :101 -ac 7506 pts/4 S 0:00 /usr/bin/Xvfb :102 -ac 7557 pts/4 S 0:00 /usr/bin/Xvfb :103 -ac
Izmjenjeno od Ernad Husremović prije više od 15 godina
skype config directory¶
root@atom-2:~/configs# apt-get install libx11-dev
gcc -Wall -ggdb skypiax_auth.c -o skypiax_auth -lX11
Izmjenjeno od Ernad Husremović prije više od 15 godina
root@atom-2:~/configs# gcc -Wall -ggdb skypiax_auth.c -o skypiax_auth -lX11
root@atom-2:~/configs# cp skypiax_auth /usr/local/sbin
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@desk-c2:~/devel/work/freeswitch/src/mod/endpoints/mod_skypiax/configs$ ./a.out
Skype instance found on display ':0.0', with id #65011777 RECEIVED==> ERROR 68 RECEIVED==> OK
znači skypiax_auth pokrenuo na desk-c2 a skype na remote mašini
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:~/.Skype/hernad_bringout$ cat /proc/asound/cards
0 [Dummy ]: Dummy - Dummy Dummy 1
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:~/.Skype/hernad_bringout$ sudo apt-get remove pulseaudio
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Slijedeći paketi će biti UKLONJENI: libcanberra-pulse pulseaudio pulseaudio-esound-compat pulseaudio-module-bluetooth pulseaudio-module-gconf pulseaudio-module-udev pulseaudio-module-x11
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:~$ sudo apt-get remove bluetooth
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Slijedeći paketi će biti UKLONJENI: bluetooth bluez-utils 0 upgraded, 0 newly installed, 2 to remove and 8 not upgraded. After this operation, 168kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 127067 files and directories currently installed.) Removing bluez-utils ... Removing bluetooth ...
Izmjenjeno od Ernad Husremović prije više od 15 godina
pulseaudio / alsa na atom-2 ne radi ?!
pulseaudio, alsa test on desk-c2¶
bringout@desk-c2:~/devel/work$ pacmd list-cards
Welcome to PulseAudio! Use "help" for usage information. >>> 2 card(s) available. index: 0 name: <alsa_card.pci-0000_00_1b.0> driver: <module-alsa-card.c> owner module: 4 properties: alsa.card = "0" alsa.card_name = "HDA Intel" alsa.long_card_name = "HDA Intel at 0xf9ff8000 irq 22" alsa.driver_name = "snd_hda_intel" device.bus_path = "pci-0000:00:1b.0" sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0" device.bus = "pci" device.vendor.id = "8086" device.vendor.name = "Intel Corporation" device.product.id = "293e" device.product.name = "82801I (ICH9 Family) HD Audio Controller" device.form_factor = "internal" device.string = "0" device.description = "Internal Audio" module-udev-detect.discovered = "1" device.icon_name = "audio-card-pci" profiles: output:analog-stereo: Analog Stereo Output (priority 6000) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060) output:analog-surround-40: Analog Surround 4.0 Output (priority 700) output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760) output:analog-surround-41: Analog Surround 4.1 Output (priority 800) output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 860) output:analog-surround-50: Analog Surround 5.0 Output (priority 700) output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 760) output:analog-surround-51: Analog Surround 5.1 Output (priority 800) output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 860) output:analog-surround-71: Analog Surround 7.1 Output (priority 700) output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (priority 760) output:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5500) output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560) input:analog-stereo: Analog Stereo Input (priority 60) off: Off (priority 0) active profile: <output:analog-stereo+input:analog-stereo> sinks: alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Internal Audio Analog Stereo sources: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Internal Audio Analog Stereo alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Internal Audio Analog Stereo index: 1 name: <alsa_card.platform-snd_dummy.0> driver: <module-alsa-card.c> owner module: 19 properties: alsa.card = "1" alsa.card_name = "Dummy" alsa.long_card_name = "Dummy 1" device.bus_path = "platform-snd_dummy.0" sysfs.path = "/devices/platform/snd_dummy.0/sound/card1" device.string = "1" device.description = "Dummy" module-udev-detect.discovered = "1" device.icon_name = "audio-card" profiles: output:analog-mono: Analog Mono Output (priority 100) output:analog-mono+input:analog-mono: Analog Mono Duplex (priority 101) output:analog-mono+input:analog-stereo: Analog Mono Output + Analog Stereo Input (priority 160) output:analog-stereo: Analog Stereo Output (priority 6000) output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (priority 6001) output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060) input:analog-mono: Analog Mono Input (priority 1) input:analog-stereo: Analog Stereo Input (priority 60) off: Off (priority 0) active profile: <output:analog-stereo+input:analog-stereo> sinks: alsa_output.platform-snd_dummy.0.analog-stereo/#1: Dummy Analog Stereo sources: alsa_output.platform-snd_dummy.0.analog-stereo.monitor/#2: Monitor of Dummy Analog Stereo alsa_input.platform-snd_dummy.0.analog-stereo/#3: Dummy Analog Stereo
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:~$ sudo apt-get install pulseaudio-module-gconf
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:/etc/modprobe.d$ pulseaudio -vvvvvvvvvvvvv
.. W: main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NoServer: Failed to connect to socket /tmp/dbus-U7wItecgPg: Connection refused I: main.c: Daemon startup complete. D: module-console-kit.c: dbus: interface=org.freedesktop.DBus, path=/org/freedesktop/DBus, member=NameAcquired ..
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:~$ cat /etc/default/pulseaudio
# Start the PulseAudio sound server in system mode. # (enables the pulseaudio init script - requires that users be in the # pulse-access group) # System mode is not the recommended way to run PulseAudio as it has some # limitations (such as no shared memory access) and could potentially allow # users to disconnect or redirect each others' audio streams. The # recommended way to run PulseAudio is as a per-session daemon. For GNOME # sessions in Ubuntu, /etc/X11/Xsession.d/70pulseaudio and # /usr/bin/pulse-session handle this function of automatically starting # PulseAudio on login. For other sessions, you can simply start PulseAudio # with "pulseaudio --daemonize". # 0 = don't start, 1 = start PULSEAUDIO_SYSTEM_START=1 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< bilo 0 # Prevent users from dynamically loading modules into the PulseAudio sound # server. Dynamic module loading enhances the flexibilty of the PulseAudio # system, but may pose a security risk. # 0 = no, 1 = yes DISALLOW_MODULE_LOADING=1
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:~$ sudo alsa force-unload
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/bringout/.gvfs Output information may be incomplete. Terminating processes: 2768lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/bringout/.gvfs Output information may be incomplete. lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/bringout/.gvfs Output information may be incomplete. . lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/bringout/.gvfs Output information may be incomplete. Unloading ALSA sound driver modules: snd-dummy snd-hda-codec-realtek snd-hda-intel snd-hda-codec snd-hwdep snd-pcm-oss snd-mixer-oss snd-pcm snd-seq-dummy snd-seq-oss snd-seq-midi snd-rawmidi snd-seq-midi-event snd-seq snd-timer snd-seq-device snd-page-alloc (failed: modules still loaded: snd-hda-codec-realtek snd-hda-codec snd-hwdep snd-pcm snd-timer snd-page-alloc)
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:~$ sudo apt-get remove cups
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Slijedeći paketi će biti UKLONJENI: bluez-cups cups cups-driver-gutenprint foo2zjs foomatic-db foomatic-db-engine ghostscript-cups hpijs hplip openprinting-ppds pxljr splix 0 upgraded, 0 newly installed, 12 to remove and 8 not upgraded. After this operation, 41,5MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 127059 files and directories currently installed.) Removing bluez-cups ... Removing splix ... Removing pxljr ... Removing openprinting-ppds ... Removing hpijs ... Removing hplip ... Removing cups-driver-gutenprint ... * Reloading Common Unix Printing System: cupsd [ OK ] Removing ghostscript-cups ... Removing foo2zjs ... Removing foomatic-db-engine ... Removing foomatic-db ... Removing cups ... * Stopping Common Unix Printing System: cupsd [ OK ] Processing triggers for man-db ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place Processing triggers for desktop-file-utils ... Processing triggers for doc-base ... Processing 1 removed doc-base file(s)... Registering documents with scrollkeeper... Processing triggers for ufw ... Processing triggers for sreadahead ...
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:~$ sudo apt-get remove evince libpoppler-glib4 libpoppler5
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Slijedeći paketi će biti UKLONJENI: evince gimp libpoppler-glib4 libpoppler5 poppler-utils 0 upgraded, 0 newly installed, 5 to remove and 5 not upgraded. After this operation, 22,7MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 121713 files and directories currently installed.) Removing evince ... Removing gimp ... Removing libpoppler-glib4 ... Removing poppler-utils ... Removing libpoppler5 ... Processing triggers for desktop-file-utils ... Processing triggers for hicolor-icon-theme ... Processing triggers for man-db ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:/dev/snd$ sudo apt-get install alsa-base --reinstall
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 5 not upgraded. Need to get 270kB of archives. After this operation, 0B of additional disk space will be used. Do you want to continue [Y/n]? y Get:1 http://archive.sigma-com.net karmic/main alsa-base 1.0.20+dfsg-1ubuntu5 [270kB] Fetched 270kB in 0s (404kB/s) (Reading database ... 121193 files and directories currently installed.) Preparing to replace alsa-base 1.0.20+dfsg-1ubuntu5 (using .../alsa-base_1.0.20+dfsg-1ubuntu5_all.deb) ... Unpacking replacement alsa-base ... Setting up alsa-base (1.0.20+dfsg-1ubuntu5) ...
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:/dev/snd$ cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.20.
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:/dev/snd$ sudo apt-get install ubuntu-desktop
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Slijedeći dodatni paketi će biti instalirani: bluetooth bluez-cups bluez-utils cups cups-driver-gutenprint evince foo2zjs foomatic-db foomatic-db-engine gdm gdm-guest-session ghostscript-cups gimp hpijs hplip indicator-applet-session indicator-session latex-xft-fonts libpoppler-glib4 libpoppler5 libxvmc1 openoffice.org-base-core openoffice.org-calc openoffice.org-common openoffice.org-core openoffice.org-draw openoffice.org-emailmerge openoffice.org-gnome openoffice.org-gtk openoffice.org-help-en-us openoffice.org-impress openoffice.org-math openoffice.org-writer openprinting-ppds poppler-utils pulseaudio-module-bluetooth pxljr python-uno splix xfonts-mathml xorg xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-input-vmmouse xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips xserver-xorg-video-cirrus xserver-xorg-video-fbdev xserver-xorg-video-i128 xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-nv xserver-xorg-video-openchrome xserver-xorg-video-r128 xserver-xorg-video-radeon xserver-xorg-video-rendition xserver-xorg-video-s3 xserver-xorg-video-s3virge xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sis xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-tseng xserver-xorg-video-v4l xserver-xorg-video-vesa xserver-xorg-video-vmware xserver-xorg-video-voodoo Predloženi paketi: cups-ppdc xpdf-korean xpdf-japanese xpdf-chinese-traditional xpdf-chinese-simplified cups-pdf gutenprint-doc gutenprint-locales unrar poppler-data hannah-foo2zjs hplip-cups m2300w openprinting-ppds-extra cjet foomatic-db-hpijs foomatic-db-gutenprint foomatic-gui uswsusp gok gimp-help-en gimp-help libgimp-perl gimp-data-extras hpijs-ppds hplip-doc kdeprint gtklp xpp hplip-gui openoffice.org-base openoffice.org-style-industrial openoffice.org-style-hicontrast openoffice.org-style-tango openoffice.org-style-crystal openoffice.org-style-oxygen openoffice.org-evolution openoffice.org-java-common openoffice.org-gcj openoffice.org-filter-binfilter default-jre gcj-jre java-gcj-compat openjdk-6-jre sun-java5-jre sun-java6-jre java5-runtime jre ttf-mathematica4.1 xorg-docs gpointing-device-settings touchfreeze wacom-tools firmware-linux Slijedeći NOVI paketi će biti instalirani: bluetooth bluez-cups bluez-utils cups cups-driver-gutenprint evince foo2zjs foomatic-db foomatic-db-engine gdm gdm-guest-session ghostscript-cups gimp hpijs hplip indicator-applet-session indicator-session latex-xft-fonts libpoppler-glib4 libpoppler5 libxvmc1 openoffice.org-base-core openoffice.org-calc openoffice.org-common openoffice.org-core openoffice.org-draw openoffice.org-emailmerge openoffice.org-gnome openoffice.org-gtk openoffice.org-help-en-us openoffice.org-impress openoffice.org-math openoffice.org-writer openprinting-ppds poppler-utils pulseaudio-module-bluetooth pxljr python-uno splix ubuntu-desktop xfonts-mathml xorg xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-input-vmmouse xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips xserver-xorg-video-cirrus xserver-xorg-video-fbdev xserver-xorg-video-i128 xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-nv xserver-xorg-video-openchrome xserver-xorg-video-r128 xserver-xorg-video-radeon xserver-xorg-video-rendition xserver-xorg-video-s3 xserver-xorg-video-s3virge xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sis xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-tseng xserver-xorg-video-v4l xserver-xorg-video-vesa xserver-xorg-video-vmware xserver-xorg-video-voodoo 0 upgraded, 80 newly installed, 0 to remove and 0 not upgraded. Need to get 90,3MB of archives. After this operation, 355MB of additional disk space will be used.
Izmjenjeno od Ernad Husremović prije više od 15 godina
opet imam onaj problem
Failed to restore crtc configuration
bringout@atom-2:~$ sudo apt-get remove xserver-xorg-core
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Slijedeći paketi će biti UKLONJENI: xserver-xorg xserver-xorg-core xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-input-vmmouse xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips xserver-xorg-video-cirrus xserver-xorg-video-fbdev xserver-xorg-video-i128 xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-nv xserver-xorg-video-openchrome xserver-xorg-video-r128 xserver-xorg-video-radeon xserver-xorg-video-rendition xserver-xorg-video-s3 xserver-xorg-video-s3virge xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sis xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-tseng xserver-xorg-video-v4l xserver-xorg-video-vesa xserver-xorg-video-vmware xserver-xorg-video-voodoo
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:/etc/modprobe.d$ sudo apt-get purge pulseaudio
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Sljedeći paketi su automatski instalirani i više nisu potrebni: libxvmc1 Use 'apt-get autoremove' to remove them. Slijedeći paketi će biti UKLONJENI: pulseaudio* pulseaudio-esound-compat* pulseaudio-module-bluetooth* pulseaudio-module-gconf* pulseaudio-module-udev* pulseaudio-module-x11* 0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded. After this operation, 5267kB disk space will be freed. Do you want to continue [Y/n]? y
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:/etc/modprobe.d$ sudo apt-get remove pulseaudio-module-x11
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Sljedeći paketi su automatski instalirani i više nisu potrebni: libxvmc1 Use 'apt-get autoremove' to remove them. Slijedeći paketi će biti UKLONJENI: pulseaudio-module-x11 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 152kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 130569 files and directories currently installed.) Removing pulseaudio-module-x11 ...
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@desk-c2:~$ echo autospawn=no|tee -a /home/bringout/.pulse/client.conf autospawn=no bringout@desk-c2:~$ vi /home/bringout/.pulse/client.conf bringout@desk-c2:~$ ls /home/bringout/.pulse .pulse/ .pulse-cookie bringout@desk-c2:~$ touch ~/.pulse_a11y_nostart bringout@desk-c2:~$ sudo chmod 600 /usr/bin/pulse-session bringout@desk-c2:~$ sudo killall pulseaudio
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@desk-c2:~$ aplay -l
**** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC883 Analog [ALC883 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC883 Digital [ALC883 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@desk-c2:~$ sudo modprobe -r snd-hda-intel
bringout@desk-c2:~$ aplay -l
aplay: device_list:223: no soundcards found...
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@desk-c2:~$ sudo modprobe snd-dummy
bringout@desk-c2:~$ aplay -l
**** List of PLAYBACK Hardware Devices **** card 0: Dummy [Dummy], device 0: Dummy PCM [Dummy PCM] Subdevices: 8/8 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 Subdevice #7: subdevice #7
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:~$ sudo apt-get purge pulseaudio
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:~$ sudo apt-get purge pulseaudio
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Sljedeći paketi su automatski instalirani i više nisu potrebni: libxvmc1 Use 'apt-get autoremove' to remove them. Slijedeći paketi će biti UKLONJENI: pulseaudio* pulseaudio-esound-compat* pulseaudio-module-udev* 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. After this operation, 4686kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 130589 files and directories currently installed.) Removing pulseaudio-esound-compat ... Removing pulseaudio ... * PulseAudio configured for per-user sessions Purging configuration files for pulseaudio ... Removing pulseaudio-module-udev ... Processing triggers for man-db ... Processing triggers for sreadahead ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place bringout@atom-2:~$ sudo apt-get purge alsa Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Note, selecting alsa-base instead of alsa Sljedeći paketi su automatski instalirani i više nisu potrebni: libxvmc1 Use 'apt-get autoremove' to remove them. Slijedeći paketi će biti UKLONJENI: alsa-base* 0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded. After this operation, 479kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 130470 files and directories currently installed.) Removing alsa-base ... Purging configuration files for alsa-base ...
Izmjenjeno od Ernad Husremović prije više od 15 godina
nakon restarta root korisnik:
root@atom-2:~# aplay -l
**** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:~$ aplay -l
aplay: device_list:223: no soundcards found...
Izmjenjeno od Ernad Husremović prije više od 15 godina
root ima pristup ali bringout nema ???
bringout@atom-2:~$ sudo usermod -a -G audio bringout
ali opet ništa
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:~$ sudo aplay -l
**** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0 card 1: Dummy [Dummy], device 0: Dummy PCM [Dummy PCM] Subdevices: 8/8 Subdevice #0: subdevice #0 Subdevice #1: subdevice #1 Subdevice #2: subdevice #2 Subdevice #3: subdevice #3 Subdevice #4: subdevice #4 Subdevice #5: subdevice #5 Subdevice #6: subdevice #6 Subdevice #7: subdevice #7
Izmjenjeno od Ernad Husremović prije više od 15 godina
trebam upgrade na alsa 1.0.21 ?
ma garant ne trebam ali sam to započeo ...
Izmjenjeno od Ernad Husremović prije više od 15 godina
bringout@atom-2:~/alsa/alsa-driver-1.0.21$ make
... utils/link-modules /home/bringout/alsa/alsa-driver-1.0.21 ALSA modules were successfully compiled.
Izmjenjeno od Ernad Husremović prije više od 15 godina
nakon restarta ipak bringout pristupa alisa
bringout@atom-2:~$ aplay -l
**** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 1: ALC662 rev1 Digital [ALC662 rev1 Digital] Subdevices: 1/1 Subdevice #0: subdevice #0
Izmjenjeno od Ernad Husremović prije više od 15 godina
ponovo bluetooth out
bringout@atom-2:~$ sudo apt-get remove bluetooth
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Sljedeći paketi su automatski instalirani i više nisu potrebni: libxvmc1 Use 'apt-get autoremove' to remove them. Slijedeći paketi će biti UKLONJENI: bluetooth bluez-utils 0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded. After this operation, 168kB disk space will be freed. Do you want to continue [Y/n]? y
Izmjenjeno od Ernad Husremović prije više od 15 godina
root@atom-2:~# tail /etc/modules
loop lp rtc snd-dummy
Izmjenjeno od Ernad Husremović prije više od 15 godina
root@atom-2:~# /usr/local/bin/start_skype.sh
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! [config/dbus] couldn't take over org.x.config: org.freedesktop.DBus.Error.AccessDenied (Connection ":1.155" is not allowed to own the service "org.x.config.display101" due to security policies in the configuration file) (EE) config/hal: NewInputDeviceRequest failed (2) (EE) config/hal: NewInputDeviceRequest failed (2) (EE) config/hal: NewInputDeviceRequest failed (2) [dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! [config/dbus] couldn't take over org.x.config: org.freedesktop.DBus.Error.AccessDenied (Connection ":1.157" is not allowed to own the service "org.x.config.display102" due to security policies in the configuration file) (EE) config/hal: NewInputDeviceRequest failed (2) (EE) config/hal: NewInputDeviceRequest failed (2) (EE) config/hal: NewInputDeviceRequest failed (2) ...
root@atom-2:~# ps ax | grep skype
3011 pts/1 Sl 0:02 /usr/bin/skype --pipelogin 3048 pts/1 Sl 0:02 /usr/bin/skype --pipelogin 3085 pts/1 Sl 0:02 /usr/bin/skype --pipelogin
Izmjenjeno od Ernad Husremović prije više od 15 godina
evo freeswitch procesi:
root@atom-2:~# ps -aufreeswitch
PID TTY TIME CMD 2742 ? 00:00:03 sshd 2743 pts/2 00:00:00 bash 2758 pts/2 00:00:00 dbus-launch 2759 ? 00:00:00 dbus-daemon 2997 pts/1 00:00:00 Xvfb 3011 pts/1 00:00:02 skype 3023 pts/1 00:00:00 dbus-launch 3024 ? 00:00:00 dbus-daemon 3034 pts/1 00:00:00 Xvfb 3048 pts/1 00:00:02 skype 3060 pts/1 00:00:00 dbus-launch 3061 ? 00:00:00 dbus-daemon 3071 pts/1 00:00:00 Xvfb 3085 pts/1 00:00:02 skype 3096 pts/1 00:00:00 dbus-launch 3097 ? 00:00:00 dbus-daemon 3129 pts/1 00:00:00 ps
Izmjenjeno od Ernad Husremović prije više od 15 godina
freeswitch@atom-2> load mod_skypiax
2009-11-03 17:32:20.762479 [WARNING] mod_skypiax.c:1306 rev [(nil)|37 ][WARNINGA 1306 ][interface1][-1, 0, 0] STARTING interface_id=1 2009-11-03 17:32:20.962739 [NOTICE] mod_skypiax.c:1329 rev [(nil)|37 ][NOTICA 1329 ][interface1][-1, 0, 0] WAITING roughly 10 seconds to find a running Skype client and connect to its SKYPE API for interface_id=1 2009-11-03 17:32:20.962739 [NOTICE] mod_skypiax.c:1338 rev [(nil)|37 ][NOTICA 1338 ][interface1][-1, 0, 0] Found a running Skype client, connected to its SKYPE API for interface_id=1, waiting 60 seconds for CURRENTUSERHANDLE==bringout_sa 2009-11-03 17:32:20.962739 [WARNING] mod_skypiax.c:1357 rev [(nil)|37 ][WARNINGA 1357 ][interface1][-1, 0, 0] Interface_id=1 is now STARTED, the Skype client to which we are connected gave us the correct CURRENTUSERHANDLE (bringout_sa) 2009-11-03 17:32:20.963966 [WARNING] mod_skypiax.c:1306 rev [(nil)|37 ][WARNINGA 1306 ][interface2][-1, 0, 0] STARTING interface_id=2 2009-11-03 17:32:21.165425 [NOTICE] mod_skypiax.c:1329 rev [(nil)|37 ][NOTICA 1329 ][interface2][-1, 0, 0] WAITING roughly 10 seconds to find a running Skype client and connect to its SKYPE API for interface_id=2 2009-11-03 17:32:21.165425 [NOTICE] mod_skypiax.c:1338 rev [(nil)|37 ][NOTICA 1338 ][interface2][-1, 0, 0] Found a running Skype client, connected to its SKYPE API for interface_id=2, waiting 60 seconds for CURRENTUSERHANDLE==bringout_sa_2 2009-11-03 17:32:21.165425 [WARNING] mod_skypiax.c:1357 rev [(nil)|37 ][WARNINGA 1357 ][interface2][-1, 0, 0] Interface_id=2 is now STARTED, the Skype client to which we are connected gave us the correct CURRENTUSERHANDLE (bringout_sa_2) 2009-11-03 17:32:21.165425 [WARNING] mod_skypiax.c:1306 rev [(nil)|37 ][WARNINGA 1306 ][interface3][-1, 0, 0] STARTING interface_id=3 2009-11-03 17:32:21.367463 [NOTICE] mod_skypiax.c:1329 rev [(nil)|37 ][NOTICA 1329 ][interface3][-1, 0, 0] WAITING roughly 10 seconds to find a running Skype client and connect to its SKYPE API for interface_id=3 2009-11-03 17:32:21.367463 [NOTICE] mod_skypiax.c:1338 rev [(nil)|37 ][NOTICA 1338 ][interface3][-1, 0, 0] Found a running Skype client, connected to its SKYPE API for interface_id=3, waiting 60 seconds for CURRENTUSERHANDLE==bringout_sa_3 2009-11-03 17:32:21.368536 [WARNING] mod_skypiax.c:1357 rev [(nil)|37 ][WARNINGA 1357 ][interface3][-1, 0, 0] Interface_id=3 is now STARTED, the Skype client to which we are connected gave us the correct CURRENTUSERHANDLE (bringout_sa_3) API CALL [load(mod_skypiax)] output: +OK freeswitch@atom-2> 2009-11-03 17:32:21.368536 [CONSOLE] switch_loadable_module.c:889 Successfully Loaded [mod_skypiax] 2009-11-03 17:32:21.368536 [NOTICE] switch_loadable_module.c:142 Adding Endpoint 'skypiax' 2009-11-03 17:32:21.368536 [NOTICE] switch_loadable_module.c:270 Adding API Function 'sk' 2009-11-03 17:32:21.368536 [NOTICE] switch_loadable_module.c:270 Adding API Function 'skypiax' 2009-11-03 17:32:21.368536 [NOTICE] switch_loadable_module.c:270 Adding API Function 'skypiax_chat' 2009-11-03 17:32:21.368536 [NOTICE] switch_loadable_module.c:375 Adding Chat interface 'skype'
Izmjenjeno od Ernad Husremović prije više od 15 godina
freeswitch@atom-2> sk list
API CALL [sk(list)] output: sk console is NOT yet assigned F ID Name IB (F/T) OB (F/T) State CallFlw UUID = ==== ======== ======= ======= ====== ============ ====== 1 [interface1] 0/0 0/0 IDLE CALL_IDLE 2 [interface2] 0/0 0/0 IDLE CALL_IDLE 3 [interface3] 0/0 0/0 IDLE CALL_IDLE Total Interfaces: 3 IB Calls(Failed/Total): 0/0 OB Calls(Failed/Total): 0/0
Izmjenjeno od Ernad Husremović prije više od 15 godina
root@atom-2:~# sudo apt-get remove libbluetooth3
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Sljedeći paketi su automatski instalirani i više nisu potrebni: libxvmc1 Use 'apt-get autoremove' to remove them. Slijedeći paketi će biti UKLONJENI: bluez bluez-alsa bluez-cups bluez-gstreamer evolution evolution-couchdb evolution-exchange evolution-indicator evolution-plugins gnome-pilot gnome-pilot-conduits gvfs-backends libbluetooth3 libgnome-pilot2 libpisock9 libpisync1 obex-data-server obexd-client totem totem-mozilla totem-plugins 0 upgraded, 0 newly installed, 21 to remove and 0 not upgraded. After this operation, 25,8MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 130308 files and directories currently installed.) Removing bluez ... Removing bluez-alsa ... Removing bluez-cups ... Removing bluez-gstreamer ... Removing evolution-plugins ... Removing evolution-indicator ...
Izmjenjeno od Ernad Husremović prije više od 15 godina
[config/dbus] couldn't take over org.x.config: org.freedesktop.DBus.Error.AccessDenied (Connection ":1.192" is not allowed to own the service "org.x.config.display103" due to security policies in the configuration file)
Izmjenjeno od Ernad Husremović prije više od 15 godina
root@atom-2:/etc/dbus-1/system.d# vi xorg-server.conf
root@atom-2:/etc/dbus-1/system.d# service dbus restart
/etc/dbus-1/system.d/xorg-server.conf
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> <busconfig> <policy context="default"> <allow own="org.x.config.display0"/> <allow send_destination="org.x.config.display0"/> <allow send_interface="org.x.config.display0"/> <allow own="org.x.config.display1"/> <allow send_destination="org.x.config.display1"/> <allow send_interface="org.x.config.display1"/> <allow own="org.x.config.display101"/> <allow send_destination="org.x.config.display101"/> <allow send_interface="org.x.config.display101"/> <allow own="org.x.config.display102"/> <allow send_destination="org.x.config.display102"/> <allow send_interface="org.x.config.display102"/> <allow own="org.x.config.display103"/> <allow send_destination="org.x.config.display103"/> <allow send_interface="org.x.config.display103"/> </policy> </busconfig>
Izmjenjeno od Ernad Husremović prije više od 15 godina
root@atom-2:/etc/dbus-1/system.d# usermod -a -G adm freeswitch
Izmjenjeno od Ernad Husremović prije više od 15 godina
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list!
(EE) config/hal: couldn't initialise context: unknown error (null)
Izmjenjeno od Ernad Husremović prije više od 15 godina
ručno pokretanje skype klijenta jednom¶
jer traži prihvat korisničke licence
freeswitch@atom-2:~/.Skype$ skype --dbpath=/opt/freeswitch/.Skype/bringout_sa freeswitch@atom-2:~/.Skype$ skype --dbpath=/opt/freeswitch/.Skype/bringout_sa_b freeswitch@atom-2:~/.Skype$ skype --dbpath=/opt/freeswitch/.Skype/bringout_sa_c
Izmjenjeno od Ernad Husremović prije više od 15 godina
test:
freeswitch@atom-2:~$ /bin/echo 'bringout_sa sarabonxxxx'| /usr/bin/skype --dbpath=/opt/freeswitch/.Skype/bringout_sa --pipelogin
Izmjenjeno od Ernad Husremović prije više od 15 godina
root@atom-2:~# sudo apt-get remove gdm
Čitam spiskove paketa... Done Gradim stablo zavisnosti Reading state information... Done Sljedeći paketi su automatski instalirani i više nisu potrebni: libxvmc1 Use 'apt-get autoremove' to remove them. Slijedeći paketi će biti UKLONJENI: gdm gdm-guest-session indicator-applet-session indicator-session 0 upgraded, 0 newly installed, 4 to remove and 1 not upgraded. After this operation, 8352kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 129731 files and directories currently installed.) Removing indicator-applet-session ... Removing indicator-session ... Removing gdm-guest-session ... Removing gdm ... stop: Unknown instance: Processing triggers for sreadahead ... sreadahead will be reprofiled on next reboot Processing triggers for desktop-file-utils ... Processing triggers for hicolor-icon-theme ...
Izmjenjeno od Ernad Husremović prije više od 15 godina
2009-11-04 11:43:59.959995 [ERR] mod_event_socket.c:2310 Socket Error! Could not listen on 127.0.0.1:8021 2009-11-04 11:44:00.060677 [ERR] mod_event_socket.c:2310 Socket Error! Could not listen on 127.0.0.1:8021 2009-11-04 11:44:00.161276 [ERR] mod_event_socket.c:2310 Socket Error! Could not listen on 127.0.0.1:8021 2009-11-04 11:44:00.261873 [ERR] mod_event_socket.c:2310 Socket Error! Could not listen on 127.0.0.1:8021 2009-11-04 11:44:00.375147 [ERR] mod_event_socket.c:2310 Socket Error! Could not listen on 127.0.0.1:8021 2009-11-04 11:44:00.485081 [ERR] mod_event_socket.c:2310 Socket Error! Could not listen on 127.0.0.1:8021
Izmjenjeno od Ernad Husremović prije više od 15 godina
root@atom-2:~# cat /etc/group | grep pulse-access
pulse-access:x:118:freeswitch,root
Izmjenjeno od Ernad Husremović prije više od 15 godina
nakon što sam stavio ovo --dbpath stvar ne radi ?!?!
2009-11-04 11:49:42.034943 [ERR] mod_skypiax.c:1364 rev [(nil)|37 ][ERRORA 1364 ][interface1][-1, 0, 0] The Skype client to which we are connected FAILED to gave us CURRENTUSERHANDLE=bringout_sa, interface_id=1 FAILED to start. No Skype client logged in as 'bringout_sa' has been found. Please (re)launch a Skype client logged in as 'bringout_sa'. Skypiax exiting now 2009-11-04 11:49:42.034943 [CRIT] switch_loadable_module.c:871 Error Loading module /opt/freeswitch/mod/mod_skypiax.so **Module load routine returned an error**
Izmjenjeno od Ernad Husremović prije više od 15 godina
nakon prelaska na dbpath sve skype klijente ustvari treba iznova podešavati¶
root@atom-2:~# /bin/echo 'bringout_sa sarabon_sa_01'| /usr/bin/skype --dbpath=/opt/freeswitch/.Skype/bringout_sa --pipelogin
bringout@desk-c2:~/devel/work/freeswitch/src/mod/endpoints/mod_skypiax/configs$ ./a.out
Skype instance found on display ':0.0', with id #56623169 RECEIVED==> ERROR 68 RECEIVED==> OK
Izmjenjeno od Ernad Husremović prije više od 15 godina
Izmjenjeno od Ernad Husremović prije više od 15 godina
- Fajl skype_static-2.0.0.72.tar.bz2 skype_static-2.0.0.72.tar.bz2 dodano
- Naslov promijenjeno iz freeswitch on atom-2 u freeswitch on atom-2, skypiax ludara
Izmjenjeno od Ernad Husremović prije više od 15 godina
juče danas - zaključci skypeiax¶
prvo sam se sahatima patio oko konfiguracije .. moja klasična nepažnja ...
ali sam na kraju došao do toga da multi install one user radi - samo je bitno da se instalacija nalazi na različitim ekranima (:103, :104 ..)
ovo radi:
#start the fake X server on a given port /usr/bin/Xvfb :101 -ac & sleep 3 # start a Skype client instance that will connect to the X server above, and will login to the Skype network using the 'username password' you send to it on stdin. Here xxxx would be the password and skypiax1 the username su root -c "/bin/echo 'bringout_sa sarabon_sa_01'| DISPLAY=:101 /usr/bin/skype --dbpath=/opt/freeswitch/.Skype/bringout_sa --pipelogin &" sleep 7 ####################################################### /usr/bin/Xvfb :102 -ac & sleep 3 su root -c "/bin/echo 'bringout_sa sarabon_sa_01'| DISPLAY=:102 /usr/bin/skype --dbpath=/opt/freeswitch/.Skype/bringout_sa_b --pipelogin &" sleep 7
u /opt/freeswitch/.Skype/bringout_sa /opt/freeswitch/.Skype/bringout_sa_b nalaze se podaci za istog klijenta bringout_sa i na taj način može se handlirati više poziva odjednom prema bringout_sa
freeswitch 100% cpu, neče da otkači skype klijenta¶
ovo mi se svako malo dešava nakon što interface 1 skype iax-a počne visiti (state: in converstaion a ustvari nije) i bez kill ... -s KILL nisam uspio oboriti
skype klijent 2.1.x beta, kvalitet zvuka, cpu zauzeće¶
alsa sound je kritičan
tek kada sam podesio pulseaudio dobio sam dobar zvuk
međutim ovaj klijent guta puno cpu-a 40-50% cpu
skype klijent 2.0.x¶
jedva nađoh ovaj klijent, i on mi pokazuje sa alsa dummy interfejsom (on i ne podržava pulseaudio) 3% zauzeće
ali freeswitch se i dalje zakucava
suma sumarum¶
freeswitch trunk 1.0.5 (trunk) mi izgleda nestabilan. mislim da sam sa 1.0.4 i sa skypiax 2.0.x postizao ranije dobre rezultate pa idem još to probati
naravno problem može biti i sa karmic-om ali mislim da to nije posrijedi
Izmjenjeno od Ernad Husremović prije više od 15 godina
freeswitch 1.0.4¶
buildao 1.0.4 fs i cpu tokom skypiax poziva je 3-4% (fs) to je to.
međutim
kad sam pokušao:
freeswitch@internal> unload mod_skypiax
opet se fs smrzne i skroz zauzme procesor
Izmjenjeno od Ernad Husremović prije više od 15 godina
root@atom-2:~/skype# top
top - 15:14:08 up 3:45, 3 users, load average: 0.00, 0.11, 0.33 Tasks: 119 total, 1 running, 118 sleeping, 0 stopped, 0 zombie Cpu(s): 3.6%us, 3.5%sy, 0.0%ni, 90.6%id, 0.0%wa, 2.3%hi, 0.0%si, 0.0%st Mem: 1015264k total, 1003568k used, 11696k free, 41816k buffers Swap: 2973688k total, 32240k used, 2941448k free, 675116k cached PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 6229 root 20 0 356m 28m 6480 S 13 2.9 0:36.62 freeswitch <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 6198 root 20 0 91060 37m 4496 S 1 3.8 0:27.35 skype <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< music on hold 6120 root 20 0 56120 11m 2736 S 1 1.1 0:01.90 Xvfb
Izmjenjeno od Ernad Husremović prije više od 15 godina
nakon što sam završio otkačio pozive radi:
freeswitch@atom-2> sk list
API CALL [sk(list)] output: sk console is NOT yet assigned 1 [interface1] IDLE 2 [interface2] IDLE 3 [interface3] IDLE Total: 3
Izmjenjeno od Ernad Husremović prije više od 15 godina
Izmjenjeno od Ernad Husremović prije više od 15 godina
ovom mi se na konzoli pojavljuje
2009-11-04 15:17:58.444518 [WARNING] switch_core_file.c:120 Sample rate doesn't match 2009-11-04 15:17:59.786716 [WARNING] switch_core_file.c:120 Sample rate doesn't match 2009-11-04 15:18:00.306667 [WARNING] switch_core_file.c:120 Sample rate doesn't match 2009-11-04 15:18:00.826705 [WARNING] switch_core_file.c:120 Sample rate doesn't match ....
uspio sam međutim uhakati fs (cpu >100%) tako da je i skypiax ostao da visi busy:
freeswitch@atom-2> sk list
API CALL [sk(list)] output: sk console is NOT yet assigned 1 [interface1] IDLE 2 [interface2] BUSY, session_uuid_str=|||c48212ce-c94c-11de-a39c-d348efbc290b||| 3 [interface3] IDLE Total: 3
to sam postigao ovim dtmf-ovima u freeswitch meniju ?
Izmjenjeno od Ernad Husremović prije više od 15 godina
međutim da li je razlog ovih problema ova demo ivr aplikacija ?
root@atom-2:~/skype# tail /opt/freeswitch/log/freeswitch.log --lines=100
2009-11-04 15:18:48.126641 [DEBUG] switch_ivr_menu.c:567 IVR menu 'demo_ivr' no input detected 2009-11-04 15:18:49.155655 [DEBUG] switch_ivr_play_say.c:118 No language specified - Using [en] 2009-11-04 15:18:49.155655 [DEBUG] switch_ivr_play_say.c:273 Handle play-file:[silence_stream://1000] (en:en) 2009-11-04 15:18:49.155655 [DEBUG] switch_ivr_play_say.c:1097 Codec Activated L16@16000hz 1 channels 20ms 2009-11-04 15:18:50.145479 [DEBUG] switch_ivr_play_say.c:1391 done playing file 2009-11-04 15:18:50.264585 [DEBUG] switch_ivr_play_say.c:273 Handle play-file:[ivr/ivr-to_call_the_freeswitch_conference.wav] (en:en) 2009-11-04 15:18:50.264585 [WARNING] switch_core_file.c:120 Sample rate doesn't match 2009-11-04 15:18:50.264585 [DEBUG] switch_ivr_play_say.c:1097 Codec Activated L16@16000hz 1 channels 20ms
Izmjenjeno od Ernad Husremović prije više od 15 godina
komentarisao:
root@atom-2:~# vi /usr/share/alsa/alsa.conf
#pcm.hdmi cards.pcm.hdmi
Izmjenjeno od Ernad Husremović prije više od 15 godina
conf/vars.xml
<X-PRE-PROCESS cmd="set" data="default_provider=asterisk.bring.out.ba"/> <X-PRE-PROCESS cmd="set" data="default_provider_username=fs"/> <X-PRE-PROCESS cmd="set" data="default_provider_password=sa...."/> <X-PRE-PROCESS cmd="set" data="default_provider_from_domain=asterisk.bringout.ba"/> <!-- true or false --> <X-PRE-PROCESS cmd="set" data="default_provider_register=true"/> <X-PRE-PROCESS cmd="set" data="default_provider_contact=5060"/>
asterisk
[Nov 4 23:57:12] NOTICE[1907]: chan_sip.c:21006 handle_request_register: Registration from '<sip:fs@asterisk.bringout.ba;transport=udp>' failed for '192.168.45.23' - Not a local domain
Izmjenjeno od Ernad Husremović prije više od 15 godina
??? vanjska ip adresa ?
atom-2*CLI>
-- Registered SIP 'fs' at 89.146.173.226 port 5080 > Saved useragent "FreeSWITCH-mod_sofia/1.0.5pre5-hacked" for peer fs
Izmjenjeno od Ernad Husremović prije više od 15 godina
http://old.nabble.com/sip-trunking-question-td22541012.html
objašnjenje internal external
Izmjenjeno od Ernad Husremović prije više od 15 godina
Izmjenjeno od Ernad Husremović prije više od 15 godina
root@atom-2:/opt/freeswitch/conf/sip_profiles/internal# cat asterisk.bring.out.ba.xml
<include> <gateway name="$${default_provider}"> <param name="username" value="$${default_provider_username}"/> <param name="password" value="$${default_provider_password}"/> <param name="from-user" value="$${default_provider_username}"/> <param name="from-domain" value="$${default_provider_from_domain}"/> <param name="expire-seconds" value="600"/> <param name="register" value="$${default_provider_register}"/> <param name="retry-seconds" value="30"/> <param name="extension" value="$${default_provider_contact}"/> <!--<param name="contact-params" value="domain_name=$${domain}"/>--> <param name="context" value="internal"/> </gateway> </include>
reloadxml
reload mod_sofia
freeswitch@atom-2> sofia status
API CALL [sofia(status)] output: Name Type Data State ================================================================================================= internal profile sip:mod_sofia@192.168.45.23:5065 RUNNING (0) asterisk.bring.out.ba gateway sip:fs@asterisk.bring.out.ba REGED external profile sip:mod_sofia@192.168.45.23:5080 RUNNING (0) internal-ipv6 profile sip:mod_sofia@[::1]:5065 RUNNING (0) 192.168.45.23 alias internal ALIASED =================================================================================================
Izmjenjeno od Ernad Husremović prije više od 15 godina
EVO BUG-a !!!!!!!!!!!!!!!!!!!¶
https://bugs.launchpad.net/ubuntu/+bug/442443
Every few seconds the disk writes (or reads - i have no idea).
iotop shows it to be kjournald2. kjournald2 only shows up in system monitor if it is launched with sudo.
Karmic beta i386 on intel atom mini-itx
Izmjenjeno od Ernad Husremović prije skoro 15 godina
- Status promijenjeno iz Dodijeljeno u Zatvoreno