Author Topic: Skype plugin not working (Trying to call ?+97675+MYSKYPE+9876534876)  (Read 3532 times)

0 Members and 1 Guest are viewing this topic.

01ste02

  • $upporter
  • Jr. Member
  • *****
  • Posts: 37
  • Karma: 1
  • 16 Years old hobby-developer in home-automation
    • View Profile
    • Company website (Swedish and incomplete)
Hi all!

I was wondering if I might get some help here, my skype won't call from VC.

I have connected it and followed james´s tutorial on youtube, but all skype will call is:

(see attached image 1)

Full name: (attached image 2)

It calls different numbers every time and has done so for the last 6 months.

The payload xml is ok, all is set according to James tutorial.

Best regards

Oskar Stenberg
What you can´t do now... Go learn it!

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Skype plugin not working (Trying to call ?+97675+MYSKYPE+9876534876)
« Reply #1 on: January 23, 2016, 08:04:42 AM »
Hi Oskar,

Unfortunately, it's really not clear to me what the problem is. Maybe you can try to rephrase it.

If you can email me a log file and your payload XML it will hopefully also help me to understand better.

What are these numbers that you are trying to call? Are they real telephones or other Skype users? They do not look like either one to me!
« Last Edit: January 23, 2016, 08:17:38 AM by nime5ter »

01ste02

  • $upporter
  • Jr. Member
  • *****
  • Posts: 37
  • Karma: 1
  • 16 Years old hobby-developer in home-automation
    • View Profile
    • Company website (Swedish and incomplete)
Re: Skype plugin not working (Trying to call ?+97675+MYSKYPE+9876534876)
« Reply #2 on: January 23, 2016, 11:41:55 AM »
Sorry!

I am calling for example my brother:

Friendly Payload (Payload phrase)= David

Payload value (Skype-id)= live:********


When I call the skype id using the FP it calls the numbers instead of the value. I tried to use a "manual" payload, the area for testing payloads, but still the same.
What you can´t do now... Go learn it!

01ste02

  • $upporter
  • Jr. Member
  • *****
  • Posts: 37
  • Karma: 1
  • 16 Years old hobby-developer in home-automation
    • View Profile
    • Company website (Swedish and incomplete)
Re: Skype plugin not working (Trying to call ?+97675+MYSKYPE+9876534876)
« Reply #3 on: January 23, 2016, 11:47:09 AM »
Log looks like:

Code: [Select]
23/01/2016 16:42:17 VoxLog created:
23/01/2016 16:42:17 742 guessed text:Call ?? (Skype)
23/01/2016 16:42:17 991 guessed text:Call D ?? (Skype)
23/01/2016 16:42:18 241 guessed text:Call David ?? (Skype)
23/01/2016 16:42:18 618 Something was recognized
23/01/2016 16:42:18 618 Rulename: root # Semantics: 2
23/01/2016 16:42:18 618 Group: Skype Speech: Call David
23/01/2016 16:42:18 618 semanticID: 516
23/01/2016 16:42:18 618 kvp: command | 516
23/01/2016 16:42:18 618 kvp: payload1 | <516:Pelle Persson, David>live:puffelgullig_1
23/01/2016 16:42:18 618 no regex match found
23/01/2016 16:42:18 618 id from payload value: 516
23/01/2016 16:42:18 620 semanticID: 516
23/01/2016 16:42:18 620 kvp: command | 516
23/01/2016 16:42:18 620 kvp: payload1 | <516:Pelle Persson, David>live:puffelgullig_1
23/01/2016 16:42:18 620 no regex match found
23/01/2016 16:42:18 620 id from payload value: 516
23/01/2016 16:42:18 620 alternate:Call David
23/01/2016 16:42:18 626 doCommand:Ring upp...
23/01/2016 16:42:18 626 [plugin] Sending json request:
23/01/2016 16:42:18 626 [plugin] {"jsonrpc": "2.0", "method": "GUI.ShowNotification", "params":{"title":"Call David (96.8)","message":"(1 Ring upp... [Pelle Persson, David]) "},"id": "0"}
23/01/2016 16:42:18 626 action repeat set to: 1
23/01/2016 16:42:18 626 Action:  Skype.CallContact - live:puffelgullig_1
23/01/2016 16:42:18 626 [action] Skype.CallContact:live:puffelgullig_1

23/01/2016 16:42:18 627 [plugin] Skype plugin action received
23/01/2016 16:42:18 638 Action INFO:
23/01/2016 16:42:18 668 [plugin] Skype - duplicate call status event
23/01/2016 16:42:19 627 [plugin] Web Exception while calling JSON RPC:{"jsonrpc": "2.0", "method": "GUI.ShowNotification", "params":{"title":"Call David (96.8)","message":"(1 Ring upp... [Pelle Persson, David]) "},"id": "0"}
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 127.168.0.118:8080
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.HttpWebRequest.GetRequestStream(TransportContext& context)
   at System.Net.HttpWebRequest.GetRequestStream()
   at vcPlugin.xJsonHttpCommunicator.PostRequest(String strRequest)
23/01/2016 16:42:25 886 [plugin] Skype plugin action received
23/01/2016 16:42:33 657 Focused: OpenWith
23/01/2016 16:42:33 657 [vcevent] Unfocused.VoxCommando

23/01/2016 16:42:33 659 [vcevent] Focused.OpenWith

Payload:

Code: [Select]
<?xml version="1.0" encoding="utf-8"?>
<!--A VoxCommando Payload file-->
<PayloadsRoot>
    <payload>
        <value>echo123</value>
        <phrase>Echo / Sound Test Service</phrase>
    </payload>
