Hi,
I called the exten then ran the command, when it did not show both calls, I did it again while the log was being followed:
[root@pbx asterisk]#
[root@pbx asterisk]# tail -f /var/log/asterisk/full
[2015-11-25 13:52:10] VERBOSE[28779][C-000014ae] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/210-000000a2'
[2015-11-25 13:52:13] VERBOSE[1898][C-000014af] netsock2.c: == Using SIP RTP TOS bits 184
[2015-11-25 13:52:13] VERBOSE[1898][C-000014af] netsock2.c: == Using SIP RTP CoS mark 5
[2015-11-25 13:52:13] VERBOSE[28786][C-000014af] pbx.c: -- Executing [112@from-internal:1] Wait("SIP/210-000000a3", "1") in new stack
[2015-11-25 13:52:14] VERBOSE[28786][C-000014af] pbx.c: -- Executing [112@from-internal:2] TrySystem("SIP/210-000000a3", "/home/asterisk/off.sh") in new stack
[2015-11-25 13:52:14] VERBOSE[28786][C-000014af] pbx.c: -- Executing [112@from-internal:3] TrySystem("SIP/210-000000a3", "/usr/local/bin/tdtool --off 1") in new stack
[2015-11-25 13:52:14] VERBOSE[28786][C-000014af] pbx.c: -- Executing [112@from-internal:4] Hangup("SIP/210-000000a3", "") in new stack
[2015-11-25 13:52:14] VERBOSE[28786][C-000014af] pbx.c: == Spawn extension (from-internal, 112, 4) exited non-zero on 'SIP/210-000000a3'
[2015-11-25 13:52:14] VERBOSE[28786][C-000014af] pbx.c: -- Executing [h@from-internal:1] Hangup("SIP/210-000000a3", "") in new stack
[2015-11-25 13:52:14] VERBOSE[28786][C-000014af] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/210-000000a3'
[2015-11-25 13:53:02] VERBOSE[1898][C-000014b0] netsock2.c: == Using SIP RTP TOS bits 184
[2015-11-25 13:53:02] VERBOSE[1898][C-000014b0] netsock2.c: == Using SIP RTP CoS mark 5
[2015-11-25 13:53:02] VERBOSE[28816][C-000014b0] pbx.c: -- Executing [111@from-internal:1] Wait("SIP/210-000000a4", "1") in new stack
[2015-11-25 13:53:03] VERBOSE[28816][C-000014b0] pbx.c: -- Executing [111@from-internal:2] TrySystem("SIP/210-000000a4", "/home/asterisk/on.sh") in new stack
[2015-11-25 13:53:03] VERBOSE[28816][C-000014b0] pbx.c: -- Executing [111@from-internal:3] TrySystem("SIP/210-000000a4", "/usr/local/bin/tdtool --on 1") in new stack
[2015-11-25 13:53:03] VERBOSE[28816][C-000014b0] pbx.c: -- Executing [111@from-internal:4] Verbose("SIP/210-000000a4", "SUCCESS") in new stack
[2015-11-25 13:53:03] VERBOSE[28816][C-000014b0] app_verbose.c: SUCCESS
[2015-11-25 13:53:03] VERBOSE[28816][C-000014b0] pbx.c: -- Executing [111@from-internal:5] System("SIP/210-000000a4", "whoami > /home/asterisk/textfile") in new stack
[2015-11-25 13:53:03] VERBOSE[28816][C-000014b0] pbx.c: -- Executing [111@from-internal:6] Verbose("SIP/210-000000a4", "SUCCESS") in new stack
[2015-11-25 13:53:03] VERBOSE[28816][C-000014b0] app_verbose.c: SUCCESS
[2015-11-25 13:53:03] VERBOSE[28816][C-000014b0] pbx.c: -- Executing [111@from-internal:7] Hangup("SIP/210-000000a4", "") in new stack
[2015-11-25 13:53:03] VERBOSE[28816][C-000014b0] pbx.c: == Spawn extension (from-internal, 111, 7) exited non-zero on 'SIP/210-000000a4'
[2015-11-25 13:53:03] VERBOSE[28816][C-000014b0] pbx.c: -- Executing [h@from-internal:1] Hangup("SIP/210-000000a4", "") in new stack
[2015-11-25 13:53:03] VERBOSE[28816][C-000014b0] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/210-000000a4'
[2015-11-25 13:53:07] VERBOSE[1898][C-000014b1] netsock2.c: == Using SIP RTP TOS bits 184
[2015-11-25 13:53:07] VERBOSE[1898][C-000014b1] netsock2.c: == Using SIP RTP CoS mark 5
[2015-11-25 13:53:07] VERBOSE[28823][C-000014b1] pbx.c: -- Executing [112@from-internal:1] Wait("SIP/210-000000a5", "1") in new stack
[2015-11-25 13:53:08] VERBOSE[28823][C-000014b1] pbx.c: -- Executing [112@from-internal:2] TrySystem("SIP/210-000000a5", "/home/asterisk/off.sh") in new stack
[2015-11-25 13:53:08] VERBOSE[28823][C-000014b1] pbx.c: -- Executing [112@from-internal:3] TrySystem("SIP/210-000000a5", "/usr/local/bin/tdtool --off 1") in new stack
[2015-11-25 13:53:08] VERBOSE[28823][C-000014b1] pbx.c: -- Executing [112@from-internal:4] Hangup("SIP/210-000000a5", "") in new stack
[2015-11-25 13:53:08] VERBOSE[28823][C-000014b1] pbx.c: == Spawn extension (from-internal, 112, 4) exited non-zero on 'SIP/210-000000a5'
[2015-11-25 13:53:08] VERBOSE[28823][C-000014b1] pbx.c: -- Executing [h@from-internal:1] Hangup("SIP/210-000000a5", "") in new stack
[2015-11-25 13:53:08] VERBOSE[28823][C-000014b1] pbx.c: == Spawn extension (from-internal, h, 1) exited non-zero on 'SIP/210-000000a5'
This looks the same as the console to me.
Thanks
Paul