[Freeswitch-users] get error on skypopen module

Steven Ayre steveayre at gmail.com
Tue Dec 7 22:42:42 MSK 2010


> the skypopen module generate the events which are same as other modules

That's because they're channel events generated by the freeswitch
core. But there may be variables in them that you can use to identify
the Skypopen interface used.

> so i have to wait the 'sk list' command which maybe support to event socket in future :D

It's an API command so it's supported right now - just do "api sk
list". You just won't get the response as XML.

-Steve



On 7 December 2010 15:00, ha do <haloha201 at yahoo.com> wrote:
> Hi Steven
>
> the skypopen module generate the events which are same as other modules
> so i have to wait the 'sk list' command which maybe support to event socket in future :D
>
>
> Thank you
> Ha`
> --- On Tue, 12/7/10, Steven Ayre <steveayre at gmail.com> wrote:
>
>> From: Steven Ayre <steveayre at gmail.com>
>> Subject: Re: [Freeswitch-users] get error on skypopen module
>> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
>> Date: Tuesday, December 7, 2010, 6:48 AM
>> > i have a question on event
>> socket, what is the event name for skypopen to monitor the
>> interface IDLE/not IDLE or ANSWER or IN PROGRESS...
>>
>> Full ESL event list: http://wiki.freeswitch.org/wiki/Event_list
>>
>> Skyopen doesn't generate events for state changes itself.
>>
>> Check for CHANNEL_ANSWER and
>> CHANNEL_PROGRESS/CHANNEL_PROGRESS_MEDIA.
>>
>> For spotting an idle skype interface, CHANNEL_CREATE and
>> CHANNEL_DESTROY might tell you that by telling you when the
>> interface
>> is in use.
>>
>> If you want to poll for the interface states you can use
>> the sk list
>> api function via ESL, although there's unfortunately no 'as
>> xml'
>> formatting at the moment so it'll be slightly trickier to
>> parse.
>>
>> -Steve
>>
>> On 7 December 2010 12:15, ha do <haloha201 at yahoo.com>
>> wrote:
>> > Hi Meftab
>> >
>> >> did you autorised skypopen to access
>> >> skype from the skype client?
>> > you mean the skypopen_auth ??? if so, the answer is
>> yes
>> >
>> >> did you configured the skypopen interfaces to each
>> one
>> >> of the skype
>> > i dont understand, because i use multi skypy
>> client(skype software) with 1 username and 1 password
>> > and use the sample config file in
>> $source.../../configs/multiple-instances-same-skype-user/
>> >
>> > 2 skype clients run in difference folder
>> > /home/cucku/multi/interfaces01
>> > /home/cucku/multi/interfaces02
>> >
>> > so i only need to config the skypopen.conf.xml look
>> like below:
>> > <configuration name="skypopen.conf"
>> description="Skypopen Configuration">
>> >  <global_settings>
>> >    <param name="debug" value="8"/>
>> >    <param name="dialplan" value="XML"/>
>> >    <param name="context" value="default"/>
>> >    <param name="destination" value="5000"/>
>> >    <param name="skype_user"
>> value="do_nguyen_ha"/>
>> >    <param name="report_incoming_chatmessages"
>> value="false"/>
>> >    <param name="silent_mode" value="false"/>
>> >    <param name="write_silence_when_idle"
>> value="true"/>
>> >    <param name="setsockopt" value="false"/>
>> >  </global_settings>
>> >  <!-- one entry here per each skypopen interface
>> -->
>> >  <per_interface_settings>
>> >    <interface id="1" name="interface1">
>> >        <param name="X11-display"
>> value=":101"/>
>> >    </interface>
>> >    <interface id="2" name="interface2">
>> >        <param name="X11-display"
>> value=":102"/>
>> >    </interface>
>> >  </per_interface_settings>
>> > </configuration>
>> >
>> > does the conifg look ok?? if not, please guide me to
>> make it right
>> >
>> > i have a question on event socket, what is the event
>> name for skypopen to monitor the interface IDLE/not IDLE or
>> ANSWER or IN PROGRESS...
>> >
>> > which event plain should i take care of
>> >
>> >
>> > Thank you
>> > Ha`
>> > --- On Tue, 12/7/10, Meftah Tayeb <tayeb.meftah at gmail.com>
>> wrote:
>> >
>> >> From: Meftah Tayeb <tayeb.meftah at gmail.com>
>> >> Subject: Re: [Freeswitch-users] get error on
>> skypopen module
>> >> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
>> >> Cc: "ha do" <haloha201 at yahoo.com>
>> >> Date: Tuesday, December 7, 2010, 4:43 AM
>> >> did you autorised skypopen to access
>> >> skype from the skype client?
>> >> and did you configured the skypopen interfaces to
>> each one
>> >> of the skype
>> >> clients?
>> >> thanks
>> >> Le 07/12/2010 05:34, ha do a écrit :
>> >> > Hi list
>> >> >
>> >> > i setup freeswitch and skypopen running fine
>> >> >
>> >> > there are 2 skype clients run on freeswitch
>> >> > freeswitch at internal>  sk list
>> >> > sk console is NOT yet assigned
>> >> > F ID        Name
>> >>     IB (F/T)    OB (F/T)
>> >> State   CallFlw
>> >>    UUID
>> >> > = ====    ========
>> >> =======     =======
>> >>    ======  ============
>> >> ======
>> >> >    1
>> >>    [interface1]      0/1
>> >>       3/7
>> >> IDLE    IDLE
>> >> >    2
>> >>    [interface2]      0/5
>> >>       1/5
>> >> IDLE    IDLE
>> >> >
>> >> > the skype clients are used the same username
>> +
>> >> password of skype account
>> >> >
>> >> >
>> >> > the skypopen works fine but i get error below
>> in the
>> >> debug mode
>> >> >
>> >> > 2010-12-07 04:24:35.794611 [DEBUG]
>> >> switch_core_state_machine.c:462
>> (skypopen/interface1) State
>> >> DESTROY going to sleep
>> >> > 2010-12-07 04:24:35.795807 [DEBUG]
>> >> skypopen_protocol.c:173     [|]
>> >> [DEBUG_SKYPE  173  ][interface1
>> >>    ][IDLE,IDLE] READING: |||ERROR 559 CALL:
>> >> Action failed|||
>> >> > 2010-12-07 04:24:35.795807 [DEBUG]
>> >> skypopen_protocol.c:228     [|]
>> >> [DEBUG_SKYPE  228  ][interface1
>> >>    ][IDLE,IDLE] Skype got ERROR about a
>> >> failed action (probably TRYING to HANGUP A CALL),
>> no
>> >> problem: |||ERROR 559 CALL: Action failed|||
>> >> > 2010-12-07 04:24:35.795807 [DEBUG]
>> >> skypopen_protocol.c:173     [|]
>> >> [DEBUG_SKYPE  173  ][interface1
>> >>    ][IDLE,IDLE] READING: |||ERROR 559 CALL:
>> >> Action failed|||
>> >> > 2010-12-07 04:24:35.795807 [DEBUG]
>> >> skypopen_protocol.c:228     [|]
>> >> [DEBUG_SKYPE  228  ][interface1
>> >>    ][IDLE,IDLE] Skype got ERROR about a
>> >> failed action (probably TRYING to HANGUP A CALL),
>> no
>> >> problem: |||ERROR 559 CALL: Action failed|||
>> >> >
>> >> > How to fix it
>> >> >
>> >> > Thank you
>> >> > Ha`
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> _______________________________________________
>> >> > FreeSWITCH-users mailing list
>> >> > FreeSWITCH-users at lists.freeswitch.org
>> >> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >> > http://www.freeswitch.org
>> >> >
>> >>
>> >>
>> >> --
>> >> Meftah Tayeb
>> >> inum: +883510001288000
>> >> Phone: +13602276297
>> >> Fax: +12538020313
>> >>
>> >>
>> >
>> >
>> >
>> >
>> > _______________________________________________
>> > FreeSWITCH-users mailing list
>> > FreeSWITCH-users at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> > http://www.freeswitch.org
>> >
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



More information about the FreeSWITCH-users mailing list