</PayloadsRoot>

(Edited out my contacts, same thing happens when I call Echo /Sound test service)


Thanks!
What you can´t do now... Go learn it!

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Skype plugin not working (Trying to call ?+97675+MYSKYPE+9876534876)
« Reply #4 on: January 23, 2016, 01:08:15 PM »
When I call the skype id using the FP it calls the numbers instead of the value.

What is "the FP"?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Skype plugin not working (Trying to call ?+97675+MYSKYPE+9876534876)
« Reply #5 on: January 23, 2016, 01:12:46 PM »
All I can see in the log is you are asking for "David" and it is trying to call live:puffelgullig_1

Is that not correct?

Showing me the payloadXML file with all the items removed does not help me at all to know what is going on.

I still don't really understand what the problem is.  Sorry.  I'm trying.

01ste02

  • $upporter
  • Jr. Member
  • *****
  • Posts: 37
  • Karma: 1
  • 16 Years old hobby-developer in home-automation
    • View Profile
    • Company website (Swedish and incomplete)
Re: Skype plugin not working (Trying to call ?+97675+MYSKYPE+9876534876)
« Reply #6 on: January 23, 2016, 01:19:36 PM »
What is "the FP"?

Sorry, saw you use that in another thread...  :bonk

It is friendly payload...

It looks correct in the logs (it doesn't place a call though), but between skype and VC there is a problem and it ends up trying to call this weird string :(

Thanks for trying, I just thought that anyone else would have the same problem... Just saw that it doesn't even generate the skype events (no calls to contacts or this weird string) :(

Can you give me a download of just the skype plugin, if there is a corrupted file?

Thanks for trying! I know that I am also not the best at asking for help (describing the error for anyone else so that they understand).

Best regards

Oskar
What you can´t do now... Go learn it!

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Skype plugin not working (Trying to call ?+97675+MYSKYPE+9876534876)
« Reply #7 on: January 23, 2016, 02:48:46 PM »
You can download VoxCommando from our download page and install in a new folder.  There are currently two different downloads available.

But I don't think the plugin is corrupted.  If the file were corrupted for some reason the plugin would not load at all.

Skype has been an unknown variable ever since Microsoft bought the software.  They stated early on (one or maybe two years ago) that they would be breaking the API that we use.

Here is what Microsoft's message says when you click the warning at the top of the Skype window:
Quote
As communicated in this blog post, due to technology improvements we are making to the Skype experience, some features of the API will stop working with Skype for desktop. For example, delivery of chat messages using the API will cease to work.

In my testing today I found that sending chat messages works fine.  Trying to place a call does not seem to work most of the time, even though the last time I tested it (maybe a few months ago) everything seemed OK.  In my tests today though, I have never seen it dialling a "random" or incorrect number.

The most likely way to solve this is to install an older version of Skype.

By the way, I assume you are using the desktop version of Skype and not the "App" ?

jitterjames

  • Administrator
  • Hero Member
  • *****
  • Posts: 7714
  • Karma: 116
    • View Profile
    • VoxCommando
Re: Skype plugin not working (Trying to call ?+97675+MYSKYPE+9876534876)
« Reply #8 on: January 23, 2016, 04:43:48 PM »
One way to get around the problem I am now facing, which is that the Skype plugin no longer allows me to dial a contact is to place the call using a URI.  I think there may be other ways to initiate a URI command but the easiest one I could find was to use the RoboBrowser plugin which hosts an instance of Internet Explorer.

The following command should work if you enable the RoboB plugin and you have the default Skype payloads file in your main VC folder:

For more information on using URIs with Skype see:
https://msdn.microsoft.com/en-us/library/office/dn745883.aspx

** Note that this particular command should work even if you do not have the Skype plugin enabled in VC.

Code: [Select]
<?xml version="1.0" encoding="utf-16"?>
<!--VoxCommando 2.2.1.5-->
<command id="352" name="Skype call contact using URI" enabled="true" alwaysOn="False" confirm="False" requiredConfidence="0" loop="False" loopDelay="0" loopMax="0" description="">
  <action>
    <cmdType>RoboB.Select</cmdType>
    <params>
      <param>skype</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>RoboB.Navigate</cmdType>
    <params>
      <param>skype:{1}?call</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>VC.Pause</cmdType>
    <params>
      <param>100</param>
    </params>
    <cmdRepeat>1</cmdRepeat>
  </action>
  <action>
    <cmdType>RoboB.Dispose</cmdType>
    <params />
    <cmdRepeat>1</cmdRepeat>
  </action>
  <phrase>call contact</phrase>
  <payloadFromXML phraseOnly="False" use2partPhrase="False" phraseConnector="by" Phrase2wildcard="anyone" optional="False">payloadSkype.xml</payloadFromXML>
</command>

01ste02

  • $upporter
  • Jr. Member
  • *****
  • Posts: 37
  • Karma: 1
  • 16 Years old hobby-developer in home-automation
    • View Profile
    • Company website (Swedish and incomplete)
Re: Skype plugin not working (Trying to call ?+97675+MYSKYPE+9876534876)
« Reply #9 on: January 23, 2016, 05:08:20 PM »
Thanks James!

Will try that out tomorrow!

Do I need to log in to skype on RoboB?

Best regards and thanks for the support!

Oskar

EDIT: Thanks for all the help man! It worked!
« Last Edit: January 23, 2016, 05:16:35 PM by 01ste02 »
What you can´t do now... Go learn it!