[Freeswitch-dev] mod_skypiax inching forward

seven du seven at idapted.com
Fri Jan 16 01:02:08 PST 2009


hi Giovanni,

I successfully loaded skypiax on another ubuntu gutsy machine, the  
privious problem maybe because it is in a Xen VM.

But, when I call out with originate skype/echo123 &echo, it shows  
chan_not_implemented, however, I think it should be skypiax(2009-01-16  
16:49:06 [NOTICE] switch_loadable_module.c:141  
switch_loadable_module_process() Adding Endpoint 'skypiax'). when I  
dial with originate skypiax/echo123 &echo, core dumped.

freeswitch at djf-desktop> originate skype/echo123 &echo
2009-01-16 16:53:36 [ERR] switch_core_session.c:255  
switch_core_session_outgoing_channel() Could not locate channel type  
skype
2009-01-16 16:53:36 [ERR] switch_ivr_originate.c:1122  
switch_ivr_originate() Cannot create outgoing channel of type [skype]  
cause: [CHAN_NOT_IMPLEMENTED]
2009-01-16 16:53:36 [DEBUG] switch_ivr_originate.c:1705  
switch_ivr_originate() Originate Resulted in Error Cause: 66  
[CHAN_NOT_IMPLEMENTED]
API CALL [originate(skype/echo123 &echo)] output:
-ERR CHAN_NOT_IMPLEMENTED

freeswitch at djf-desktop>
freeswitch at djf-desktop> console loglevel 9
API CALL [console(loglevel 9)] output:
+OK console log level set to DEBUG

freeswitch at djf-desktop> load mod_skypiax
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:630 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  630  ][none      ][-1,-1,-1]  
globals.debug=0
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:632 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  632  ][none      ][-1,-1,-1]  
globals.debug=8
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:643 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  643  ][none      ][-1,-1,-1] codec- 
master globals.debug=8
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:646 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  646  ][none      ][-1,-1,-1]  
globals.dialplan=XML
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:652 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  652  ][none      ][-1,-1,-1]  
globals.context=default
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:649 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  649  ][none      ][-1,-1,-1]  
globals.destination=5000
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:655 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  655  ][none      ][-1,-1,-1]  
globals.codec_string=gsm,ulaw
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:662 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  662  ][none      ][-1,-1,-1]  
globals.codec_rates_string=8000,16000
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:635 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  635  ][none      ][-1,-1,-1]  
globals.hold_music=
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:757 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  757  ][none      ][-1,-1,-1]  
interface_id=1
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:780 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  780  ][none      ][-1,-1,-1]  
name=idapted_voip_1
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:786 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  786  ][none      ][-1,-1,-1]  
Initialized XInitThreads!
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:798 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  798  ][none      ][-1,-1,-1]  
CONFIGURING interface_id=1
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:827 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  827  ][none      ][-1,-1,-1]  
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].X11_display=:101
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:831 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  831  ][none      ][-1,-1,-1]  
interface_id=1  
globals.SKYPIAX_INTERFACES[interface_id].skype_user=idapted_voip_1
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:835 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  835  ][none      ][-1,-1,-1]  
interface_id=1  
globals.SKYPIAX_INTERFACES[interface_id].tcp_cli_port=15556
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:839 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  839  ][none      ][-1,-1,-1]  
interface_id=1  
globals.SKYPIAX_INTERFACES[interface_id].tcp_srv_port=15557
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:842 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  842  ][none      ][-1,-1,-1]  
interface_id=1  
globals.SKYPIAX_INTERFACES[interface_id].name=idapted_voip_1
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:845 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  845  ][none      ][-1,-1,-1]  
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].context=default
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:849 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  849  ][none      ][-1,-1,-1]  
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].dialplan=XML
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:853 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  853  ][none      ][-1,-1,-1]  
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].destination=5000
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:856 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  856  ][none      ][-1,-1,-1]  
interface_id=1 globals.SKYPIAX_INTERFACES[interface_id].context=default
2009-01-16 16:49:05 [NOTICE] mod_skypiax.c:857 load_config() rev  
11253[(nil)|37     ][NOTICA  857  ][none      ][-1,-1,-1] STARTING  
interface_id=1
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:925  
skypiax_skypeapi_thread_func() rev 11253[(nil)|37     ][DEBUG_PBX   
925  ][idapted_voip_1][-1, 0, 0] ENTERING FUNC
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:938  
skypiax_skypeapi_thread_func() rev 11253[(nil)|37     ][DEBUG_SKYPE   
938  ][idapted_voip_1][-1, 0, 0] X Display ':101' opened
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:890  
skypiax_skype_present() rev 11253[(nil)|37     ][DEBUG_SKYPE  890  ] 
[none      ][-1,-1,-1] Skype instance found with id #2097367
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:570  
skypiax_signaling_thread_func() rev 11253[(nil)|37     ][DEBUG_PBX   
570  ][idapted_voip_1][-1, 0, 0] ENTERING FUNC
2009-01-16 16:49:05 [DEBUG] mod_skypiax.c:573  
skypiax_signaling_thread_func() rev 11253[(nil)|37     ][DEBUG_SKYPE   
573  ][idapted_voip_1][-1, 0, 0] In skypiax_signaling_thread_func:  
started, p=0xab31e440
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:1147  
skypiax_skype_read() rev 11253[(nil)|37     ][DEBUG_SKYPE  1147 ] 
[idapted_voip_1][-1, 0, 0] READING: |||OK|||
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:1147  
skypiax_skype_read() rev 11253[(nil)|37     ][DEBUG_SKYPE  1147 ] 
[idapted_voip_1][-1, 0, 0] READING: |||PROTOCOL 6|||
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:1147  
skypiax_skype_read() rev 11253[(nil)|37     ][DEBUG_SKYPE  1147 ] 
[idapted_voip_1][-1, 0, 0] READING: |||CONNSTATUS ONLINE|||
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:1147  
skypiax_skype_read() rev 11253[(nil)|37     ][DEBUG_SKYPE  1147 ] 
[idapted_voip_1][-1, 0, 0] READING: |||CURRENTUSERHANDLE  
idapted_voip_1|||
2009-01-16 16:49:05 [DEBUG] skypiax_protocol.c:1147  
skypiax_skype_read() rev 11253[(nil)|37     ][DEBUG_SKYPE  1147 ] 
[idapted_voip_1][-1, 0, 0] READING: |||USERSTATUS NA|||
2009-01-16 16:49:06 [DEBUG] skypiax_protocol.c:471  
skypiax_skypeaudio_init() rev 11253[(nil)|37     ][DEBUG_PBX  471  ] 
[idapted_voip_1][-1, 0, 0] EXITING FUNC
2009-01-16 16:49:06 [NOTICE] mod_skypiax.c:886 load_config() rev  
11253[(nil)|37     ][NOTICA  886  ][none      ][-1,-1,-1] STARTED  
interface_id=1
API CALL [load(mod_skypiax)] output:
+OK

