[Ekiga-devel-list] [Technical] Execute script on call



Someone asked for this on another SIP/VoIP mailing list.

Is it possible to execute a command when starting/terminating a call?


For example, I would like to execute these commands on start:

Opening the Input Source for the Microphone and setting an optimal
volume rate for the capture devices:
$ amixer sset 'Input Source',0 'Mic' ; amixer set Capture 70% ; amixer
set Digital 70%


These commands are executed shortly after the call was over:

Opening the Input Source for the anything else but the Microphone and
setting the volume rate of the capture devices to zero:
$ amixer sset 'Input Source',0 'CD' ; amixer set Capture 0% ; amixer
set Digital 0% ; amixer set Master 80% ; amixer set PCM 80% ; amixer
set Front 80%


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]