Projekat

Općenito

Profil

Akcije

Podrška #18798

Zatvoren

skypiax se zakuca

Dodano od Ernad Husremović prije više od 15 godina. Izmjenjeno prije skoro 15 godina.

Status:
Zatvoreno
Prioritet:
Normalan
Odgovorna osoba:
Kategorija:
-
Početak:
05.11.2009
Završetak:
% završeno:

90%

Procjena vremena:

Fajlovi

gmaruzz-2009-11-09-18h42.log (8,5 KB) gmaruzz-2009-11-09-18h42.log Ernad Husremović, 09.11.2009 18:44

Povezani tiketi 1 (0 otvoreno1 zatvoren)

korelira sa voip - Podrška #18755: freeswitch on atom-2, skypiax ludaraZatvorenoErnad Husremović02.11.2009

Akcije
Akcije #1

Izmjenjeno od Ernad Husremović prije više od 15 godina

http://paste.ubuntu.com/310688/

freeswitch@atom-2> version

FreeSWITCH Version 1.0.5pre5 (hacked)

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        1/3        UP      STATUS_INPROGRS 5a61d022-ca1f-11de-83df-a39c1aa16b0a
  2     [interface2]      0/0        0/6        IDLE    CALL_IDLE
* 3     [interface3]      0/0        0/2        UP      STATUS_INPROGRS 6ce1049e-ca1e-11de-83df-a39c1aa16b0a

Total Interfaces: 3  IB Calls(Failed/Total): 0/0  OB Calls(Failed/Total): 1/11

Tasks: 125 total,   1 running, 124 sleeping,   0 stopped,   0 zombie
Cpu(s): 23.9%us,  4.4%sy,  0.1%ni, 68.9%id,  0.9%wa,  1.6%hi,  0.2%si,  0.0%st
Mem:   1015264k total,   895664k used,   119600k free,   170280k buffers
Swap:  2973688k total,    55264k used,  2918424k free,   293768k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                   
 8003 root      20   0  331m  39m 7404 S  178  4.0 123:42.10 freeswitch                                 
 1724 asterisk -11   0  747m  11m 3372 S    7  1.1  95:41.13 asterisk                                   
 2166 root      20   0 39076 3060 1100 S    4  0.3   2:24.70 drb_asterisk.rb                            
 9820 root      20   0 19128 1212  884 R    4  0.1   0:00.04 top                                        
    1 root      20   0 19456 1108  640 S    0  0.1   0:01.26 init    

Akcije #2

Izmjenjeno od Ernad Husremović prije više od 15 godina

<hernad_> does anybody using skypiax on linux

<hernad_> i have regular issues with hunging up some interfaces UP, after that freeswitch cpu is 100%

Akcije #3

Izmjenjeno od Ernad Husremović prije više od 15 godina

 ok
 which platform?
<-- shehzad has quit (Read error: 104 (Connection reset by peer))
<hernad_> ubuntu linux karmic
<bkw_> bsnipes: its a behavior change
<hernad_> amd64
<gmaruzz> go to hardy
--> shehzad (n=shehzad@121.246.75.203) has joined #freeswitch
<rupa> gotta love laptops drop shipped from HK
<gmaruzz> which skype?
 the beta?
<hernad_> 2.0
<gmaruzz> that's good
<hernad_> first i have tried 2.1 beta
 and switched back to 2.0 and set pulseauio off
<robwil> anthm: http://pastebin.freeswitch.org/11003
<coppice> rupa: don't they suffer in the drop?
<gmaruzz> is a desktop?
<rupa> well padded :)
<hernad_> i'm using it as server 
 it intel atom atom machine 
<gmaruzz> ok, but the installation is a desktop?
<coppice> rupa: every notebook I've had was shipped to HK
<hernad_> yes 
<-- shehzad has quit (Read error: 104 (Connection reset by peer))
<hernad_> general kernel
<rupa> helps to live nearby
<gmaruzz> probably that makes problems...
<hernad_> to try with -server kernel ?
<gmaruzz> also, I know that skype is not so stable on atom...
--> shehzad (n=shehzad@121.246.75.203) has joined #freeswitch
 marv[work] (n=timr@router.asteriasgi.com) has joined #freeswitch