2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:899 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  899  ][none      ][-1,-1,-1] i=1  
globals.SKYPIAX_INTERFACES[1].interface_id=1
2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:901 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  901  ][none      ][-1,-1,-1] i=1  
globals.SKYPIAX_INTERFACES[1].X11_display=:101
2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:903 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  903  ][none      ][-1,-1,-1] i=1  
globals.SKYPIAX_INTERFACES[1].name=idapted_voip_1
2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:905 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  905  ][none      ][-1,-1,-1] i=1  
globals.SKYPIAX_INTERFACES[1].context=default
2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:907 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  907  ][none      ][-1,-1,-1] i=1  
globals.SKYPIAX_INTERFACES[1].dialplan=XML
2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:909 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  909  ][none      ][-1,-1,-1] i=1  
globals.SKYPIAX_INTERFACES[1].destination=5000
2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:911 load_config() rev  
11253[(nil)|37     ][DEBUG_SKYPE  911  ][none      ][-1,-1,-1] i=1  
globals.SKYPIAX_INTERFACES[1].context=default
2009-01-16 16:49:06 [DEBUG] mod_skypiax.c:938 mod_skypiax_load() rev  
11253[(nil)|37     ][DEBUG_SKYPE  938  ][none      ][-1,-1,-1] EXITING  
FUNC!
2009-01-16 16:49:06 [CONSOLE] switch_loadable_module.c:857  
switch_loadable_module_load_file() Successfully Loaded [mod_skypiax]
2009-01-16 16:49:06 [NOTICE] switch_loadable_module.c:141  
switch_loadable_module_process() Adding Endpoint 'skypiax'
freeswitch at djf-desktop>
freeswitch at djf-desktop>
freeswitch at djf-desktop> originate skype/echo123 &echo
2009-01-16 16:53:36 [ERR] switch_core_session.c:255  
switch_core_session_outgoing_channel() Could not locate channel type  
skype
2009-01-16 16:53:36 [ERR] switch_ivr_originate.c:1122  
switch_ivr_originate() Cannot create outgoing channel of type [skype]  
cause: [CHAN_NOT_IMPLEMENTED]
2009-01-16 16:53:36 [DEBUG] switch_ivr_originate.c:1705  
switch_ivr_originate() Originate Resulted in Error Cause: 66  
[CHAN_NOT_IMPLEMENTED]
API CALL [originate(skype/echo123 &echo)] output:
-ERR CHAN_NOT_IMPLEMENTED



But I can call-IN using another skype account, and it can bridge to a  
sofia endpoint , sound quality is very good.



More information about the Freeswitch-dev mailing list