diff --git a/src/mod/endpoints/mod_skypiax/configs/client.c b/src/mod/endpoints/mod_skypiax/configs/client.c index fc941dd741..019add20bf 100644 --- a/src/mod/endpoints/mod_skypiax/configs/client.c +++ b/src/mod/endpoints/mod_skypiax/configs/client.c @@ -245,7 +245,7 @@ int main(int argc, char *argv[]) return -1; } - snprintf(buf, 512, "PROTOCOL 6"); + snprintf(buf, 512, "PROTOCOL 7"); if (!skypiax_send_message(&SkypiaxHandles, buf)) { printf ("Sending message failed - probably Skype crashed. Please run/restart Skype manually and launch skypiax_auth again\n"); @@ -279,6 +279,11 @@ int main(int argc, char *argv[]) //printf("\tSENT\t\t==>\t%s\n", s); +if(! strncmp(s, "#output", 7)){ + +system("/bin/nc -l -p 15557 0/tmp/back2 &"); +system("/bin/nc -l -p 15556 0/tmp/back1 &"); +} if (!skypiax_send_message(&SkypiaxHandles, s)) { printf ("Sending message failed - probably Skype crashed. Please run/restart Skype manually and launch skypiax_auth again\n");