<UnixDawg> bkw_ this is what I have to do in the plist for all the conf files
 @unexec if cmp -s %D/freeswitch/conf/autoload_configs/acl.conf.xml %D/freeswitch/conf/autoload_configs/acl.conf.xml-dist; then rm -f %D; fi freeswitch/conf/autoload_configs/acl.conf.xml-dist
<hernad_> hm ... skype client look to me ok
<coppice> back in the good old days of DEC, all the stuff they made in southern china was shipped to HK from a warehouse in the US
<gmaruzz> if you want to be sure, use the server .iso of harcdy :)
<UnixDawg> this backs up the conf files to -dist
 makes a cleaner install deinstall
<-- shehzad has quit (Read error: 104 (Connection reset by peer))
<hernad_> hmm ... I already using it in production so reinstall is a little problematic
--> Roy2098 (n=chatzill@dpc674466036.direcpc.com) has joined #freeswitch
<hernad_> but if it's only sollution ok
<UnixDawg> and upgrade
--> ms110 (n=shehzad@121.246.75.203) has joined #freeswitch
<gmaruzz> have you followed the instruction on how to setup alsa and audio devices for skype (the wiki page for mod_skypiax)?
<UnixDawg> bbiab I will try to finish this up today
<hernad_> do you have any clue what could be the reason ?
<-- ms110 has quit (Read error: 104 (Connection reset by peer))
* c888 12:09 http://www.cluecon.com
<gmaruzz> if you want something stable for production, for sure go with hardy server
<hernad_> I have checked every client with ssh -X
--> ms110 (n=shehzad@121.246.75.203) has joined #freeswitch
<gmaruzz> and don't know about atom...
--- ms110 is now known as Guest65552
<-- Guest65552 has quit (Read error: 104 (Connection reset by peer))
<hernad_> I choose atom because of small factor
<gmaruzz> you are using snd_dummy as sound devices?
<hernad_> yes of course snd_dummy is set-up on every client
--> cosmicwombat (n=cosmicwo@69.7.44.68) has joined #freeswitch
 shehzad (n=shehzad@121.246.75.203) has joined #freeswitch
<-- shehzad has quit (Read error: 104 (Connection reset by peer))
<gmaruzz> it probably comes from some interaction between atom, alsa and X...
--> shehzad (n=shehzad@121.246.75.203) has joined #freeswitch
<hernad_> i suspect on fs behaviour, skype clients seems ok to me
<gmaruzz> what you can do is:
 follow the "reporting bugs" instruction in the mod_skypiax wiki page
<-- shehzad has quit (Read error: 104 (Connection reset by peer))
<gmaruzz> and fill a Jira with complete debug info
 so I can have a look at it
--> shehzad (n=shehzad@121.246.75.203) has joined #freeswitch
<hernad_> the sound is ok, freeswitch cpu is about <10% skype client 3% cpu until first interface freeze in UP condtion
<-- shehzad has quit (Read error: 104 (Connection reset by peer))
<anthm> if you get it where its stuck in the race
 ./support-d/fscore_pb gcore skype
<hernad_> ok I will fill jira bug thank you
<anthm> a few times
--> shehzad (n=shehzad@121.246.75.203) has joined #freeswitch
<gmaruzz> do as suggested, and fill a jira with all the debug info I ask for in the wiki page
<anthm> then top -H
 look for the thread id that is 100%
<sekil> bkw_: did you happen to reproduce a bug I told you about yesterday?
<gmaruzz> that will tell me which race mod_skypiax (not FS) is stuck into
<gmaruzz> hernad_: and do what anthm told too
<-- shehzad has quit (Read error: 104 (Connection reset by peer))
<sekil> bbl
<-- beer has quit ("Leaving.")
 sekil has quit ("Leaving.")
<hernad_> ok, of course, it is the end of day here in europe so I will do that tommorow
--> shehzad (n=shehzad@121.246.75.203) has joined #freeswitch
<gmaruzz> and put all the output in the jira, *as attachment* not copy and paste
<lsd> damn you europe, always one step ahead!
Akcije #4

Izmjenjeno od Ernad Husremović prije više od 15 godina

