[jitsi-users] Incoming call event


#1

Hi !

I’m trying to open a webpage on incoming call, but it didn’t work. I have tried to lauch Google Chrome, an appleScript, a bash script. The scripts are working on standalone, but I have the following error on Jitsi’s log :

16:21:51.010 GRAVE: [6754] impl.notification.CommandNotificationHandlerImpl.execute().73 Failed to execute the following command: /Users/Macbook/Documents/test.command
java.io.IOException: Cannot run program "/Users/Macbook/Documents/test.command": error=0, spawn failed
  at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
  at java.lang.Runtime.exec(Runtime.java:620)
  at java.lang.Runtime.exec(Runtime.java:450)
  at java.lang.Runtime.exec(Runtime.java:347)
  at net.java.sip.communicator.impl.notification.CommandNotificationHandlerImpl.execute(CommandNotificationHandlerImpl.java:69)

etc…

What am I doing wrong ?


#2

I’m trying to open a webpage on incoming call, but it didn’t work. I have
tried to lauch Google Chrome, an appleScript, a bash script. The scripts are
working on standalone, but I have the following error on Jitsi’s log :

16:21:51.010 GRAVE: [6754]
impl.notification.CommandNotificationHandlerImpl.execute().73 Failed to
execute the following command: /Users/Macbook/Documents/test.command
java.io.IOException: Cannot run program
"/Users/Macbook/Documents/test.command": error=0, spawn failed at
java.lang.ProcessBuilder.start(ProcessBuilder.java:1048) at
java.lang.Runtime.exec(Runtime.java:620) at
java.lang.Runtime.exec(Runtime.java:450) at
java.lang.Runtime.exec(Runtime.java:347) at
net.java.sip.communicator.impl.notification.CommandNotificationHandlerImp
l.ex ecute(CommandNotificationHandlerImpl.java:69)

etc…

What am I doing wrong ?

Not sure what needs to be done for Applescript or Chrome. For bash-scripts, I think you need to specify the bash binary. For example:

/bin/bash -c /path/to/your/script.sh

Ingo