Usually if the call comes from landline or your cellphone, music will be paused and resumed when the call is over, but such behavior may vary by media player used for music playing.