registrovao se na jira: hernad/sar...

Akcije #5

Izmjenjeno od Ernad Husremović prije više od 15 godina

atom-2 /usr/local/freeswitch

root@atom-2:/usr/local/freeswitch/conf# cp /opt/freeswitch/conf/vars.xml .
root@atom-2:/usr/local/freeswitch/conf/dialplan/public# cp /opt/freeswitch/conf/dialplan/public/skypiax.xml .

root@atom-2:/usr/local/freeswitch/conf/dialplan# find /opt/freeswitch/conf/ -name asterisk*

/opt/freeswitch/conf/sip_profiles/internal/asterisk.bring.out.ba.xml
/opt/freeswitch/conf/directory/default/asterisk.xml
/opt/freeswitch/conf/dialplan/default/asterisk.xml

Akcije #6

Izmjenjeno od Ernad Husremović prije više od 15 godina

root@atom-2:/usr/local/freeswitch/conf/dialplan/default# cat asterisk.xml

<include>
<extension name="ast_extens">
  <condition field="destination_number" expression="^(94\d{2})$">
    <action application="set" data="hangup_after_bridge=true"/>
    <action application="bridge" data="sofia/external/$1@192.168.45.23"/>
    <action application="hangup"/>
  </condition>
</extension>
</include>

Akcije #7

Izmjenjeno od Ernad Husremović prije više od 15 godina

root@atom-2:/usr/local/freeswitch/conf/autoload_configs# cp -v /opt/freeswitch/conf/autoload_configs/skypiax* .

`/opt/freeswitch/conf/autoload_configs/skypiax.conf.xml' -> `./skypiax.conf.xml'
`/opt/freeswitch/conf/autoload_configs/skypiax.X.conf' -> `./skypiax.X.conf'

Akcije #8

Izmjenjeno od Ernad Husremović prije više od 15 godina

root@atom-2:/usr/local/freeswitch/conf/autoload_configs# cp -v /opt/freeswitch/conf/autoload_configs/acl.conf.xml .

`/opt/freeswitch/conf/autoload_configs/acl.conf.xml' -> `./acl.conf.xml'

Akcije #9

Izmjenjeno od Ernad Husremović prije više od 15 godina

http://jira.freeswitch.org/browse/MODSKYPIAX-56

danas sam na povodom ovog problema se borio sa autorom skypiax-a gmaruzz-om

Akcije #10

Izmjenjeno od Ernad Husremović prije više od 15 godina

Giovanni Maruzzelli

Akcije #11

Izmjenjeno od Ernad Husremović prije više od 15 godina

ostao sam dužan da ovo prijavim:

http://jira.freeswitch.org/browse/MODSKYPIAX-56?focusedCommentId=18165&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_18165

Report from my last tests

> if more than one instance of skype is used, after the first call is beginned, there is no more signaling coming into mod_skypiax.

Problem can be reproduced with with one instance also.

But, Giovanni have made a good diagnosis :).

Problem is with libX11 stack in karmic.

I have built thees packages (apt-get source from hardy), build on karmic:

libx11-6_1.1.3-1ubuntu3_i386.deb libxcb1_1.1-1ubuntu2_i386.deb
libx11-data_1.1.3-1ubuntu3_all.deb libxcb-xlib0_1.1-1ubuntu2_i386.deb
libx11-xcb1_1.1.3-1ubuntu3_i386.deb xcb-proto_1.1-1ubuntu1_all.deb

# dpkg -i *deb

... and skypiax on karmic works without problems.

Some other notes:
- Xvfb is from karmic (not downlgraded)
- there are some dependency problems after this installation (libstartup-notification0 which depends on newer libx11 libraries)

At least, we know what is the cause of problems.

At the and, I want to thank great support from Giovanny with this problem. His attitude have confirmed to me how great is FS community.

This is so important part of any software project.
Akcije #12

Izmjenjeno od Ernad Husremović prije više od 15 godina

  • % završeno promijenjeno iz 0 u 90
Akcije #13

Izmjenjeno od Ernad Husremović prije skoro 15 godina

  • Status promijenjeno iz Dodijeljeno u Zatvoreno
Akcije

Također dostupno kao Atom PDF