Open SummerSeaSun opened 3 years ago
Is there a way to send the message and close twinkle at once?
A round-about way to achieve this would be to launch a second instance of Twinkle with --cmd exit
, causing the first one to terminate. (You would probably want to insert a small delay between the two, to minimize the possibility of the second instance completing its initialization before the first, thus becoming the actual "first" instance and screwing everything up.)
Still, being able to pass multiple --cmd
arguments would be a nice addition.
This command send successfully a message to a sip extension but then it won't exit, but it start the GUI and keep running:
twinkle --immediate --cmd 'message -s object -d dst sipexten text message'
I've tried appending:
--cmd 'exit'
But this take precedence and won't send the message. Is there a way to send the message and close twinkle at once? Thanks, BR