[Freeswitch-dev] mod_skypiax inching forward

seven du seven at idapted.com
Thu Jan 15 02:22:46 PST 2009


Hi,

I tested skypiax on Linux db1.veecue.com 2.6.24-19-xen (Ubuntu hardy  
in Xen), after I load the mod_skypiax, the console will stuck.

I'm not sure, anything is following the wiki. However, On the Desktop  
computer configuring skype, there are multiple snd drivers,

default
HW dummy
other

I chosed the second,  so the last few lines in  config.xml in / 
root/.Skype/idapted_voip_1/  like

   <UI>
     <API>
       <Authorizations>skypiax</Authorizations>
       <BlockedPrograms></BlockedPrograms>
     </API>
     <CaptureDevice>2</CaptureDevice>
     <RingDevice>2</RingDevice>
     <SoundDevice>2</SoundDevice>
   </UI>



# sh startskype.sh
ERROR: Module snd_hda_intel does not exist in /proc/modules
error opening security policy file /etc/X11/xserver/SecurityPolicy
sh: /usr/bin/xkbcomp: not found
Could not init font path element /usr/share/fonts/X11/cyrillic,  
removing from list!
Could not init font path element /usr/share/fonts/ 
X11/100dpi/:unscaled, removing from list!
Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled,  
removing from list!
Could not init font path element /usr/share/fonts/X11/Type1, removing  
from list!
Could not init font path element /usr/share/fonts/X11/100dpi, removing  
from list!
Could not init font path element /usr/share/fonts/X11/75dpi, removing  
from list!
Could not init font path element /var/lib/defoma/x-ttcidfont-conf.d/ 
dirs/TrueType, removing from list!
[config/hal] couldn't initialise context: (null) ((null))

#ps aux|grep skype

root     18774  0.3  4.0  75788 32216 pts/9    Sl   17:54   0:03 /usr/ 
bin/skype --pipelogin
root     20613  0.0  0.0   1692   500 pts/9    R+   18:16   0:00 grep  
skype




2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:630 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  630  ][none      ][-1,-1,-1]  
globals.debug=0
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:632 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  632  ][none      ][-1,-1,-1]  
globals.debug=8
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:643 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  643  ][none      ][-1,-1,-1] codec- 
master globals.debug=8
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:646 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  646  ][none      ][-1,-1,-1]  
globals.dialplan=XML
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:652 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  652  ][none      ][-1,-1,-1]  
globals.context=default
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:649 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  649  ][none      ][-1,-1,-1]  
globals.destination=5000
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:655 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  655  ][none      ][-1,-1,-1]  
globals.codec_string=gsm,ulaw
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:662 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  662  ][none      ][-1,-1,-1]  
globals.codec_rates_string=8000,16000
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:635 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  635  ][none      ][-1,-1,-1]  
globals.hold_music=local_stream://moh
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:757 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  757  ][none      ][-1,-1,-1]  
interface_id=1
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:780 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  780  ][none      ][-1,-1,-1]  
name=idapted_voip_1
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:786 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  786  ][none      ][-1,-1,-1]  
Initialized XInitThreads!
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:798 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  798  ][none      ][-1,-1,-1]  
CONFIGURING interface_id=1
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:827 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  827  ][none      ][-1,-1,-1]  
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].X11_display=:101
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:831 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  831  ][none      ][-1,-1,-1]  
interface_id=1  
globals.SKYPIAX_INTERFACES[interface_id].skype_user=idapted_voip_11
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:835 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  835  ][none      ][-1,-1,-1]  
interface_id=1  
globals.SKYPIAX_INTERFACES[interface_id].tcp_cli_port=15556
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:839 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  839  ][none      ][-1,-1,-1]  
interface_id=1  
globals.SKYPIAX_INTERFACES[interface_id].tcp_srv_port=15557
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:842 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  842  ][none      ][-1,-1,-1]  
interface_id=1  
globals.SKYPIAX_INTERFACES[interface_id].name=idapted_voip_1
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:845 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  845  ][none      ][-1,-1,-1]  
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].context=default
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:849 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  849  ][none      ][-1,-1,-1]  
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].dialplan=XML
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:853 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  853  ][none      ][-1,-1,-1]  
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].destination=5000
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:856 load_config() rev  
11066M[(nil)|37     ][DEBUG_SKYPE  856  ][none      ][-1,-1,-1]  
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].context=default
2009-01-15 17:56:41 [NOTICE] mod_skypiax.c:857 load_config() rev  
11066M[(nil)|37     ][NOTICA  857  ][none      ][-1,-1,-1] STARTING  
interface_id=1
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:925  
skypiax_skypeapi_thread_func() rev 11066M[(nil)|37     ][DEBUG_PBX   
925  ][idapted_voip_1][-1, 0, 0] ENTERING FUNC
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:938  
skypiax_skypeapi_thread_func() rev 11066M[(nil)|37     ][DEBUG_SKYPE   
938  ][idapted_voip_1][-1, 0, 0] X Display ':101' opened
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:890  
skypiax_skype_present() rev 11066M[(nil)|37     ][DEBUG_SKYPE  890  ] 
[none      ][-1,-1,-1] Skype instance found with id #2097250
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:570  
skypiax_signaling_thread_func() rev 11066M[(nil)|37     ][DEBUG_PBX   
570  ][idapted_voip_1][-1, 0, 0] ENTERING FUNC
2009-01-15 17:56:41 [DEBUG] mod_skypiax.c:573  
skypiax_signaling_thread_func() rev 11066M[(nil)|37     ][DEBUG_SKYPE   
573  ][idapted_voip_1][-1, 0, 0] In skypiax_signaling_thread_func:  
started, p=0xa792a420
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147  
skypiax_skype_read() rev 11066M[(nil)|37     ][DEBUG_SKYPE  1147 ] 
[idapted_voip_1][-1, 0, 0] READING: |||OK|||
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147  
skypiax_skype_read() rev 11066M[(nil)|37     ][DEBUG_SKYPE  1147 ] 
[idapted_voip_1][-1, 0, 0] READING: |||PROTOCOL 6|||
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147  
skypiax_skype_read() rev 11066M[(nil)|37     ][DEBUG_SKYPE  1147 ] 
[idapted_voip_1][-1, 0, 0] READING: |||CONNSTATUS ONLINE|||
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147  
skypiax_skype_read() rev 11066M[(nil)|37     ][DEBUG_SKYPE  1147 ] 
[idapted_voip_1][-1, 0, 0] READING: |||CURRENTUSERHANDLE  
idapted_voip_1|2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147  
skypiax_skype_read() rev 11066M[(nil)|37     ][DEBUG_SKYPE  1147 ] 
[idapted_voip_1][-1, 0, 0] READING: |||CURRENTUSERHANDLE  
idapted_voip_1|||
2009-01-15 17:56:41 [DEBUG] skypiax_protocol.c:1147  
skypiax_skype_read() rev 11066M[(nil)|37     ][DEBUG_SKYPE  1147 ] 
[idapted_voip_1][-1, 0, 0] READING: |||USERSTATUS ONLINE|||
2009-01-15 17:56:42 [DEBUG] skypiax_protocol.c:471  
skypiax_skypeaudio_init() rev 11066M[(nil)|37     ][DEBUG_PBX  471  ] 
[idapted_voip_1][-1, 0, 0] EXITING FUNC






More information about the Freeswitch-dev mailing list