Function dial

I want to do calls automatically and play the song and turn off and call other number.
I obtained to do one call but i don’t obtain other call.
please help me!