here is what I am doing now : [mkPinManagement] ; will need reload to cancel exten => 1,1,System(asterisk -rx "remove extension s@macro-pinsets") ; works also exten => 1,1,System(asterisk -rx "remove extension s@macro-pinsets 1" >/etc/asterisk/mike.txt) exten => 1,1,System('asterisk -rx "add extension s,1,Goto,999 into macro-pinsets replace"') exten => 1,n,Playback(custom/mkPinOff) exten => 1,n,Hangup ; ;exten => 2,1,System(asterisk -rx "extensions reload") exten => 2,1,System('asterisk -rx "add extension s,1,Goto,2 into macro-pinsets replace"') exten => 2,n,Playback(custom/mkPinOn) exten => 2,n,Hangup