For GigabitEthernet1/0/1 you want something like:
Below is the most probably config for For Gig1/0/4GigabitEthernet1/0/1. Note that "switchport voice vlan 7" only has affect for an access port - and the port is forcibly configured as a trunk port. Also "spanning-tree portfast" will do nothing, as it is also only used for an access port.